Python client and CLI for the OpenRefine API
Project description
opynrefine
Python 3.x client and CLI for working with the OpenRefine API.
Getting Started
python -m venv .venv
source .venv/bin/activate
pip install -e .[test]
CLI usage
opynrefine --base-url http://127.0.0.1:3333 list-projects
opynrefine call core/get-models --params '{"project":"123"}'
opynrefine create-project "New dataset" data.csv --format-hint text/line-based/*sv --options '{"separator":","}'
opynrefine apply-operations 123 operations.json
Tests
Pytest-based tests include unit coverage and an integration test that exercises a running OpenRefine instance on http://127.0.0.1:3333. If OpenRefine is not running locally the integration test is skipped automatically.
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
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 opynrefine-0.2.1.tar.gz.
File metadata
- Download URL: opynrefine-0.2.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3648ba0cfdb16fd8dbeb003704158d12f8b5671dbabc25e0612b26001ac218d8
|
|
| MD5 |
c68617945c12fa9cd1dd1fe4ae8dfad7
|
|
| BLAKE2b-256 |
49ea36281af4d192abdcaf2e76f129ee2f07a83596b756b23d1d5a0507f53712
|
File details
Details for the file opynrefine-0.2.1-py3-none-any.whl.
File metadata
- Download URL: opynrefine-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bf9984ada9910737c72afd1afe7c1f8d3b7513bbbfb14a7a7272cd4c23d5922
|
|
| MD5 |
391bb77dc1e3709e4ca6f6b27d26c32b
|
|
| BLAKE2b-256 |
f2301a56ebc1434616fc69cce0610188df3058311dc3aa0ab54b9ca6fea66343
|