Skip to main content

Basic Python modules to support new classes in old Python

Project description

tests_badge

Python Base Extension

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.BGR provides a wrapper to commonly used BGR color codes, like BGR.WHITE to use the color code (255, 255, 255)

❗ This code is still a work in progress ❗
New functions to be included can be found here.

📖 Documentation

Documentation can be found at the docs folder.

WIP: Sphinx documentation for further releases.

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.0.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

pybase_ext-0.1.0-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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