Skip to main content

Use the external API of a RUDI Producer node

Project description

Code style: black

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

$ 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.1.6.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

rudi_node_read-0.1.6-py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page