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 is available at https://pyrepox.readthedocs.io/en/latest/.
Examples for each currently defined method is documented in the repox package documentation.
Todos are also documented.
Want to Help?
Help is very much appreciated. See Contributing or open an issue in the issue tracker.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repox-0.0.3.tar.gz.
File metadata
- Download URL: repox-0.0.3.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec61d24459af839c86fc545072e7b6e7a2bf59996c25248f03d72ac31fb94ef6
|
|
| MD5 |
ea5fc54dd9af453ef13985bdd4030792
|
|
| BLAKE2b-256 |
ca94a4ca3229eee7074b27f1c1de8b61ce90cb250ab25adcb19cbd875377fd87
|
File details
Details for the file repox-0.0.3-py3-none-any.whl.
File metadata
- Download URL: repox-0.0.3-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
308280068a809fab1a62995ee0d68616ba3caff6aa4255804fe55e583bde0c9f
|
|
| MD5 |
2c956640fb78d62490d527886cd9d20a
|
|
| BLAKE2b-256 |
f350027682aa7ae900e8c4f5de2ad134e08a9faa45b5e8f64e14aa7e1247ece5
|