sibi-dst 0.3.48__tar.gz → 0.3.49__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.
Files changed (79) hide show
  1. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/PKG-INFO +4 -3
  2. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/pyproject.toml +6 -3
  3. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/df_utils.py +2 -1
  4. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/README.md +0 -0
  5. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/__init__.py +0 -0
  6. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/__init__.py +0 -0
  7. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/_artifact_updater_multi_wrapper.py +0 -0
  8. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/_df_helper.py +0 -0
  9. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/_parquet_artifact.py +0 -0
  10. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/_parquet_reader.py +0 -0
  11. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/__init__.py +0 -0
  12. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/django/__init__.py +0 -0
  13. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/django/_db_connection.py +0 -0
  14. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/django/_io_dask.py +0 -0
  15. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/django/_load_from_db.py +0 -0
  16. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/django/_sql_model_builder.py +0 -0
  17. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/http/__init__.py +0 -0
  18. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/http/_http_config.py +0 -0
  19. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/parquet/__init__.py +0 -0
  20. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/parquet/_filter_handler.py +0 -0
  21. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/parquet/_parquet_options.py +0 -0
  22. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/__init__.py +0 -0
  23. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/_db_connection.py +0 -0
  24. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/_filter_handler.py +0 -0
  25. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/_io_dask.py +0 -0
  26. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/_load_from_db.py +0 -0
  27. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/backends/sqlalchemy/_sql_model_builder.py +0 -0
  28. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/core/__init__.py +0 -0
  29. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/core/_defaults.py +0 -0
  30. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/core/_filter_handler.py +0 -0
  31. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/core/_params_config.py +0 -0
  32. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/core/_query_config.py +0 -0
  33. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/df_helper/data_cleaner.py +0 -0
  34. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/geopy_helper/__init__.py +0 -0
  35. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/geopy_helper/geo_location_service.py +0 -0
  36. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/geopy_helper/utils.py +0 -0
  37. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/__init__.py +0 -0
  38. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/base_osm_map.py +0 -0
  39. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/basemaps/__init__.py +0 -0
  40. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/basemaps/calendar_html.py +0 -0
  41. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/basemaps/router_plotter.py +0 -0
  42. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/osmnx_helper/utils.py +0 -0
  43. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/tests/__init__.py +0 -0
  44. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/tests/test_data_wrapper_class.py +0 -0
  45. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/__init__.py +0 -0
  46. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/airflow_manager.py +0 -0
  47. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/clickhouse_writer.py +0 -0
  48. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/credentials.py +0 -0
  49. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/data_from_http_source.py +0 -0
  50. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/data_utils.py +0 -0
  51. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/data_wrapper.py +0 -0
  52. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/date_utils.py +0 -0
  53. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/file_utils.py +0 -0
  54. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/filepath_generator.py +0 -0
  55. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/log_utils.py +0 -0
  56. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/parquet_saver.py +0 -0
  57. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/phone_formatter.py +0 -0
  58. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/storage_config.py +0 -0
  59. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/utils/storage_manager.py +0 -0
  60. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/__init__.py +0 -0
  61. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/__init__.py +0 -0
  62. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/_df_helper.py +0 -0
  63. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/__init__.py +0 -0
  64. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlalchemy/__init__.py +0 -0
  65. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlalchemy/_db_connection.py +0 -0
  66. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlalchemy/_io_dask.py +0 -0
  67. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlalchemy/_load_from_db.py +0 -0
  68. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlalchemy/_model_builder.py +0 -0
  69. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlmodel/__init__.py +0 -0
  70. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlmodel/_db_connection.py +0 -0
  71. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlmodel/_io_dask.py +0 -0
  72. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlmodel/_load_from_db.py +0 -0
  73. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/backends/sqlmodel/_model_builder.py +0 -0
  74. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/core/__init__.py +0 -0
  75. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/core/_filter_handler.py +0 -0
  76. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/core/_params_config.py +0 -0
  77. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/df_helper/core/_query_config.py +0 -0
  78. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/utils/__init__.py +0 -0
  79. {sibi_dst-0.3.48 → sibi_dst-0.3.49}/sibi_dst/v2/utils/log_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sibi-dst
3
- Version: 0.3.48
3
+ Version: 0.3.49
4
4
  Summary: Data Science Toolkit
5
5
  Author: Luis Valverde
6
6
  Author-email: lvalverdeb@gmail.com
@@ -9,14 +9,15 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.11
10
10
  Classifier: Programming Language :: Python :: 3.12
11
11
  Classifier: Programming Language :: Python :: 3.13
12
+ Provides-Extra: complete
12
13
  Requires-Dist: apache-airflow-client (>=2.10.0,<3.0.0)
13
14
  Requires-Dist: chardet (>=5.2.0,<6.0.0)
14
15
  Requires-Dist: charset-normalizer (>=3.4.0,<4.0.0)
15
16
  Requires-Dist: clickhouse-connect (>=0.8.7,<0.9.0)
16
17
  Requires-Dist: clickhouse-driver (>=0.2.9,<0.3.0)
17
18
  Requires-Dist: dask[complete] (>=2024.11.1,<2025.0.0)
18
- Requires-Dist: django (>=5.1.4,<6.0.0)
19
- Requires-Dist: djangorestframework (>=3.15.2,<4.0.0)
19
+ Requires-Dist: django (>=5.1.4,<6.0.0) ; extra == "complete"
20
+ Requires-Dist: djangorestframework (>=3.15.2,<4.0.0) ; extra == "complete"
20
21
  Requires-Dist: folium (>=0.19.4,<0.20.0)
21
22
  Requires-Dist: geopandas (>=1.0.1,<2.0.0)
22
23
  Requires-Dist: geopy (>=2.4.1,<3.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "sibi-dst"
3
- version = "0.3.48"
3
+ version = "0.3.49"
4
4
  description = "Data Science Toolkit"
5
5
  authors = ["Luis Valverde <lvalverdeb@gmail.com>"]
6
6
  readme = "README.md"
@@ -13,7 +13,7 @@ dask = {extras = ["complete"], version = "^2024.11.1"}
13
13
  pydantic = "^2.9.2"
14
14
  tornado = "^6.4.1"
15
15
  psutil = "^6.1.0"
16
- django = "^5.1.4"
16
+ django = {version="^5.1.4", optional=true}
17
17
  pyarrow = "^18.0.0"
18
18
  mysqlclient = "^2.2.6"
19
19
  pymysql = "^1.1.1"
@@ -31,7 +31,7 @@ paramiko = "^3.5.0"
31
31
  chardet = "^5.2.0"
32
32
  charset-normalizer = "^3.4.0"
33
33
  sqlalchemy = "^2.0.36"
34
- djangorestframework = "^3.15.2"
34
+ djangorestframework = {version="^3.15.2", optional=true}
35
35
  psycopg2 = "^2.9.10"
36
36
  uvicorn = "^0.34.0"
37
37
  pytest-mock = "^3.14.0"
@@ -45,6 +45,9 @@ uvicorn-worker = "^0.3.0"
45
45
  geopy = "^2.4.1"
46
46
  sqlmodel = "^0.0.22"
47
47
 
48
+ [tool.poetry.extras]
49
+ # The 'complete' extra installs Django and Django REST Framework together.
50
+ complete = ["django", "djangorestframework"]
48
51
 
49
52
  [build-system]
50
53
  requires = ["poetry-core"]
@@ -2,7 +2,8 @@ import dask.dataframe as dd
2
2
  import pandas as pd
3
3
 
4
4
  from .log_utils import Logger
5
-
5
+ import warnings
6
+ warnings.filterwarnings("ignore", message="Sorting a Dask DataFrame is expensive and may not be efficient")
6
7
 
7
8
  class DfUtils:
8
9
  def __init__(self, logger=None):
File without changes