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.2.0.tar.gz (11.8 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.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opynrefine-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1ee04d3e19a2c0724cac40806be249d7fe46772b31ddd93bd54702ebc7111adb
MD5 046f3f3ba764cd3c689c8a5920cb71ab
BLAKE2b-256 b186943fff0cac165d35f7da6e21183843504df90893c8462b08ad5b93ba1371

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opynrefine-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05837427ab5e84138ecc82817b8d510831a4c619bd06bcb1849dabf50340c9bc
MD5 ca067c2a8369fe612c822a625bedb859
BLAKE2b-256 1b5a88fca86d9d2a8efe94940863b801006b997ad78fea8b131745c8da1feb76

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