Skip to main content

CKNEXT Data Package Creator

CKAN extension to use the fritioncless library

Table of Contents

Publish or Update Package to Pypi

  • Check the last version published on Pypi.
  • Update CHANGELOG.md file with a short review of what had been done.
  • Update setup.py file with the new version number.
  • Commit all the above changes with the new version number (one above that publish on Pypi). Example: git commit -am 'v0.1.1'.
  • Push the created commit to the online repository: Example: git push origin master.
  • Create a new tag with the new version number (same as used to commit last changes). Example: git tag v0.1.1 HEAD.
  • Push the new created tag to the online repository: Example: git push origin v0.1.1.
  • Publish on Pypi with make update-package.

Instalation

pip install ckanext-datapackage-creator

Configuration

Once installed, add the datapackage_creator plugin to the ckan.plugins configuration option in your INI file.

ckan.plugins = ... datapackage_creator

Datapackage Creator Configuration

Opening the file with vi editor

sudo vi /etc/ckan/default/datapackage_creator.json

The plugin allows you to configure which fields of the resource and package are mandatory and/or 'readonly', for this you just need to add a configuration in your INI file.

datapackage_creator = /path/to/datapackage_creator.json

We suggest that the file path would be /etc/ckan/default/datapackage_creator.json or in the same folder as ckan.ini file.

Configuration example file:

{
    "package": {
        "required": [],
        "readonly": []
    },
    "resource": {
        "required": [],
        "readonly": []
    },
    "token": ""
}

Mandatory possible package fields:

  • description
  • source
  • version
  • license
  • frequency
  • tags
  • author
  • author_email

Possible read-only package fields:

Nothing

Mandatory possible resource fields:

  • title
  • description
  • format
  • type
  • encoding
  • field.name (Column field)
  • field.title (Column field)
  • field.description (Column field)
  • field.format (Column field)

Possible read-only package fields:

  • format
  • type
  • encoding

Token

It is necessary to configure an administrator token so that the plugin can query private data

Entity Diagram

To generate the entity diagram it is necessary to install the library: graphviz.

On ubuntu: sudo apt-get install graphviz

Metadata

Release files for ckanext-datapackage-creator 0.0.60

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

Source distribution (sdist)

Source distribution for ckanext-datapackage-creator 0.0.60
File Size Uploaded
ckanext-datapackage-creator-0.0.60.tar.gz 3.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-datapackage-creator 0.0.60
File Interpreter ABI Platform
ckanext_datapackage_creator-0.0.60-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 MB

Release files / ckanext-datapackage-creator-0.0.60.tar.gz

Download URL ckanext-datapackage-creator-0.0.60.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
ddddf9dfdc3b224ffed6a687c8bd89b8dccc17da93c0653870dd9b157e8487bd
BLAKE2b-256 checksum
How to use checksums
acea0af8475ed1d59274eaa0526559b1436b029bf6173244be7b0854d1610d7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / ckanext_datapackage_creator-0.0.60-py3-none-any.whl

Download URL ckanext_datapackage_creator-0.0.60-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5251609306fd955fdc53fc51e950e5c01a9d820f5d7583c1be550b6956914016
BLAKE2b-256 checksum
How to use checksums
f3ef588e9c0f41c325a0b32a7d1df980764cea44c69c65b210177e46e22dc1ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.60 This release

2 release files

0.0.59

2 release files

0.0.58

2 release files

0.0.57

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.53

2 release files

0.0.52

2 release files

0.0.43

2 release files

0.0.42

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.37

2 release files

0.0.36

2 release files

0.0.35

2 release files

0.0.34

1 release file

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

3 release files

0.0.2

1 release file

0.0.1

1 release file

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