Command line tool to manage ontologies and their imports in a local environment
Project description
PyOntoenv
Installation
pip install pyontoenv
Usage
from ontoenv import Config, OntoEnv
from rdflib import Graph
cfg = Config(["../brick"], strict=False, offline=True)
# make environment
env = OntoEnv(cfg)
g = Graph()
# get the transitive owl:imports closure into 'g'
env.get_closure("https://brickschema.org/schema/1.4-rc1/Brick", g)
brick = Graph()
brick.parse("Brick.ttl", format="turtle")
# transitively import dependencies into the 'brick' graph, using the owl:imports declarations
env.import_dependencies(brick)
# pull Brick graph out of environment
brick = env.get_graph("https://brickschema.org/schema/1.4-rc1/Brick")
# import graphs by name
env.import_graph(brick, "https://w3id.org/rec")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyontoenv-0.1.9a6.tar.gz
(904.2 kB
view hashes)
Built Distributions
Close
Hashes for pyontoenv-0.1.9a6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbd812888b7bc0f1093741a5152ec55e5bd795b0551a849a6f2ce07f392bfcc4 |
|
MD5 | 837f6f1860b2f0e2c7b0ee1c20f8819d |
|
BLAKE2b-256 | 02e4a27e613e4789ee2fc59e8425c890d6987334a30bd261c611ebc930113bbf |
Close
Hashes for pyontoenv-0.1.9a6-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a9e28d5c15bfd0cb23537669305804e2bc85b5d7fb10b3014bcbf749856c6d |
|
MD5 | 755abe7b7dbc5c61680788a786fbd7fe |
|
BLAKE2b-256 | 668361b8a21f59ffe74a16a72b68bb1fed3c1aa464f81db2ffc60c47de5c7d97 |
Close
Hashes for pyontoenv-0.1.9a6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10e1e64b96d569b34d122038f3c277f60f2bdd38a8de12c1bd619dc751a97ce |
|
MD5 | ed6cecdf9af3022c2767dd0f0607c1eb |
|
BLAKE2b-256 | a5b7dd47563fb3a6279d0496b9589c6069549cf0b96e35dfe06d0362cdae0392 |
Close
Hashes for pyontoenv-0.1.9a6-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d7b6cc913ee3b41177cd88d74c6adf694943476a5c3a396ed9863b86051c26 |
|
MD5 | dc0ec9b17982299d6551edf96c0f47da |
|
BLAKE2b-256 | 0154e664c7a6cd0a90ac93b873cf643a4aec6e38aa08c7332e1ee0c2dddae577 |
Close
Hashes for pyontoenv-0.1.9a6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298a618e9d68ac2629aa2d7cb8b228e281b6c27c90779d349c3873fefe9a29ab |
|
MD5 | 23a5c4ffbd05d423e6c4c6ba67116ab1 |
|
BLAKE2b-256 | 00ddca8ca8804275ad9b762863f353a965f61743f51b88ffb2add5f86ffdb322 |
Close
Hashes for pyontoenv-0.1.9a6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6644dc9ec6cfcc8698f34fbec4bdb2407d18da53cd2ba3c94cc95df3a2a3e4cc |
|
MD5 | 9103dbc3e84520b60a5784f9685867e7 |
|
BLAKE2b-256 | 10b3dfc907767548051725af499ed4907efa11db90d23046f0cb183ecdac43f5 |
Close
Hashes for pyontoenv-0.1.9a6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764fde78afb9497b45dfe5b5054af44feb317735bc32f43bef19242f5938216f |
|
MD5 | a5b0cafea69a324cc4461af69b749400 |
|
BLAKE2b-256 | ab41ad6fea0d00d03557a2bd266f96e1e6df00fde08ce58cce2a1500718940de |
Close
Hashes for pyontoenv-0.1.9a6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba65d24f76a994db5e1541913bfc70cb8ba654e7fe3efb7642289152da6def3d |
|
MD5 | 2ae8b737bbb1e12c48e6e306974d1ce0 |
|
BLAKE2b-256 | 016fa37db2c290ab4a4fd9af3104b9ebc77a983dcbb1ad92e53658d34d0254a2 |
Close
Hashes for pyontoenv-0.1.9a6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9ffb5741eb7b541b1d8e33ef95cd98b2bacd8df06b9a02c489943c03e5be10 |
|
MD5 | 05b0c53dea315f32b1146072586a54bd |
|
BLAKE2b-256 | 1b128e319babe68e2ee5afad083b3c5386d8fc9af3752347aecddccc91d01064 |
Close
Hashes for pyontoenv-0.1.9a6-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4206a71e02e5dc6c471cd180c985f06eb20339f84dd0f219c86004336cd3939d |
|
MD5 | 73aab7c6c45260ae8acfc355d938b65b |
|
BLAKE2b-256 | 540c692c0466538a551f6445343986cbb99db85b1a4876adef220a20377644e8 |
Close
Hashes for pyontoenv-0.1.9a6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2def408eb074a3054611c166468cc9939b69ad32356705ee8d08277ab0ca15 |
|
MD5 | bbb72ec5a09df66a83662c15f37a1173 |
|
BLAKE2b-256 | b72fd76f8933956dcd9804bf0c5ee0df782f8ed2395af12e2cdef0f32deaf84e |
Close
Hashes for pyontoenv-0.1.9a6-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e272611afd45ebe7f16697a711fa121d0c90fdce8c06dc0246f98b1ee3a7b77d |
|
MD5 | d99eeaa251e69d33f30138ad2c6a7f36 |
|
BLAKE2b-256 | ca2f70b6e21da78aafdcfa02221950b54c54e1792dc7ebbc3f9369b4dfd5d238 |
Close
Hashes for pyontoenv-0.1.9a6-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407c62b7d3f07ae81bf51c62a92e622fede4de5115a522eb3018a33a5483f642 |
|
MD5 | 2dfcd367c047ce0a01eae5c19620da22 |
|
BLAKE2b-256 | beed40fd2b2aeb5a75b3f022d514785dfe5f46f6af2418cbc8dedafbe8bf8b8c |
Close
Hashes for pyontoenv-0.1.9a6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4c72c739663e7a43fd8e415217bba1425974d1bf82f1eb2d76fe56e504a0b1c |
|
MD5 | b68d029c729a1be27ff3ee6eda23bd9e |
|
BLAKE2b-256 | 428b184037fcd94ef2ccb84742863d5ea79706c3657593beae75e67716b6c52b |
Close
Hashes for pyontoenv-0.1.9a6-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f7a8243f80714f6bfcd01bfae1bf98e043cccbb0d016b2fb201ac7047a04a0 |
|
MD5 | 0c051cf89ea4b442f87fa2b213156e54 |
|
BLAKE2b-256 | d1cf27fdd27f73881f642e3fe2ce5a5ef9337e17bac27ae71a9fa4016a415daf |
Close
Hashes for pyontoenv-0.1.9a6-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9813a98878bb066fe444d311f4d4d72f5d0fe350f38c2c31bdb09235351390d |
|
MD5 | cab768a10a8f7bd85da9495ddf057ead |
|
BLAKE2b-256 | c5ba8bb4941eaf90592e9a5f622f450f4b6fafe312b187c2f8e1360398b98912 |
Close
Hashes for pyontoenv-0.1.9a6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1908aef7c783abd15c7600953e80503af8be636d69735973cb55e206df417b94 |
|
MD5 | fe10c1250a1366a12c1bb9bb01b0a87b |
|
BLAKE2b-256 | 802af06f408ebb59074f9f4509f36581f35cbd6abd225615bfb59d4f2a7c4d2f |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9896ad72f94aad7309ba331f9e4d63c1131e74aa8ac8075b9197c5991fc76d91 |
|
MD5 | 2bc9cf2b9ab4e9d92eaf5e95c78dd3e8 |
|
BLAKE2b-256 | 7662941396d802ac99bd4a5e56ffb1bcb5ed4a57151fbc7da1d35e648e7504cc |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 381d92fb2c32ffc5f858134793dc13e5497714af69e3d0d45da1425055758000 |
|
MD5 | fe01cbc8e5e1e587c070f537b7e4b1c1 |
|
BLAKE2b-256 | 6ac790769cdaa39d93231f5e74c2df66dab136c7d92d4c32dd0749f4a349dc3b |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6186b4e3a3caed2642d06ec1181443a79c6b1aaae811d1ef8fab3b08b628c080 |
|
MD5 | 3ea3ef63f2eeb3d83b64ea57c5c51323 |
|
BLAKE2b-256 | 2b20d3872a2a11f328c5b22bd23e76ead2f75e92ecc509f05c2db5e3a0b56d9d |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3623bf551bcf3f865646ab596bb750fdba3ee0fa6a89dc8e8458888717871898 |
|
MD5 | 807cd254ec8cfc36ed373a8fc71502c0 |
|
BLAKE2b-256 | 0944196e1f821c26aa65dd5a776905a8bb9e27fb798883fc9a7d28299210d1a9 |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0dfa2291e04fa467b7146553c4e8fbd7165487bc77f0b07df592d5630bc39c |
|
MD5 | 0cb8601a118bc3a320ee27f5b7cb7eef |
|
BLAKE2b-256 | 0ee0bab7d779be5639fa0c2a5e70954e445cc8977059800666d06a761b1ea358 |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f2fa80f9f0fe6797d2780203aa677d32d7eca21e4f00953b949e46e72fe4c0 |
|
MD5 | 9e51eb7a1edac84e3e4094725a7632f9 |
|
BLAKE2b-256 | 9c08469c389a5a79aaafebc0ebfd2a74a1afdb62a696c7ea2e1413759ad82657 |
Close
Hashes for pyontoenv-0.1.9a6-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59cf67bb2f7c9466d3985c1db3b78ff57779b53ed7f474b9852cf46ae7d312a9 |
|
MD5 | 2236445ddbbab840747cc70495715cb1 |
|
BLAKE2b-256 | 1b8bd2fdff3d810fd1f617eb66421be1a9e1e17a9135beec245b220f1d781a55 |