a lightweight Repox client written in Python
Project description
Pyrepox: Repox for Humans
Pyrepox is a lightweight Repox client written in Python. It is designed to make reading, writing, updating, and deleting content in your Repox instance as convenient as possible.
>>> 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 available at https://pyrepox.readthedocs.io/en/latest/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
repox-0.0.2.tar.gz
(15.0 kB
view hashes)
Built Distribution
repox-0.0.2-py3-none-any.whl
(27.8 kB
view hashes)