Skip to main content

Python package to backport classes from new python releases.

Project description

tests_badge PyPI Version Python Version MIT License PyPI Downloads Docs

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybackport-0.3.0.post1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybackport-0.3.0.post1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

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

Hashes for pybackport-0.3.0.post1.tar.gz
Algorithm Hash digest
SHA256 8dae7591e7f7c131b3ca9939ff9753ba45dc73c27ae4bb5093671154e6fb3e65
MD5 4a93c39f2b19ceceef6af40e7bca7afd
BLAKE2b-256 3b0a4a1122747b2074c45d6ee2b6ba7baa4a8a5246f86821146e7aa2fd2e1255

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybackport-0.3.0.post1.tar.gz:

Publisher: release.yml on Jtachan/PyBackport

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybackport-0.3.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for pybackport-0.3.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6af8d2d7981855f9ed60c5e08830fd94281fa24558a934228782ca198f4ea25
MD5 9a1f1619cb20e93c2fb35feae8d31c2b
BLAKE2b-256 7a5bf8eff9a23c04957460252bea93b6790926b5eef5491d42193fb05ebf53f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybackport-0.3.0.post1-py3-none-any.whl:

Publisher: release.yml on Jtachan/PyBackport

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page