Skip to content

datasette/datasette-export-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 run the tests with uv:

cd datasette-export-database
uv run pytest

To try the plugin out (with the permission set for every user):

uv run datasette test.db --create -s permissions.export-database true

About

Export a copy of a mutable SQLite database on demand

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages