Jefferson Lab Alarm Warning System API
Project description
jaws-libp
Reusable Python Classes for JAWS.
Install
Requires Python 3.9+
pip install jaws-libp
Note: Using newer versions of Python may be problematic because the depenency confluent-kafka
uses librdkafka, which often does not have a wheel file prepared for later versions of Python, meaning setuptools will attempt to compile it for you, and that often doesn't work (especially on Windows). Python 3.9 DOES have a wheel file for confluent-kafka so that's your safest bet.
API
Build
This Python 3.9+ project is built with setuptools and may be run using the Python virtual environment feature to isolate dependencies. The pip tool can be used to download dependencies.
git clone https://github.com/JeffersonLab/jaws-libp
cd jaws-libp
python -m build
Note for JLab On-Site Users: Jefferson Lab has an intercepting proxy
Release
- Bump the version number in setup.cfg and commit and push to GitHub (using Semantic Versioning).
- Create a new release on the GitHub Releases page corresponding to same version in setup.cfg (Enumerate changes and link issues)
- Clean build by removing
build
,dist
, anddocsrc/source/_autosummary
directories - Activate virtual env
- From venv build package, build docs, lint, test, and publish new artifact to PyPi with:
python -m build
sphinx-build -b html docsrc/source build/docs
pylint src/jaws_libp
pytest
python -m twine upload --repository pypi dist/*
- Update Sphinx docs by copying them from build dir into gh-pages branch and updating index.html (commit, push).
See Also
Project details
Release history Release notifications | RSS feed
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
Hashes for jaws_libp-4.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8397cf3048f6257c92a9224a27eac0f439954f09246344add311893f7092b4 |
|
MD5 | e372759bf0e32533d721ede06d5ce08f |
|
BLAKE2b-256 | 3513a1ce2b7847d7b2acc84e84adb31961433bd4581814e2496b8691d21122d0 |