Pylasu – Python Language Support
Pylasu is an AST Library in the StarLasu family, targeting the Python language. Documentation is on Read the Docs.
Linting
flake8 . && flake8 tests
Testing
pytest tests
Packaging and Distribution (Releasing a New Version of Pylasu)
Update version in pylasu/__init__.py, commit, push and check that CI completes normally.
Let's ensure that we have build and twine installed:
pip install build twine
Then, check the project can be released by linting and running the test suite:
flake8 . && flake8 tests --config tests/.flake8
pytest tests
Finally, we can run:
rm -f dist/*
python -m build
python -m twine upload dist/*
Note: if we have two-factor authentication (2FA) enabled on PyPI, we have to use an API token.
If all goes well, tag the release:
git tag -a v0.7.3 -m "Version 0.7.3"
git push origin v0.7.3
Extracting Documentation
Here's how to extract the documentation into HTML using Sphinx, the most popular documentation generator for Python.
First, ensure you have Sphinx and the chosen theme installed:
pip install sphinx sphinx_rtd_theme
Then, extract the documentation from the source code:
sphinx-apidoc -o docs pylasu
Finally, change into the docs directory and launch the build process:
cd docs
make html
If everything goes as it should, in docs/_build/html you'll find the generated documentation.
We also host the documentation on ReadTheDocs. The project is pylasu. Documentation needs to be built manually for each release for it to appear online on https://pylasu.readthedocs.io.
Metadata
Release files for pylasu 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylasu-0.9.1.tar.gz | 29.9 kB | Without provenance | Details for pylasu-0.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylasu-0.9.1-py3-none-any.whl | Python 3 | none | any | Details for pylasu-0.9.1-py3-none-any.whl |
Total release size: 66.2 kB
Release files / pylasu-0.9.1.tar.gz
| Download URL | pylasu-0.9.1.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2609e00beb04186ce144b68594e592052e4ba2c4ce3de99a719c260fa0b32091
|
|
BLAKE2b-256 checksum How to use checksums |
bc1302587c27615627cb47bc4ea42a7b5e327bf741a080b9fdf3f0c873f246f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.0
|
Release files / pylasu-0.9.1-py3-none-any.whl
| Download URL | pylasu-0.9.1-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8b32f0868042bc63f8eae7f934e6237ef3494e1912247d7c8b5fb83bea34000
|
|
BLAKE2b-256 checksum How to use checksums |
ef0f776001e1e1f4215c81ae2b7267afd09b05b74db8e3848253ced97fb7f1b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.0
|
Security for pylasu 0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.