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.2.0.tar.gz
(64.5 kB
view hashes)
Built Distribution
Close
Hashes for dls_utilpack-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a2d7b2e1d6f622830c2eb90727a80b42fbd3b3f136670b85589496b363aa23 |
|
MD5 | 36e76b98bad82fd9b095c42f92fd3fd2 |
|
BLAKE2b-256 | 803caa377ec76092f47c18153c7eed4382ec389550428e38cd40db109356519f |