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.2.tar.gz (216.6 kB view details)

Uploaded Source

Built Distribution

nifstd_tools-0.0.2-py2.py3-none-any.whl (144.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: nifstd-tools-0.0.2.tar.gz
  • Upload date:
  • Size: 216.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.6

File hashes

Hashes for nifstd-tools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f2c3c15c15e048de8979c9fd18021d317670f1097cebd49175e4abafb66c513b
MD5 7b59bdefd026d70dc9b45ad544325bb0
BLAKE2b-256 93374e3fa9fa870edef6338fb987320b0cd8e73816bdd32aa84dbbefabb37eac

See more details on using hashes here.

File details

Details for the file nifstd_tools-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: nifstd_tools-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.6

File hashes

Hashes for nifstd_tools-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 92ac8e94d71917720a1c670a6e79a4b5cdaca8ec7f5bbc0a63cc8222c28a67cf
MD5 9af845944788dc561a9459f590433ee1
BLAKE2b-256 dca33bbb7dff4cb86f5189078ecc09789e6ae2aedf313271e0baafbe3c99d34c

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