Python package to backport classes from new python releases.
Project description
Python Backport
The py_back modules serve the next purposes of importing features from newer python releases into older versions.
For example, enum.StrEnum is new in Python 3.11, but py_back allows users to use it on previous versions.
from py_back import enum
class Animal(enum.StrEnum):
DOG = "dog"
CAT = "cat"
Setup
Install the package via pip.
pip install PyBackport
📖 Documentation
Documentation can be found:
- At the released mkdocs page.
- Within the
docsfolder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybackport-0.3.0.post1.tar.gz.
File metadata
- Download URL: pybackport-0.3.0.post1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dae7591e7f7c131b3ca9939ff9753ba45dc73c27ae4bb5093671154e6fb3e65
|
|
| MD5 |
4a93c39f2b19ceceef6af40e7bca7afd
|
|
| BLAKE2b-256 |
3b0a4a1122747b2074c45d6ee2b6ba7baa4a8a5246f86821146e7aa2fd2e1255
|
Provenance
The following attestation bundles were made for pybackport-0.3.0.post1.tar.gz:
Publisher:
release.yml on Jtachan/PyBackport
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybackport-0.3.0.post1.tar.gz -
Subject digest:
8dae7591e7f7c131b3ca9939ff9753ba45dc73c27ae4bb5093671154e6fb3e65 - Sigstore transparency entry: 634505957
- Sigstore integration time:
-
Permalink:
Jtachan/PyBackport@62ea26b3c885bdb37e7a2fb07b986f8875515468 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Jtachan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62ea26b3c885bdb37e7a2fb07b986f8875515468 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pybackport-0.3.0.post1-py3-none-any.whl.
File metadata
- Download URL: pybackport-0.3.0.post1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6af8d2d7981855f9ed60c5e08830fd94281fa24558a934228782ca198f4ea25
|
|
| MD5 |
9a1f1619cb20e93c2fb35feae8d31c2b
|
|
| BLAKE2b-256 |
7a5bf8eff9a23c04957460252bea93b6790926b5eef5491d42193fb05ebf53f6
|
Provenance
The following attestation bundles were made for pybackport-0.3.0.post1-py3-none-any.whl:
Publisher:
release.yml on Jtachan/PyBackport
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybackport-0.3.0.post1-py3-none-any.whl -
Subject digest:
e6af8d2d7981855f9ed60c5e08830fd94281fa24558a934228782ca198f4ea25 - Sigstore transparency entry: 634505970
- Sigstore integration time:
-
Permalink:
Jtachan/PyBackport@62ea26b3c885bdb37e7a2fb07b986f8875515468 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Jtachan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62ea26b3c885bdb37e7a2fb07b986f8875515468 -
Trigger Event:
push
-
Statement type: