lecrapaud 0.4.1__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lecrapaud might be problematic. Click here for more details.

Files changed (61) hide show
  1. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/PKG-INFO +7 -1
  2. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/README.md +6 -0
  3. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic.ini +1 -1
  4. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/session.py +5 -3
  5. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/pyproject.toml +1 -1
  6. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/LICENSE +0 -0
  7. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/__init__.py +0 -0
  8. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/api.py +0 -0
  9. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/config.py +0 -0
  10. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/__init__.py +0 -0
  11. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/README +0 -0
  12. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/env.py +0 -0
  13. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/script.py.mako +0 -0
  14. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_04_06_1738-7390745388e4_initial_setup.py +0 -0
  15. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_04_06_1755-40cd8d3e798e_unique_constraint_for_data.py +0 -0
  16. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_23_1724-2360941fa0bd_longer_string.py +0 -0
  17. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_27_1159-b96396dcfaff_add_env_to_trading_tables.py +0 -0
  18. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_27_1337-40cbfc215f7c_fix_nb_character_on_portfolio.py +0 -0
  19. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_27_1526-3de994115317_to_datetime.py +0 -0
  20. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_27_2003-25c227c684f8_add_fees_to_transactions.py +0 -0
  21. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_27_2047-6b6f2d38e9bc_double_instead_of_float.py +0 -0
  22. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1111-c175e4a36d68_generalise_stock_to_group.py +0 -0
  23. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1256-5681095bfc27_create_investment_run_and_portfolio_.py +0 -0
  24. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1806-339927587383_add_investment_run_id.py +0 -0
  25. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1834-52b809a34371_make_nullablee.py +0 -0
  26. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1849-3b8550297e8e_change_date_to_datetime.py +0 -0
  27. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_05_31_1852-e6b8c95d8243_add_date_to_portfolio_history.py +0 -0
  28. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_06_10_1136-db8cdd83563a_addnewsandoptiontodata.py +0 -0
  29. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/alembic/versions/2025_06_17_1652-c45f5e49fa2c_make_fields_nullable.py +0 -0
  30. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/__init__.py +0 -0
  31. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/base.py +0 -0
  32. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/dataset.py +0 -0
  33. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/feature.py +0 -0
  34. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/feature_selection.py +0 -0
  35. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/feature_selection_rank.py +0 -0
  36. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/model.py +0 -0
  37. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/model_selection.py +0 -0
  38. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/model_training.py +0 -0
  39. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/score.py +0 -0
  40. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/db/models/target.py +0 -0
  41. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/directories.py +0 -0
  42. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/experiment.py +0 -0
  43. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/feature_engineering.py +0 -0
  44. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/feature_selection.py +0 -0
  45. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/integrations/openai_integration.py +0 -0
  46. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/jobs/__init__.py +0 -0
  47. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/jobs/config.py +0 -0
  48. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/jobs/scheduler.py +0 -0
  49. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/jobs/tasks.py +0 -0
  50. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/model_selection.py +0 -0
  51. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/search_space.py +0 -0
  52. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/services/__init__.py +0 -0
  53. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/services/embedding_categorical.py +0 -0
  54. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/services/indicators.py +0 -0
  55. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/experiments.py +0 -0
  56. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/test-gpu-bilstm.ipynb +0 -0
  57. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/test-gpu-resnet.ipynb +0 -0
  58. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/test-gpu-transformers.ipynb +0 -0
  59. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/tests.ipynb +0 -0
  60. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/speed_tests/trash.py +0 -0
  61. {lecrapaud-0.4.1 → lecrapaud-0.4.2}/lecrapaud/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lecrapaud
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Framework for machine and deep learning, with regression, classification and time series analysis
5
5
  License: Apache License
6
6
  Author: Pierre H. Gallet
@@ -55,6 +55,12 @@ Description-Content-Type: text/markdown
55
55
 
56
56
  **An all-in-one machine learning framework**
57
57
 
58
+ [![GitHub stars](https://img.shields.io/github/stars/pierregallet/lecrapaud.svg?style=flat&logo=github&colorB=blue&label=stars)](https://github.com/pierregallet/lecrapaud/stargazers)
59
+ [![PyPI version](https://badge.fury.io/py/lecrapaud.svg)](https://badge.fury.io/py/lecrapaud)
60
+ [![Python versions](https://img.shields.io/pypi/pyversions/lecrapaud.svg)](https://pypi.org/project/lecrapaud)
61
+ [![License](https://img.shields.io/github/license/pierregallet/lecrapaud.svg)](https://github.com/pierregallet/lecrapaud/blob/main/LICENSE)
62
+ [![codecov](https://codecov.io/gh/pierregallet/lecrapaud/branch/main/graph/badge.svg)](https://codecov.io/gh/pierregallet/lecrapaud)
63
+
58
64
  </div>
59
65
 
60
66
  ## 🚀 Introduction
@@ -6,6 +6,12 @@
6
6
 
7
7
  **An all-in-one machine learning framework**
8
8
 
9
+ [![GitHub stars](https://img.shields.io/github/stars/pierregallet/lecrapaud.svg?style=flat&logo=github&colorB=blue&label=stars)](https://github.com/pierregallet/lecrapaud/stargazers)
10
+ [![PyPI version](https://badge.fury.io/py/lecrapaud.svg)](https://badge.fury.io/py/lecrapaud)
11
+ [![Python versions](https://img.shields.io/pypi/pyversions/lecrapaud.svg)](https://pypi.org/project/lecrapaud)
12
+ [![License](https://img.shields.io/github/license/pierregallet/lecrapaud.svg)](https://github.com/pierregallet/lecrapaud/blob/main/LICENSE)
13
+ [![codecov](https://codecov.io/gh/pierregallet/lecrapaud/branch/main/graph/badge.svg)](https://codecov.io/gh/pierregallet/lecrapaud)
14
+
9
15
  </div>
10
16
 
11
17
  ## 🚀 Introduction
@@ -2,7 +2,7 @@
2
2
 
3
3
  [alembic]
4
4
  # path to migration scripts
5
- script_location = alembic
5
+ script_location = lecrapaud.db.alembic
6
6
 
7
7
  # template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
8
8
  # Uncomment the line below if you want the files to be prepended with date and time
@@ -43,11 +43,13 @@ def init_db(uri: str = None):
43
43
  _SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=_engine)
44
44
 
45
45
  # Step 5: Apply Alembic migrations programmatically
46
- project_root = os.path.abspath(os.path.dirname(__file__))
47
- alembic_cfg_path = os.path.join(project_root, "alembic.ini")
46
+ current_dir = os.path.dirname(__file__) # → lecrapaud/db
47
+ alembic_ini_path = os.path.join(current_dir, "alembic.ini")
48
48
 
49
- alembic_cfg = Config(alembic_cfg_path)
49
+ alembic_cfg = Config(alembic_ini_path)
50
+ alembic_cfg.set_main_option("script_location", "lecrapaud.db.alembic")
50
51
  alembic_cfg.set_main_option("sqlalchemy.url", uri or os.getenv("DATABASE_URL"))
52
+
51
53
  command.upgrade(alembic_cfg, "head")
52
54
 
53
55
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lecrapaud"
3
- version = "0.4.1"
3
+ version = "0.4.2"
4
4
  description = "Framework for machine and deep learning, with regression, classification and time series analysis"
5
5
  authors = [
6
6
  {name = "Pierre H. Gallet"}
File without changes
File without changes
File without changes
File without changes