Skip to main content

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

opynrefine-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opynrefine-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file opynrefine-0.1.0.tar.gz.

File metadata

  • Download URL: opynrefine-0.1.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for opynrefine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e34d06f47529874c6b2de9f00fa431f8aaaf97767c7bbf62cab2bddc2bada89c
MD5 216a9ac13a10096d0bf7c18b7cbf649a
BLAKE2b-256 5f11577bbd9ef4a9cac496260cb0cfc6f92cd0fe575336086e38e79f9221722d

See more details on using hashes here.

File details

Details for the file opynrefine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: opynrefine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for opynrefine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a250ff723e74090bff4d95c6ad18bd83ad65c183bf4aa855977428aa9a5493e8
MD5 e4e42549d7762dd89ae34e7931dbeaf2
BLAKE2b-256 2f9b07282db8845ddf333db99d3f6056ddd0577d1f1e7c95dd774310c80debda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page