Metadata-Version: 2.1
Name: pyscos2000
Version: 0.3.0
Summary: Python SCOS-2000 parsing and checking
Home-page: https://gitlab.irf.se/irf/pyscos2000
Author: Robert Labudda
Author-email: robert.labudda@irf.se
License: MIT
Keywords: SCOS-2000,ESA
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: docs
License-File: LICENSE

# pyscos2000

Parsing and checking SCOS-2000 databases with native python.

You can find the [documentation 
here](https://irf.developer.irf.se/pyscos2000/).


## 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](LICENSE)
