Skip to main content

Import Frictionless Data Datapackages into SQLite and generate Datasette metadata

Project description


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

Import Frictionless Data Datapackages into SQLite and generate Datasette metadata.


pip install datapackage-to-datasette


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

except DataImportError:

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

datapackage-to-datasette-0.2.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

datapackage_to_datasette-0.2.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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