Prices

Latest version: v1.1.1

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

Scan your dependencies

1.1.1

What's Changed
* Upgrade to GitHub-native Dependabot by dependabot-preview in https://github.com/mirumee/prices/pull/38
* Allow to choose rounding type for discounts calculations by SzymJ in https://github.com/mirumee/prices/pull/39
* Update CI pipeline to use Github Actions by artursmet in https://github.com/mirumee/prices/pull/40

New Contributors
* dependabot-preview made their first contribution in https://github.com/mirumee/prices/pull/38
* SzymJ made their first contribution in https://github.com/mirumee/prices/pull/39

**Full Changelog**: https://github.com/mirumee/prices/compare/1.1.0...1.1.1

0.5

0.4.2

This version adds a `FixedDiscount` price modifier. You can use it to automatically subtract a certain amount from a price.

python
Price(30, currency='USD') + FixedDiscount(Price(10, currency='USD'))
Price('20', currency='USD')


We now also have automated testing using Travis and coverage reporting using Coveralls.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.