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

Uploaded Python 3

File details

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

File metadata

  • Download URL: opynrefine-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2e621d8cd82bdfa8bc5bf0c4770ce85341dd1ef7052d8f57382ddb510c17f4eb
MD5 3965d8b6a6ca4548b6c4eae3a97495bc
BLAKE2b-256 05febd69ac29078e81840020ee5c7f4a9bd3c1d8aec76aeea8e91d234d0c09bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opynrefine-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ec2731c08a199791310668d167d8075f5b14996a0e5e5c99d37b9320e843fee
MD5 6276985aaf579fec4a0d84e37347bd49
BLAKE2b-256 76d61f1867ead6e54ec50e416297a0a88e7e2227ab7d18d5e5cc6a34230105fa

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