Skip to content

added setup.py + merged folders #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Conversation

PeriniM
Copy link
Contributor

@PeriniM PeriniM commented Jan 30, 2024

Added setup.py to create a package to be installed through pip and moved all the classes inside the utils folder.
You need first to have installed the wheel library and run in the repository root:

python setup.py sdist bdist_wheel

A dist folder will be created with the .whl and .tar.gz files, to install the library run:

pip install .\dist\amazscraper-1.0.0.tar.gz

using the correct version.
Now you can import the library with:

from AmazScraper.utils.class_generator import Generator

@VinciGit00 VinciGit00 merged commit 513b66d into ScrapeGraphAI:main Jan 30, 2024
@PeriniM PeriniM added enhancement New feature or request refactor refactoring of folders labels Feb 3, 2024
VinciGit00 pushed a commit that referenced this pull request May 6, 2024
feat: Fix bug for gemini case when embeddings config not passed
VinciGit00 pushed a commit that referenced this pull request Sep 25, 2024
raise keyerror exception for the schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor refactoring of folders
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants