This release is a pre-release and may not be stable for production use.
Ontolopy a python package for working with .obo files
🚧 This package is in development 🚧
Please see the docs for the most up-to-date information:
You can access versioned docs at /versions/{version} like this
Installation
Ontolopy is available on pip, and can be installed using:
pip install ontolopy
Usage
Example usage:
import ontolopy
# read an ontology in obo format
obo = ontolopy.Obo('path_to_file/uberon_ext.obo')
# find relationships between terms of interest:
# (in this case, are any of the source_terms, is_a or part_of the brain?)
source_terms = ['UBERON:0003290', 'UBERON:0003369', 'UBERON:0003703']
target_terms = ['UBERON:0000955'] # brain term
relations_of_interest = ['is_a', 'part_of']
relations = ontolopy.Relations(
source_terms,
target_terms,
relations_of_interest,
obo.ont
).relations
Metadata
Release files for ontolopy 1.1.1b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ontolopy-1.1.1b0.tar.gz | 14.1 kB | Without provenance | Details for ontolopy-1.1.1b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ontolopy-1.1.1b0-py3-none-any.whl | Python 3 | none | any | Details for ontolopy-1.1.1b0-py3-none-any.whl |
Total release size: 29.1 kB
Release files / ontolopy-1.1.1b0.tar.gz
| Download URL | ontolopy-1.1.1b0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bde78f8ff7be678fb5547fe7c95e6c98448f57a9ca7d44e7725d42d3c1072b1
|
|
BLAKE2b-256 checksum How to use checksums |
b696e52b19a53cc31d082715b09c9aca40a215e8f3757dcb29e0a30fa70ba5b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / ontolopy-1.1.1b0-py3-none-any.whl
| Download URL | ontolopy-1.1.1b0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f755af6c61af3e22cc86446ddacd37c36587aab7f4f1d3805a592e20decadef
|
|
BLAKE2b-256 checksum How to use checksums |
cc3d908c8d367758c6c9d2b0076139761268a2233eb0440f2696524988c013c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Security for ontolopy 1.1.1b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.