Quipus

Latest version: v0.3.2

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.3.1...v0.3.2

* [FT] Add ReplacementsDict and ValidReplacementValue types for smtp replacements by J1Loop in https://github.com/Monkey-Market/quipus/pull/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.

0.3.1

**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.3.0...v0.3.1

* fix/sources by J1Loop in https://github.com/Monkey-Market/quipus/pull/49

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`.

0.3.0

What's Changed

**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.2.4...v0.3.0


* ft/data_source_bases by J1Loop in https://github.com/Monkey-Market/quipus/pull/48

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.

0.2.4

What's Changed
* feat: integrate polars into quipus by jose-jaen in https://github.com/Monkey-Market/quipus/pull/47

New Contributors
* jose-jaen made their first contribution in https://github.com/Monkey-Market/quipus/pull/47

**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.2.3...v0.2.4

0.2.3

What's Changed
* [FIX] Add validation on SMTP.EmailSender, broken tests by J1Loop in https://github.com/Monkey-Market/quipus/pull/46


**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.2.2...v0.2.3

0.2.2

What's Changed
* [PR] Unit Testing for Core Components by J1Loop in https://github.com/Monkey-Market/quipus/pull/45


**Full Changelog**: https://github.com/Monkey-Market/quipus/compare/v0.2.0...v0.2.2

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.