pySONATA
A python library for the SONATA data format
Installation
$ python setup.py install
More to come
Reading Configuration files
You can parse and validate a config json file using the from_json function in config.py. It will take care of manifest variables, combine links to other parts of the config (simulation.json, circuit.json) and return a completed json in python dictionary.
from config import from_json
cfg = from_json('path/to/config.json')
print(cfg['run']['tstart'])
Note:
- You can also pass in a jsonschema IValidator object which will check if the json file follows the schema. The AIBS BMTK uses our own custom validators, and if desired I can add the code to this repo.
Reading in Data Files (Nodes and Edges)
Metadata
Release files for sonata 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonata-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for sonata-0.0.2-py3-none-any.whl |
Release files / sonata-0.0.2-py3-none-any.whl
| Download URL | sonata-0.0.2-py3-none-any.whl |
|---|---|
| Size | 70.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00590f9491bd1e8d3fec8cae1cf34c09ad339a37d1d8817ad2b51516726c0ef3
|
|
BLAKE2b-256 checksum How to use checksums |
0f506fffb658007fb119c07f648a4cb7358dc6f5f6b15ae983357478b437bec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for sonata 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.