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.1.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.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opynrefine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c311a1d3bf86f520d361ec606178d2370ea67612deae4813058089966a58165
MD5 265c2cc860121fd29b9803716aa17b92
BLAKE2b-256 ad9ce6d8a20703754a96d71f130e1b58540bcad6b248375609d98041b4951e48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opynrefine-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a870059d26ddcc87e0538ae466550941872e24ba6370096a53ddd301238550a
MD5 7505b1c99af98abd1ddbc7616c587d70
BLAKE2b-256 0f3ca1176713cb038ce0d50a541e018732159b7f263b4e1a14d0e5651a110a10

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