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
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
pip install pytest-cov
python3 -m pytest --cov=rudi_node_read --cov-report term-missing --cov-report html
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.1.3.tar.gz
(18.6 kB
view details)
File details
Details for the file rudi-node-read-0.1.3.tar.gz
.
File metadata
- Download URL: rudi-node-read-0.1.3.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa213e7c6a4a2f8ecba9781a4c4a7e87699f7a4e83855188b16e2d5d8fb87ed |
|
MD5 | b1b8bcbc8a2aa6cd23e03df5536f3d4a |
|
BLAKE2b-256 | 7c01a0bc30afb154b4957e989f0df63ef746325f65ff19a5fc7fdbc0d9085ed5 |