Files
pyscript/docs/reference/API/__version__.md
Jeff Glass 687b93d148 Import PyScript Version into Python Runtime (#958)
* Import current version as PyScript.__version__ and PyScript.version_info

* Add integration, python unit tests
 
* Mock pyscript.py with __mocks__/pyscript.js to make jest tests happy
2022-11-18 11:49:45 -06:00

338 B

__version__

PyScript.__version__ is a str representing the current version of PyScript in a human-readable form. For a structured version more suitable to comparisons, and for details of what each part of the version number represents, see version_info

>>> pyscript.__version__
'2023.02.1.dev'