Skip to main content

datapackage-to-datasette

Run tests codecov PyPI Version License Python Compatibility Code style: black

Import Frictionless Data Datapackages into SQLite and generate Datasette metadata.

Setup

pip install datapackage-to-datasette

Usage

On the console

Import a datapackage from a local file

datapackage-to-datasette mydatabase.db /path/to/datapackage.json metadata.json

or from a URL

datapackage-to-datasette mydatabase.db https://pkgstore.datahub.io/core/co2-ppm/10/datapackage.json metadata.json

If the datasette metadata file already exists, you can pass --write-mode replace or --write-mode merge to overwrite or merge with the existing datasette metadata file.

As a library

from datapackage_to_datasette import datapackage_to_datasette, DataImportError

try:
    datapackage_to_datasette(
        'mydatabase.db',
        '/path/to/datapackage.json',
        'metadata.json',
        write_mode='replace'
    )
except DataImportError:
    raise

Metadata

Release files for datapackage-to-datasette 0.5.0

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

Source distribution (sdist)

Source distribution for datapackage-to-datasette 0.5.0
File Size Uploaded
datapackage_to_datasette-0.5.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datapackage-to-datasette 0.5.0
File Interpreter ABI Platform
datapackage_to_datasette-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / datapackage_to_datasette-0.5.0.tar.gz

Download URL datapackage_to_datasette-0.5.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1bcb70c26d6d5058b7f07d576c504d8e78af95a30ef02049c18140d618970503
BLAKE2b-256 checksum
How to use checksums
4eae433440b44c8f6bdd4a26b97ba2d72f5f712b5e9b4954a8e652f998ff6b16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / datapackage_to_datasette-0.5.0-py3-none-any.whl

Download URL datapackage_to_datasette-0.5.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf0a2bb37318ccbcdb2a7a9a9f71b5098756590faf5fee89e9c0f4bc48a69a64
BLAKE2b-256 checksum
How to use checksums
225016a86c90581495dbaa5da1b73fb2c16be7222eac9db94a92327052c36d77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.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