Metadata-Version: 2.1
Name: rudi-node-write
Version: 0.1.0
Summary: Use the internal API of a RUDI Producer node
Author-email: Olivier Martineau <olivier.martineau@irisa.fr>
Maintainer-email: Olivier Martineau <olivier.martineau@irisa.fr>
License: EUPL-1.2
Project-URL: Homepage, https://github.com/OlivierMartineau/rudi-node-write
Project-URL: Documentation, https://app.swaggerhub.com/apis/OlivierMartineau/RudiProducer-InternalAPI
Project-URL: Changelog, https://github.com/OlivierMartineau/rudi-node-write/blob/release/CHANGELOG.md
Project-URL: Repository, https://github.com/OlivierMartineau/rudi-node-write
Keywords: rudi-node-write,rudi-node-get,RUDI,producer node,RUDI node,open-data,Univ. Rennes
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENCE.md

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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](https://app.swaggerhub.com/apis/OlivierMartineau/RudiProducer-InternalAPI) of a RUDI Producer node (
also
referred as RUDI node).

## Installation

```bash
$ pip install rudi_node_write
```

## Usage

```python
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

```bash
$ pytest
```
