Simplefractions

Latest version: v1.2.1

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

Scan your dependencies

1.2.1

This is a bugfix release that fixes an ugly rendering of the license on the
PyPI release page.

Changes

- Don't specify license as a file in pyproject.toml. (30)

1.2.0

This is a minor release focused on improvements to the development
workflow.

Changes

* Document bounds for fraction-to-float-to-fraction roundtripping. (27)
* Add some missing type annotations. (14)
* Add automated publishing workflow. (28, 29)
* Add mypy and isort CI checks. (9, 16)
* Add Python 3.11-dev to CI checks, replace 3.10-dev with 3.10. (12, 28)
* Move to pyproject.toml-based packaging. (15, 28)
* Move package source under `src/`. (28)
* Update copyright header years. (17)
* Cleanup and modernization of on-commit workflow. (10, 28)
* Minor style and typo fixes. (11, 13, 18)

1.1.1

This is a tiny bugfix release that fixes a missing word in the README. There's no change in the Python code.

1.1.0

The main changes in the 1.1.0 release are:

- Significant simplification of the internal logic for `simplest_in_interval`
- A proof of correctness of the `simplest_in_interval` logic included in docstrings
- Additional testing

1.0.0

This is the first release of the simplefractions package.

This package exists simply to expose two useful algorithms in well-tested, general, form:

- `simplest_in_interval` finds the simplest fraction in a given subinterval (open or closed, finite or infinite) of the real line
- `simplest_from_float` finds the simplest fraction that recovers a given Python `float`

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.