Skip to main content

utilities for working with the NIF ontology

Project description

nifstd-tools

PyPI version

Tools for working with the NIF-Ontology.

Installation

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.

Configuration

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


Download files

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

Source Distribution

nifstd-tools-0.0.1.tar.gz (147.1 kB view details)

Uploaded Source

File details

Details for the file nifstd-tools-0.0.1.tar.gz.

File metadata

  • Download URL: nifstd-tools-0.0.1.tar.gz
  • Upload date:
  • Size: 147.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.9

File hashes

Hashes for nifstd-tools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85df3e2579ee62f0880976408ad02c3c53d0529ef1136d2124af21718fc01304
MD5 d536c51a70f4c0892e7e142edc525e1e
BLAKE2b-256 94874b2523af34e758ce739068375e98cdedb16976ab98b3a1943fb8d9398984

See more details on using hashes here.

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