Pylasu is an AST Library in the StarLasu family, targeting the Python language.
Project description
Pylasu – Python Language Support
Pylasu is an AST Library in the StarLasu family, targeting the Python language. Documentation is on Read the Docs.
Testing
python -m unittest discover tests
Linting
flake8 . && flake8 tests
Testing
pytest tests
Packaging and Distribution
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
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.
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
Built Distribution
File details
Details for the file pylasu-0.7.2.tar.gz
.
File metadata
- Download URL: pylasu-0.7.2.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3856769fafa5846fa9d22283fc8802243a305c0b3dfe1e0b7aa3156e1f030e4 |
|
MD5 | bb74be2c14a4790c6cd86b96c593ed8f |
|
BLAKE2b-256 | c5d2bf8ecf79fa5fac8dd9bc2c9c32d7c2238d4b8084123b0d5a606845838bc3 |
File details
Details for the file pylasu-0.7.2-py3-none-any.whl
.
File metadata
- Download URL: pylasu-0.7.2-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc96366d4b581eed6f5dc1dd924083a8f7cdd2dce602dcd0a31ff47efc72e260 |
|
MD5 | cd746a96887fa45e6fe9108308e2fea3 |
|
BLAKE2b-256 | 90387fa7ac466aadb48b605e93cb2049a46fb04da0a307195fd0d1e046c1e6d8 |