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 hashes)