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.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-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pybackport-0.3.0.tar.gz.

File metadata

  • Download URL: pybackport-0.3.0.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.tar.gz
Algorithm Hash digest
SHA256 04fd02ba08d0f0c2ed97a6c3e9e3b3a4ee24055656c2ae1133d290ccc3146b80
MD5 712a218a6b7b32e1689a2e548d0cd93f
BLAKE2b-256 122652a5144999eae84d062a713e663b7bcc7d7b501848e65a7f45c99447855a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybackport-0.3.0.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-py3-none-any.whl.

File metadata

  • Download URL: pybackport-0.3.0-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

Hashes for pybackport-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1acfbe8b902eff3ce9f4b986969b18cd5753a9f51296b23037b09d011375ce32
MD5 ca6946d699cbb11bf59e30cf99b57776
BLAKE2b-256 1c3a0c836e3b5895ea2aa8dd867b0908df2138c669905d25e36a408a103027ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybackport-0.3.0-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