Skip to content

pybpc/relaxedecor

Repository files navigation

NB: relaxedecor is currently under reconstruction. It is highly recommended to directly install from the git repo or the pre-release distributions.


relaxedecor

PyPI - Downloads PyPI - Version PyPI - Python Version

GitHub Actions - Status Codecov - Coverage Documentation Status

Write relaxed decorator expressions in Python X.Y flavour, and let relaxedecor worry about back-port issues 🍺

  Since PEP 614, Python introduced relaxed decorator expressions syntax in version X.Y. For those who wish to use relaxed decorator expressions in their code, relaxedecor provides an intelligent, yet imperfect, solution of a backport compiler by replacing relaxed decorator expressions syntax with old-fashioned syntax, which guarantees you to always write relaxed decorator expressions in Python X.Y flavour then compile for compatibility later.

Documentation

  See documentation for usage and more details.

Contribution

  Contributions are very welcome, especially fixing bugs and providing test cases. Note that code must remain valid and reasonable.

See Also

About

Backport compiler for Python 3.9 relaxed decorators grammar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published