Skip to main content

Export a copy of a SQLite database on demand

Project description

datasette-export-database

PyPI Changelog Tests License

Export a copy of a SQLite database on demand

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-export-database

Usage

Users with the export-database permission will be able to download a fresh snapshot of any on-disk (not in-memory) database using a new option in the database action menu.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-export-database
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

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

datasette-export-database-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file datasette-export-database-0.1.1.tar.gz.

File metadata

File hashes

Hashes for datasette-export-database-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4805eb82c55a9d0378c04ec096e2f74d6a418a6546023b223af02d0ea9da5b82
MD5 f0f289886dd4bbb9f69ed315c8c58002
BLAKE2b-256 b8ac6ce09637ca0f8cb396f5db59894a614246945a1843a6374903cebbd6c690

See more details on using hashes here.

File details

Details for the file datasette_export_database-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_export_database-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff37b63c7c2f517fe8a9947ba9483c05e931823950de58928bedafcef090618c
MD5 313b81283734401faa46e21c4e5feca1
BLAKE2b-256 edbbd49e5ef253b64dc313ac6f6ee05916aed3d118ef7b72279e12c2a463b7d7

See more details on using hashes here.

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