Skip to main content

Python package to backport classes from new python releases (for example,

Project description

tests_badge PyPI Version Python Version PyPI Downloads MIT License Docs

Python Base Extension

❗ This is a legacy release. This version won't be updated. Please update to PyBackport to continue using a maintained version. pybase-ext will be deprecated when py-backport has its major release v1.0.

The pybase-ext modules serve three purposes:

  • Enable the use of new base classes in older Python versions. For example, enum.StrEnum is new in Python 3.11, but pybase-ext allows users on previous versions to use it too.
  • Enable experimental classes not implemented in other modules. For example, enum.TupleEnum is not implemented in enum, but pybase-ext allows users to create enumerations where its members are tuples.
  • Provide of new classes containing commonly used constant values. For example, pybase-ext.colors provides a wrapper to commonly used BGR color codes, like BGR.WHITE to use the color code (255, 255, 255)

Setup

Install the package via pip.

pip install pybase-ext

📖 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

pybase-ext-0.1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

pybase_ext-0.1.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file pybase-ext-0.1.2.tar.gz.

File metadata

  • Download URL: pybase-ext-0.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pybase-ext-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2b35c69dab24e5060d354476063298dfc0d1c62eaa70cdf467b2d3e80d586f28
MD5 f233cbf86c7c2568d83842d9c2d3565b
BLAKE2b-256 e8c8157d3c3e221d227a9047a406b7069d59250de72d21cd798195f45b15b086

See more details on using hashes here.

File details

Details for the file pybase_ext-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pybase_ext-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pybase_ext-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83c744dab49e1bce5afeecadcd5321d592e417d79336d9f5393872a66760a6ed
MD5 63e0db9475df0fa23d0202c1d73e717d
BLAKE2b-256 aa65f406f25f163106ac5ac609bc9b50611ca0b56fbdcf035abc45313a0c75f7

See more details on using hashes here.

Supported by

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