Skip to main content

CKAN integration for Dataflows.

Project description

dataflows-ckan

Dataflows processors to work with CKAN.

Features

  • dump_to_ckan processor

Contents

Getting Started

Installation

The package use semantic versioning. It means that major versions could include breaking changes. It's recommended to specify package version range in your setup/requirements file e.g. package>=1.0,<2.0.

$ pip install dataflows-ckan

Examples

These processors have to be used as a part of data flow. For example:

flow = Flow(
    load('data/data.csv'),
    dump_to_ckan(
        host,
        api_key,
        owner_org,
        overwrite_existing_data=True,
        push_to_datastore=False,
        push_to_datastore_method='insert',
        **options,
    ),
)
flow.process()

Documentation

dump_to_ckan

Saves the DataPackage to a CKAN instance.

Contributing

Create a virtual environment and install Poetry.

Then install the package in editable mode:

$ make install

Run the tests:

$ make test

Format your code:

$ make format

Changelog

0.2.0

  • Full port to dataflows, and some refactoring, with a basic integration test.

0.1.0

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

dataflows_ckan-0.3.8.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

dataflows_ckan-0.3.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file dataflows_ckan-0.3.8.tar.gz.

File metadata

  • Download URL: dataflows_ckan-0.3.8.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1016-azure

File hashes

Hashes for dataflows_ckan-0.3.8.tar.gz
Algorithm Hash digest
SHA256 7c21c7e1db6c04d2a2213c04acd7024db474f9b24ddf5dca7ec848123f925ff4
MD5 c296f10a8ea4a5bf9b0050a8fd323ba5
BLAKE2b-256 15e5a6c556e9b0d681c2bc81b7e5aa767a540deaaf18cb5c70b9585b07c171ee

See more details on using hashes here.

Provenance

File details

Details for the file dataflows_ckan-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: dataflows_ckan-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1016-azure

File hashes

Hashes for dataflows_ckan-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9367e753edda27f8f4ba6177d89f13c40b67651f3b8fdf734f5cd090996851aa
MD5 5faa4025a5cabadf53350aeae538e82a
BLAKE2b-256 de0c31747264c1ea4a5cb8032636698ef366771e743164aef2fe13814c75f636

See more details on using hashes here.

Provenance

Supported by

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