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

Release files for datapackage-to-datasette 0.4.1

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.4.1
File Size Uploaded
datapackage_to_datasette-0.4.1.tar.gz 3.3 kB Details

Built distribution (wheel)

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

Total release size: 8.2 kB

Release files / datapackage_to_datasette-0.4.1.tar.gz

Download URL datapackage_to_datasette-0.4.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c0c6f5024acabc40b4de03108d6fba161bc3265ed812ffa3727b81733773f5ec
BLAKE2b-256 checksum
How to use checksums
2d072964395f8067ee753c8a4885ebdf12a632cc7c90aa3558818d20f27f4b30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 22, 2025.

Transparency log

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

Download URL datapackage_to_datasette-0.4.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f37758c336b4ffee4cbef96b4f8199510d006e3cf1e971b4c9932c542c7c0632
BLAKE2b-256 checksum
How to use checksums
8482d04646c67ef1129d1c13db9f0e753af17ed3290892b30d2c7f9f2267d274
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 22, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

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