Collection of various useful Python classes and functions.
Project description
Collection of various useful Python classes and functions
Intended advantages:
reusable components
hide complexity of oft-used patterns
focused testing
Installation
pip install git+https://gitlab.diamond.ac.uk/scisoft/dls-utilpack.git dls-utilpack --version
Summary
- callsign functions
Extract and compose object identification used in logging.
- datatype functions
Validate strings according to expected data types.
Documentation
See http://www.cs.diamond.ac.uk/reports/gitlab-ci/dls-utilpack/index.html for more detailed documentation.
Building and viewing the documents locally:
git clone git+https://gitlab.diamond.ac.uk/scisoft/dls-utilpack.git cd dls-utilpack virtualenv /scratch/$USER/venv/dls-utilpack source /scratch/$USER/venv/dls-utilpack/bin/activate pip install -e .[dev] make -f .dls-utilpack/Makefile validate_docs browse to file:///scratch/$USER/venvs/dls-utilpack/build/html/index.html
Topics for further documentation:
TODO list of improvements
change log
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
dls-utilpack-1.3.1.tar.gz
(64.5 kB
view hashes)
Built Distribution
Close
Hashes for dls_utilpack-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a61ea89147d1983379fcade46795f587e62ec1b6566af9bbec11b717c204cd |
|
MD5 | 6cdbf736a1c13b5f9d35245d05904275 |
|
BLAKE2b-256 | 915e7450ec1684a44a2464c28536b2842c77e2f39b4d3df8d0d9b1b40f980806 |