cmixf
A library to parse CMIXF-12.
For users:
To install from PyPi.
$ pip install cmixf
This will install a command line interface called cmixf.
$ cmixf --help
Usage: cmixf [OPTIONS] [TEXT]...
Options:
-d, --debug Turn on token debugging
--help Show this message and exit.
At present this assumes that a number is provided before any unit. To better understand which characters are erroneous you can turn on the debug flag.
- Without debugging on:
$ cmixf
cmixf (Ctrl+d to quit) > 1mV
1mV
cmixf (Ctrl+d to quit) > 1oC
1oC
cmixf (Ctrl+d to quit) > 1mM
FAILED: Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >
- With debugging turned on:
$ cmixf --debug
cmixf (Ctrl+d to quit) > 1mM
type='REAL', value='1'
type='UNITC', value='m'
FAILED: Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >
For developers:
After cloning the repo do:
- pip install -e .[dev]
- pre-commit install
Metadata
Release files for cmixf 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmixf-0.2.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmixf-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / cmixf-0.2.0.tar.gz
| Download URL | cmixf-0.2.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc5c83e4f160e726ad24edf5faa87129253d3e5872681f9def74688aff2ef4c4
|
|
BLAKE2b-256 checksum How to use checksums |
6b1e665caeae8770ebb2b90032aa5737407935fbf26f9b26509a47d4ba5ae97f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / cmixf-0.2.0-py3-none-any.whl
| Download URL | cmixf-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74f0e5ddbd53e1c3843d70994b1630395385238f020e2743847ab470a6e419c2
|
|
BLAKE2b-256 checksum How to use checksums |
5b8697cf993cfad4ca51ea6b2cbcb1263273ae7bb510ef43fbf503cb55c78ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|