Skip to main content

Pylasu – Python Language Support

Build Status PyPI Documentation

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)

Source distribution for pylasu 0.9.1
File Size Uploaded
pylasu-0.9.1.tar.gz 29.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylasu 0.9.1
File Interpreter ABI Platform
pylasu-0.9.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page