Skip to main content

Enforce strict python versions in your code

Project description

PyVCheck

A simple decorator to enforce strict python versioning for your code.

@version(">=3.6")
def main():
    print("I'm definitely a Python 3.6+ code!")
$ python3.7 -V
python 3.7.6

$ python3.7 examples/py37/main.py
I'm definitely a Python 3.6+ code!

ChangeLog

0.1.0 (2022-04-09)

  • Initial release.

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

py-vcheck-0.0.2.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

py_vcheck-0.0.2-py2.py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 2 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