Skip to main content

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

MIT

Project details


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)

Uploaded Source

Built Distribution

pyscos2000-0.3.0-py3-none-any.whl (28.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page