Pyproprop

Latest version: v0.4.10

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

Scan your dependencies

Page 2 of 3

0.3.0

--------------------

Added
~~~~~

- Expose string formatting capability as stand-alone function as requested by issue 32.
- Add new "hyphen" string formatting type to give "hyphen-case", like "snake_case" but with a hyphen instead of an underscore, related to issue 32.
- Improve coverage from test suite.

Changed
~~~~~~~

- Reformat README with additional badges.

0.2.2

--------------------

Added
~~~~~

- Added coverage report from codecov.io to README.rst as requested by issue 22.
- Added test coverage for the `pyproprop/utils.py` module.

Changed
~~~~~~~

- Added backtick formatting around values in `processed_property`s with min and max values as requested by issue 21.

Fixed
~~~~~

- Fixed a bug relating to correctly processing and formatting `processed_property` descriptions in error messages, relating to issue 24.

0.2.1

--------------------

Added
~~~~~

- Support start of sentence capitalisation as requested in issue 19.
- Use `__repr__`s in error messages to help user distinguish between types as requested in issue 20.

0.2.0

--------------------

Added
~~~~~

- Created new `pyproprop/utils.py` module.
- Add functionality for comparing values of processed properties to one another as requested in issue 11. This comes with a new test module `tests/test_processed_property_comparison.py`.
- Improved case formatting of strings within proessed properties. PyPI package "titlecase" now a project requirement.

Changes
~~~~~~~

- Both Travis CI and AppVeyor now contain logic to first try to install requirements using conda, but if a package is not available on the set-up channels, it falls back to trying to use pip and PyPI.

0.1.2

--------------------

Added
~~~~~

- `named_iterable` functionality that allows for dot-indexible attributes to be created as requested in issue 5. This is implemented in the `pyproprop/named_iterable.py` module and comes with tests.

Fixes
~~~~~

- PR 6 fixes the bug in issue 3 whereby user-supplied default values were being cast to an expected type, causing an error when used with `uncastable` objects within processed properties.
- PR 9 fixes the bug in issue 4 where error messages for processed properties with non-string options were not formatting correctly.

0.1.1

--------------------

Added
~~~~~

- Basic user and development documentation.

Changed
~~~~~~~

- Descriptiveness of error messages improved.
- Hyperlinks in README reformatted to ReST.
- Remove `pyproprop/version.py` module with version number hardcoded as a string in `setup.py` because this fixes a problem with conda recipe requiring Numpy as a host dependency.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.