Skip to main content

utilities for working with the NIF ontology

Project description


PyPI version

Tools for working with the NIF-Ontology.


The use of nifstd-tools is highly intertwined with the pyontutils respository. If you have a use case (e.g. ontree) where nifstd-tools works as a stand-alone package install it using pip install --user nifstd-tools. Otherwise see below for the full development installation instructions.


See pyontutils configuration.

Development Installation

Follow the parent instructions and refer to the rest of this section if you encounter issues.

Note that the optional development packages are not strictly required and if you have installation issues development can proceed normally without them, some database queries will just be slower because they use a pure python mysql connector.

If you are installing a development setup note that mysql-connector (aka mysql-connector-python) often cannot find the files it needs to build. When installing pass them in as environment variables (you may need to adjust exact paths for your system). MYSQLXPB_PROTOBUF_INCLUDE_DIR=/usr/include/google/protobuf MYSQLXPB_PROTOBUF_LIB_DIR=/usr/lib64 MYSQLXPB_PROTOC=/usr/bin/protoc pipenv install --skip-lock. There are some systems on which even this is not sufficient. If you encounter this situation add mysql-connector = "==2.1.6" to [dev-packages] in the Pipfile. And then run the command without environment variables.

If you don't want to use pipenv (which is probably most people) then the quickest way to get up and running with a development install is pip install --user --editable . from the folder that contains this readme.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nifstd-tools, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size nifstd-tools-0.0.1.tar.gz (147.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page