pyfill
pyfill is a tool that detects Python versions and replaces deprecated features or standard libraries (e.g. datetime.utcnow) with alternative methods using only the standard library or Python itself whenever possible.
Why this exists
I use deprecated features in the process of maintaining multiple libraries, such as apsig, and then use the same features in multiple versions by replacing them with alternative features in deprecated and subsequent versions. However, this method does not allow me to reuse the same deprecated features when creating another library (except for copy/paste, etc.). To make this possible, this library is licensed under CC0.
Current Features
datetime.utcnow()(pyfill.datetime.utcnow())datetime.utcfromtimestamp()(pyfill.datetime.utcfromtimestamp())
Other Alternatives
audioop-lts: LTS port for the audioop module, which was removed in 3.13 and deprecated in 3.11.
Metadata
Release files for pyfill 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyfill-0.1.3.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfill-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / pyfill-0.1.3.tar.gz
| Download URL | pyfill-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8416ca329c5c61da9323527b3f8f263f9ac71139d00ac3f5d2fa1398afca274
|
|
BLAKE2b-256 checksum How to use checksums |
1931594dcd00ec7a13e7a847d8b3c14a9be74d785feaf7812f3313bbe2a97854
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / pyfill-0.1.3-py3-none-any.whl
| Download URL | pyfill-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6057ac9ab418855f278a21b02082a80f969b2decd15229a476c9f74a2f353d7
|
|
BLAKE2b-256 checksum How to use checksums |
ea61c76ae9a76a0951c2cef4169056433b6900d470575a71af08321f5e46be9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for pyfill 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.