Skip to main content

SONATA Data Format

Project description


A python library for the SONATA data format

## Installation

$ python install

*More to come*

## Reading Configuration files
You can parse and validate a config json file using the from_json function in 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')

* 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)

*Please stay tuned...(although the sonata/tests/ directory has some good examples)*

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

sonata-0.0.1.tar.gz (26.8 kB view hashes)

Uploaded Source

Built Distributions

sonata-0.0.1-py3-none-any.whl (70.9 kB view hashes)

Uploaded Python 3

sonata-0.0.1-py2-none-any.whl (41.8 kB view hashes)

Uploaded Python 2

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