Hestia's utils library
Project description
Hestia Utils
Install
- Install the module:
pip install hestia_earth.utils
Usage
- To download a file from the Hestia API:
from hestia_earth.schema import SchemaType
from hestia_earth.utils import download_hestia
cycle = download_hestia('cycleId', SchemaType.CYCLE)
sandContent = download_hestia('sandContent', SchemaType.TERM)
- To search for a specific Node on Hestia:
from hestia_earth.schema import SchemaType
from hestia_earth.utils import find_node_exact
source = find_node_exact(SchemaType.SOURCE, {'bibliography.title.keyword': 'My Bibliography'})
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
Built Distribution
Close
Hashes for hestia_earth.utils-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81e63421da83af789453715166ded3841a4b354fd4f8c7e104d74b10a97a243 |
|
MD5 | f133c83452c9213e80af168e83e88ab7 |
|
BLAKE2b-256 | 2909b8a6015c71da6e88f4b59a235f93e41f56699c4fbc056f2a032cb6983a25 |