datasette-export-database


Namedatasette-export-database JSON
Version 0.2.1 PyPI version JSON
download
home_page
SummaryExport a copy of a SQLite database on demand
upload_time2024-03-16 00:50:50
maintainer
docs_urlNone
authorSimon Willison
requires_python>=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # datasette-export-database

[![PyPI](https://img.shields.io/pypi/v/datasette-export-database.svg)](https://pypi.org/project/datasette-export-database/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-export-database?include_prereleases&label=changelog)](https://github.com/datasette/datasette-export-database/releases)
[![Tests](https://github.com/datasette/datasette-export-database/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-export-database/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-export-database/blob/main/LICENSE)

Export a copy of a SQLite database on demand

## Installation

Install this plugin in the same environment as Datasette.
```bash
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:
```bash
cd datasette-export-database
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "datasette-export-database",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Simon Willison",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/69/6a/832569c014ce85a4f5db574cf4db94f84ebb02ef3aedaa4873ee036e3678/datasette-export-database-0.2.1.tar.gz",
    "platform": null,
    "description": "# datasette-export-database\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-export-database.svg)](https://pypi.org/project/datasette-export-database/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-export-database?include_prereleases&label=changelog)](https://github.com/datasette/datasette-export-database/releases)\n[![Tests](https://github.com/datasette/datasette-export-database/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-export-database/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-export-database/blob/main/LICENSE)\n\nExport a copy of a SQLite database on demand\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-export-database\n```\n## Usage\n\nUsers 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.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-export-database\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Export a copy of a SQLite database on demand",
    "version": "0.2.1",
    "project_urls": {
        "CI": "https://github.com/datasette/datasette-export-database/actions",
        "Changelog": "https://github.com/datasette/datasette-export-database/releases",
        "Homepage": "https://github.com/datasette/datasette-export-database",
        "Issues": "https://github.com/datasette/datasette-export-database/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a173309d21482048bfb963097a5ec5333eca1c18b7ba35b42222e058bedeff78",
                "md5": "799444446f6c748a5ec4943161980344",
                "sha256": "3c08093626727a457dd3dfad7a597bbb5df201ee123e5e8c67585e0a616d39ab"
            },
            "downloads": -1,
            "filename": "datasette_export_database-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "799444446f6c748a5ec4943161980344",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8432,
            "upload_time": "2024-03-16T00:50:48",
            "upload_time_iso_8601": "2024-03-16T00:50:48.625840Z",
            "url": "https://files.pythonhosted.org/packages/a1/73/309d21482048bfb963097a5ec5333eca1c18b7ba35b42222e058bedeff78/datasette_export_database-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "696a832569c014ce85a4f5db574cf4db94f84ebb02ef3aedaa4873ee036e3678",
                "md5": "9ac8f68f5b38b3d79d644432eb2496e0",
                "sha256": "270c19f59722fe550e662580b1b8800fe5aca324ec69a4fe6eeb3781ba810319"
            },
            "downloads": -1,
            "filename": "datasette-export-database-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9ac8f68f5b38b3d79d644432eb2496e0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9114,
            "upload_time": "2024-03-16T00:50:50",
            "upload_time_iso_8601": "2024-03-16T00:50:50.045291Z",
            "url": "https://files.pythonhosted.org/packages/69/6a/832569c014ce85a4f5db574cf4db94f84ebb02ef3aedaa4873ee036e3678/datasette-export-database-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-16 00:50:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "datasette",
    "github_project": "datasette-export-database",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "datasette-export-database"
}
        
Elapsed time: 0.20329s