Skip to main content

Use the internal API of a RUDI Producer node

Project description

Code style: black

Caution: this librairy is still a work in progress.

RUDI Node tools: rudi-node-write library

This library offers tools to take advantage of the internal API of a RUDI Producer node ( also referred as RUDI node).

Installation

$ pip install rudi_node_write

Usage

from rudi_node_write.connectors.io_rudi_api_write import RudiNodeApiConnector

rudi_api = RudiNodeApiConnector('https://bacasable.fenix.rudi-univ-rennes1.fr')
print(rudi_api.metadata_count)
print(len(rudi_api.metadata_list))
print(rudi_api.producer_names)
print(rudi_api.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-write-0.1.0.tar.gz (47.7 kB view hashes)

Uploaded Source

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