Skip to main content

A collection of 9ML models and basic Python functions for accessing them

Project description

https://travis-ci.org/INCF/nineml-catalog.svg https://coveralls.io/repos/github/INCF/nineml-catalog/badge.svg Supported Python versions Latest Version

The NineML Catalog is a collection of NineML models written in XML. See http://nineml.net/software/ for a list of software that support NineML.

Also included is a simple Python module ‘ninemlcatalog’ for convenient access to the models stored in the catalog using the NineML Python library.

Editors

The NineML Catalog is maintained by the NineML committee (http://nineml.net/committee).

Installation

To “install” the XML models in the NineML Catalog simply clone the repository to somewhere sensible on your local computer (e.g. $HOME/git/nineml-catalog), and then you can reference the models from other NineML documents using either relative or absolute URLs. Before cloning, it is best to create a fork of the central repo (https://github.com/INCF/nineml-catalog) so you can backup any modifications to your own GitHub repo, and then open merge requests with the central repo (see Contributing).

To install the python module you will need to install the NineML Python library. Then simply add the ‘python’ directory in the catalog repository to your PYTHONPATH. Once NineML Python library is installed you will then be able to run the unit-tests by the command

$ python -m unittest test

from the git repository directory and it will attempt to load and validate every model in the catalog.

Contributing

Contributions to the catalog are most welcome. To add a model or amend an existing one simply make the changes to your local model, push them to your GitHub fork and open a pull request to the master branch of the INCF fork with a brief explanation of what your model models or amendment fixes (see https://help.github.com/articles/using-pull-requests/).

To make merging with the central repository feasible it is strongly recommeded that you make any distinct sets of changes in separate feature branches from the central repo’s master branch and then merge them together to create your “develop” branch of the catalog with all your customisations.

Before opening a pull request, please add the author information and relevant scientific citations to comments within the annotations block of the document. It is also encouraged to create or link your model with an entry on Open Source Brain (see http://www.opensourcebrain.org/docs#Creating_Your_Own_Project).

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

ninemlcatalog-0.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ninemlcatalog-0.1-py2.py3-none-any.whl (38.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ninemlcatalog-0.1.tar.gz.

File metadata

  • Download URL: ninemlcatalog-0.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ninemlcatalog-0.1.tar.gz
Algorithm Hash digest
SHA256 1d6613f5032781a289dfa9f7e9d74337724dca919841ee7ba84baa8c8e498500
MD5 9f3cb8e240874ea738d0bd210897a0c9
BLAKE2b-256 f41d90ff1ccac61e32748f46539bb7d7233dd66dbb1a8f561faa445d5b212c35

See more details on using hashes here.

File details

Details for the file ninemlcatalog-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ninemlcatalog-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 02c93e7c3a10925615d5a50fbe0607288f6171d8e7cb68e104fce9c35ca4b1f2
MD5 fe839e3563850ecd81a4ee0d08374fe1
BLAKE2b-256 0a3e229dde66aef3b1f3973e8fe2d6672c4ea60de6282d64469ba0a512ec3989

See more details on using hashes here.

Supported by

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