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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file py-vcheck-0.0.2.tar.gz.

File metadata

  • Download URL: py-vcheck-0.0.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for py-vcheck-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e1ce8e551448997e17517b5b24d0258e6ec9db0d60fe65de13bdaa1a8736e9fd
MD5 4e665911caef894f78ee4646f6b15040
BLAKE2b-256 33a0d2ec42d9e262ef07a8a32ad3afee5d469f8b9f13b615725901517452700f

See more details on using hashes here.

File details

Details for the file py_vcheck-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: py_vcheck-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.6

File hashes

Hashes for py_vcheck-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2aca10f05cd297fee021644b2c96ed83ee97ed6d0931813c9b863ce34c7cbedc
MD5 e8c76b4963cde50bd8b1037dc99312a0
BLAKE2b-256 18b0d64a2483aa2b1860862ff80cd63260993ddb9d3d1921ab9bcbf9611c3935

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