Skip to main content

Pylasu is an AST Library in the StarLasu family, targeting the Python language.

Project description

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.

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

pylasu-0.9.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylasu-0.9.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file pylasu-0.9.1.tar.gz.

File metadata

  • Download URL: pylasu-0.9.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for pylasu-0.9.1.tar.gz
Algorithm Hash digest
SHA256 2609e00beb04186ce144b68594e592052e4ba2c4ce3de99a719c260fa0b32091
MD5 7a66b655e1670f1ab3a70c2e85d7d127
BLAKE2b-256 bc1302587c27615627cb47bc4ea42a7b5e327bf741a080b9fdf3f0c873f246f2

See more details on using hashes here.

File details

Details for the file pylasu-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: pylasu-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for pylasu-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b32f0868042bc63f8eae7f934e6237ef3494e1912247d7c8b5fb83bea34000
MD5 27e8f911b2475f6fb87faca44b713e04
BLAKE2b-256 ef0f776001e1e1f4215c81ae2b7267afd09b05b74db8e3848253ced97fb7f1b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page