Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markpbaggett/pyrepox
Python client for the Repox Swagger API
https://github.com/markpbaggett/pyrepox
dpla europeana python repox
Last synced: 13 days ago
JSON representation
Python client for the Repox Swagger API
- Host: GitHub
- URL: https://github.com/markpbaggett/pyrepox
- Owner: markpbaggett
- License: gpl-3.0
- Created: 2017-08-04T13:20:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T12:00:15.000Z (over 5 years ago)
- Last Synced: 2024-10-12T08:21:07.883Z (27 days ago)
- Topics: dpla, europeana, python, repox
- Language: Python
- Homepage:
- Size: 473 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
# Pyrepox: Repox for Humans
![Travis icon](https://travis-ci.org/markpbaggett/pyrepox.png)
![readthedocs icon](https://readthedocs.org/projects/pyrepox/badge/?version=latest)
[![PyPI version](https://badge.fury.io/py/repox.svg)](https://badge.fury.io/py/repox)
![PythonVersions](https://img.shields.io/pypi/pyversions/repox.svg)
![SourceRank](https://img.shields.io/librariesio/sourcerank/pypi/repox.svg)Pyrepox is a lightweight [Repox](https://github.com/europeana/REPOX)
client written in Python. It is designed to make reading, writing,
updating, and deleting content in your Repox instance as convenient as
possible.```python
>>> from repox.repox import Repox
>>> r = Repox('http://localhost:8080', 'username', 'password')
>>> r.list_all_aggregators()
['dltn']
>>> r.list_all_aggregators(verbose=True)
[{'id': 'dltn', 'name': 'Digital Library of Tennessee', 'nameCode': 'dltn',
'homepage': 'http://localhost:8080/repox'}]
>>> r.get_list_of_providers('dltn')
['utk', 'utc', 'cmhf', 'knox', 'mtsu', 'crossroads', 'tsla', 'nash', 'memphis']
```## Installation
```
$ pip install repox
```## Documentation
Documentation is available at [https://pyrepox.readthedocs.io/en/latest/](https://pyrepox.readthedocs.io/en/latest/).
Examples for each currently defined method is documented in the
[repox package documentation](https://pyrepox.readthedocs.io/en/latest/source/repox.html).[Todos](https://pyrepox.readthedocs.io/en/latest/todo.html) are also documented.
## Want to Help?
Help is very much appreciated. See [Contributing](https://github.com/markpbaggett/pyrepox/blob/master/CONTRIBUTING.rst)
or open an issue in the [issue tracker](https://github.com/markpbaggett/pyrepox/issues).