Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

PyBackport

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

PyBackport

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

  • 0.2.0.post1
  • Source
  • PyPI
  • Socket score

Maintainers
1

tests_badge PyPI Version Python Version MIT License PyPI Downloads Docs

Python Backport

The py_back 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 py_back 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 py_back allows users to create enumerations where its members are tuples.
  • Provide of new classes containing commonly used constant values. For example, py_back.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 PyBackport

The latest changes on develop can be installed via pip + git:

pip install git+https://github.com/Jtachan/PyBackport.git@develop

📖 Documentation

Documentation can be found:

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc