Python SCOS-2000 parsing and checking
Project description
pyscos2000
Parsing and checking SCOS-2000 databases with native python.
You can find the documentation here.
Installation
To install pyscos2000
you will have to clone the repository and install
it like this:
git clone https://gitlab.irf.se/irf/pyscos2000.git
pip install ./pyscos2000
In case you want to actually modify this library be sure to clone the repository through ssh and install it in a way that’ll allow you to build the documentation, too:
git clone git@gitlab.irf.se:irf/pyscos2000.git
pip install -e ./pyscos2000[docs]
Usage
To load a SCOS-2000 database from the .dat
files in your
ASCII
directory, run this:
import pyscos2000
scos = pyscos2000.SCOS('./ASCII')
The various tables will then be available as (for example) scos.plf
.
Each table has the rows available as the rows
property, e.g.
scos.plf.rows
.
License
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
pyscos2000-0.3.0.tar.gz
(27.3 kB
view hashes)
Built Distribution
pyscos2000-0.3.0-py3-none-any.whl
(28.5 kB
view hashes)
Close
Hashes for pyscos2000-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb9f52bbff4c2a9d1081fd4de4eea800cb602b5abb09d8a3069138cc6c2696b3 |
|
MD5 | 8d64bef2bf525664a2457243d54d243f |
|
BLAKE2b-256 | f7b126c6bb1490c049cc7abf43cfaac8465e3b8bab8595c28c32d80affa885ea |