Use the external API of a RUDI Producer node
Project description
RUDI Node tools: rudi-node-read library
This library offers tools to take advantage of the external API of a RUDI Producer node (also referred as RUDI node).
The Jupyter notebook README.ipynb offers an overview of the available functionalities.
Installation
# pip install rudi_node_read
RUDI_NODE_DEV=true
Usage
from rudi_node_read.rudi_node_reader import RudiNodeReader
node_reader = RudiNodeReader('https://bacasable.fenix.rudi-univ-rennes1.fr')
print(node_reader.metadata_count)
print(len(node_reader.metadata_list))
print(node_reader.organization_names)
print(node_reader.find_metadata_with_media_name('toucan.jpg'))
Testing
$ pytest
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
rudi-node-read-0.2.1.tar.gz
(18.5 kB
view details)
Built Distribution
File details
Details for the file rudi-node-read-0.2.1.tar.gz
.
File metadata
- Download URL: rudi-node-read-0.2.1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcef81df231f4418c201dbaf9a38eb845b5d2d279d0e163e3f1063883bfbd124 |
|
MD5 | 0156122810843ac95c8138d2ed7226a3 |
|
BLAKE2b-256 | 4955f3a54ed63dc1b7af7fdb51295066d49da1c247d91289f24a4668e1620198 |
File details
Details for the file rudi_node_read-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: rudi_node_read-0.2.1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 746b9d94bb9785d5b005a31203e39a23b7f0033828bbb5e5ea13aff73494b286 |
|
MD5 | e025d4bb91d66bb634a0f6c980f9acb2 |
|
BLAKE2b-256 | 019b4e922a1128f61239383f103d9f1da3f666fe883b0d45e10a5ce27ee1f6d9 |