Skip to content

Releases: Monkey-Market/quipus

v0.3.2

14 Nov 11:20
Compare
Choose a tag to compare

Full Changelog: v0.3.1...v0.3.2

  • [FT] Add ReplacementsDict and ValidReplacementValue types for smtp replacements by @J1Loop in #50

What's Changed

New Types for Template Replacements Validation:

  • Added ReplacementsDict TypedDict and ValidReplacementValue Union type to quipus/utils/types.py for validating template replacements.

Updates to __init__.py:

  • Updated quipus/__init__.py to include the new ReplacementsDict and ValidReplacementValue in the imports and __all__ list.
  • Updated quipus/utils/__init__.py to export the new types.

Updates to smtp_delivery.py:

  • Imported ReplacementsDict and ValidReplacementValue in quipus/services/smtp_delivery.py.
  • Modified the with_body_path method to use Optional[dict[str, ValidReplacementValue]] for the replacements parameter and added type checks for replacement values.

v0.3.1

13 Nov 11:34
Compare
Choose a tag to compare

Full Changelog: v0.3.0...v0.3.1

What's Changed

Enhancements to CSVSource:

  • quipus/data_sources/csv_source.py:
    • Updated the quote_char method to handle None values gracefully.
    • Modified the load_data and get_columns methods to use encoding.value instead of encoding.

Enhancements to MongoSource:

  • quipus/data_sources/mongo_source.py:
    • Added a check in the __init__ method to raise a ValueError if neither db_config nor connection_string is provided.

Enhancements to MySQLSource:

  • quipus/data_sources/mysql_source.py:
    • Removed the connection_string parameter from the __init__ method and adjusted the initialization to use only db_config.

v0.3.0

12 Nov 13:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.4...v0.3.0

Data Source Enhancements

New data source classes have been added to quipus to support various data sources. The new data source classes include:

  • DataSource (Base class for all data sources.)
    • DataBaseSource
      • MongoDBSource
      • MySQLSource
      • PostgreSQLSource
    • FileSource
      • CSVSource
      • XLSXSource
      • ParquetSource

All data sources normalize the output to a polars.DataFrame object. Reason being that polars is a fast and efficient DataFrame library that can handle large datasets. The polars.DataFrame object can be converted to a pandas.DataFrame object if needed as both libraries are compatible.

In addition to the new data source classes, some utils were added to support the new data source classes. This new utils include:

  • Connectable Abstract class representing a connectable object.
  • DBConfig data class to manage DB credentials.
  • EncodingType encoding types supported by some data sources.

Dependency Updates:

  • New dependencies:

    • ruff (Migrating pylint to this linter.)
    • pymongo
    • mysql-connector-python
    • openpyxl
  • Dependencies to be removed:

    • pylint

Deprecated:

  • Removed the PostgreSQLDataSource class in favor of the new PostgreSQLSource class.
  • Removed the CSVDataSource and XLSXDataSource classes in favor of the new CSVSource and XLSXSource classes.
  • Removed the DataFrameDataSource class in favor of developing more specific data source classes to manage DataFrame's.
  • Removed tests for the deprecated modules.

v0.2.4

02 Nov 12:07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

27 Oct 20:03
Compare
Choose a tag to compare

What's Changed

  • [FIX] Add validation on SMTP.EmailSender, broken tests by @J1Loop in #46

Full Changelog: v0.2.2...v0.2.3

v0.2.2

27 Oct 19:45
Compare
Choose a tag to compare

What's Changed

  • [PR] Unit Testing for Core Components by @J1Loop in #45

Full Changelog: v0.2.0...v0.2.2

v0.2.0

27 Oct 19:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.2.0

v0.1.1

27 Oct 19:44
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/Monkey-Market/quipus/commits/v0.1.1