Skip to main content

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

Release files for dataflows-ckan 0.3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataflows-ckan 0.3.9
File Size Uploaded
dataflows_ckan-0.3.9.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataflows-ckan 0.3.9
File Interpreter ABI Platform
dataflows_ckan-0.3.9-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / dataflows_ckan-0.3.9.tar.gz

Download URL dataflows_ckan-0.3.9.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ca1f1233f2cc5e198bacd4c8246cc019c3eb4ac114e86271dfa326be5c3dffd4
BLAKE2b-256 checksum
How to use checksums
11d36e846210efd9ccce0586403846e09e4c3899c0995d3aeee4850b6f2e03a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

Release files / dataflows_ckan-0.3.9-py3-none-any.whl

Download URL dataflows_ckan-0.3.9-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f89c674c8679360b47f58a445aa1125968538ad5c561840c455a87370e69f0ec
BLAKE2b-256 checksum
How to use checksums
f13040d5c623c55c8d2bf2a362d06858d03ac292429a6a60094c9ee9ecacba68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

0.3.9 This release

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.5

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page