Pypi-simple

Latest version: v1.5.0

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

Scan your dependencies

Page 1 of 3

1.5.0

-------------------
- **Bugfix**: Fix parsing of "true" `data-core-metadata` attributes and
handling of the attribute's absence (contributed by
[thatch](https://github.com/thatch))
- `DistributionPackage.has_metadata` will now be `None` if this attribute
was absent in the HTML returned by PyPI. Previously, it would be `False`
under this circumstance.
- Added `PyPISimple.get_package_metadata_bytes()` (contributed by
[thatch](https://github.com/thatch))
- `PyPISimple.get_package_metadata()` now always decodes responses as UTF-8
(contributed by [thatch](https://github.com/thatch))
- Request methods now take optional `headers` arguments (contributed by
[thatch](https://github.com/thatch))

1.4.1

-------------------
- Migrated from setuptools to hatch
- **Bugfix**: When no `accept` argument is passed to
`PyPISimple.get_project_page()`, actually fall back to the value supplied on
client instantiation, as documented (contributed by
[thatch](https://github.com/thatch))

1.4.0

-------------------
- Support PEP 708
- `tracks` and `alternate_locations` attributes added to `ProjectPage`
- `pypi_meta`, `tracks`, and `alternate_locations` attributes added to
`RepositoryPage`
- `SUPPORTED_REPOSITORY_VERSION` increased to `"1.2"`

1.3.0

-------------------
- Support Python 3.12
- Update for PEP 714
- Gave `PyPISimple` a `get_package_metadata()` method
- Added an examples page to the documentation

1.2.0

-------------------
- Update pydantic to v2.0

1.1.0

-------------------
- Support PEP 700
- `versions` field added to `ProjectPage`
- `size` and `upload_time` fields added to `DistributionPackage`
- `SUPPORTED_REPOSITORY_VERSION` increased to `"1.1"`

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.