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.4.0.tar.gz
(65.8 kB
view hashes)
Built Distribution
Close
Hashes for dls_utilpack-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c0c6a1b29ffb36f1bb76cabe23e465931edcc576cf9a82aacb977def336922b |
|
MD5 | df2d3f814b6e2ccf2b74c2f8634b99e2 |
|
BLAKE2b-256 | bd28f3e2ca3647daa9aaa1ad27b8a14d4ff358c124f2013553cac5111e1ecb0b |