Minerva Python library
Project description
minerva-lib-python
Minerva Python Library contains common code for the Minerva suite, such as:
- High performance server-side rendering code implemented in native C code
- Minerva client for making requests to Minerva API
- High level utility classes for importing and exporting images
Using the Minerva API
Authentication
from minerva_lib.client import MinervaClient
client = MinervaClient(endpoint="MINERVA_BASE_URL", region="AWS_REGION", cognito_client_id="CLIENT_ID")
client.authenticate(username="USERNAME", password="PASSWORD")
Fetch raw image tiles
# Credentials will be valid for 1 hour
credentials, bucket, prefix = client.get_image_credentials("IMAGE_UUID")
# Returns a bytes object
res = client.get_raw_tile(credentials, bucket, "IMAGE_UUID", x=0, y=0, z=0, t=0, c=0, level=0)
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
minerva-lib-0.0.5.tar.gz
(46.9 kB
view hashes)
Built Distributions
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd9dd099c95926a117863a223aa0ed3c34b8f6468eda4050f5eaeb30143015c |
|
MD5 | e2b1c7148f125e5309c394f0a13db6e7 |
|
BLAKE2b-256 | 9b77540287c546c18ca0be07ea14890b906578483dd3e4e0d02daf1328f01a81 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167f6b312d85dffe2a5f28d785a3072af21fca9d6c27b40380068b9cbcf93eed |
|
MD5 | 3ec61d81a2cd375c6a1f2ec315c4fc8b |
|
BLAKE2b-256 | e2b95849a7c5a81d88f74c4c0155e84b9699657f2df1bba52fccec02231e37d8 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19d9bb0ec900da9f911e0ed824bcb33a6a7ab269093e79dbd7c0f9136dce6479 |
|
MD5 | fae82ea783019fd2ae1e7f9c43ead004 |
|
BLAKE2b-256 | 9a10c1ec3b214fc38c92a46b0cbd9ae5c1c0bea4e89023fad716a7b3fa54fda3 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 196206a2f692a256e9ed14cff3928afb2afd07305ab08bcd210a4c349d2755ed |
|
MD5 | 872a95c851a51860da17e7147bbf4368 |
|
BLAKE2b-256 | 679a398563439ad111623470dfcd28810f6e8dac60615d4b6b5842e51b4a7002 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece195f2aec7f19b07f1d1c2774ee6dbb89c5cc767108574722a3f4434689a07 |
|
MD5 | 8e77e900e3a5166846943ad7d86d97be |
|
BLAKE2b-256 | d6f665d65be258cc5d0dcb4b310eb8ae0184494bb382b994d8a80f153b8b74c4 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72c833583c7d6470d9d3357afc3eea41575460c5666fef74506d8ed96a8178e |
|
MD5 | 0e8a3896ebe6109da6022a8cfc1212df |
|
BLAKE2b-256 | 97315397bd3b6e8127891c0f61ddb1cca6cd12d0ca759ca9025c8cd9be54d122 |
Close
Hashes for minerva_lib-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9a319b088832200e522357aa759861416f4671b61cbbb1d3d7957228a4137f |
|
MD5 | a960360572457150204aefe0c4532111 |
|
BLAKE2b-256 | 6af8789e67399fcd6b506619b2989f40ac5f2a41165d5ee49a2d2f3171a811b5 |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd1ab9cb9fda1fc02d0fc643f430b0f4c13391593e21f89a5b7f3c4fe91a37c |
|
MD5 | 4790ec258849c8d17a8a3f932422f368 |
|
BLAKE2b-256 | 6a97ae2af64980c136285d00eeac6876759b56467abf9096f627f0e99f44cfc8 |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260d703e90ad85088566597c7fcdea68450004100eaf825593792b8b7931abba |
|
MD5 | ce7769efbf0e963287ebde4b6514973f |
|
BLAKE2b-256 | d1120038198377fb2e03f30094cba9ad090ac2f54b05876446c73da45a0443a3 |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b34d3e7037b45d88df8999e30ea26b1594fefbd27e4c6b7c89e56e4124a63eb |
|
MD5 | 3a414ae1caf1d5ed818e80947e7dd836 |
|
BLAKE2b-256 | 91b55a0b4aeafeb43af99f15fac24dc3faec673da8595c5ae4ca8ef5ead2419d |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c749299c5f0b1698a4611cc08d6b3bacae2f109e89806e28e2aa5c6b72b1ecc |
|
MD5 | cdcdddb7022692b978d657eef5992215 |
|
BLAKE2b-256 | 5829644553076e6b84fe83e5cb6a52fadc60baf6efbf6229a60bd65f81b9c0b8 |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51d8d7d95430ae76730bb625567735ee96df1f4c088a5704d5652a770776e65 |
|
MD5 | 8bfc12311c0c62e17419005562f26962 |
|
BLAKE2b-256 | 895abe28148f34b033a966c506b2ef8aa616182e5c68623d4dada9ce544829b2 |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfbbfe55643908a95ab1b72841fed07b8041942c5a02b84ab2ee86736b5ab52d |
|
MD5 | 7db816a5d034f0e8d3bb67b574a366a9 |
|
BLAKE2b-256 | f2068b02ff23d3baf2edb98532ddeaeaa72a0314dd78fcee3d10d8b97922481b |
Close
Hashes for minerva_lib-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8250992701b46ff9e71fb4db05a36a5038462d0f5b2379674083283ccc8638db |
|
MD5 | a73b0041c2d961a92a2e062fec44b7db |
|
BLAKE2b-256 | ece02939d012182d7b208a43334db64d89c09f9d70d8b7984c8050759e2e8ce2 |