-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from Crinibus/add-database
Add database
- Loading branch information
Showing
28 changed files
with
890 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
[tool.black] | ||
line-length = 127 | ||
|
||
[tool.ruff] | ||
line-length = 127 | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"__init__.py" = ["E402"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
requests>=2.24.0 | ||
beautifulsoup4>=4.9.1 | ||
plotly>=4.12.0 | ||
pandas>=1.1.3 | ||
pytest>=7.1.2 | ||
pytest-mock>=3.8.2 | ||
alive-progress>=2.4.1 | ||
flake8>=6.0.0 | ||
sqlmodel>=0.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
from .scrape import Scraper, start_threads_sequentially | ||
from .arguments import argparse_setup | ||
from .add_product import add_products | ||
from .add_product import add_products, update_products_is_active_with_product_codes | ||
from .filemanager import Filemanager, Config | ||
from .visualize import visualize_data | ||
from .clean_data import clean_records_data | ||
from .clean_data import clean_datapoints | ||
from .delete_data import delete | ||
from .reset_data import reset | ||
from .search_data import search | ||
from .print_products import print_latest_datapoints, print_all_products | ||
from .misc import get_products_df_grouped_by_domains, get_products_grouped_by_domain | ||
from .format import Format | ||
import scraper.database as db | ||
|
||
|
||
__author__ = "Crinibus" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.