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.1.tar.gz (6.6 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybackport-0.3.1.tar.gz
  • Upload date:
  • Size: 6.6 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.1.tar.gz
Algorithm Hash digest
SHA256 a5c7d83544cb10a914a71df65176c023bb80ebf6b8d96ac66a5b6489e2ae23bc
MD5 16b97d9b2572a33d6bed00aabf35131f
BLAKE2b-256 799d605709c6fd80faadeb252fc8186da88d4e7a358f36a7a5688b02506f94ab

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pybackport-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1100cd2900ce8385aed1bee96ee7b907950f959dc419d5a32e174249c2211e5e
MD5 8e8b9e9716e84f423ede7914f0bfbaab
BLAKE2b-256 a23101a458d6f2545ea05eb43241b940f15ab6b89aae74c3099396ff162a056e

See more details on using hashes here.

Provenance

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