Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

datasette-upgrade

PyPI Changelog Tests License

Upgrade Datasette instance configuration to handle new features

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-upgrade

Usage

The plugin currently provides one command, which will split an old style metadata.json or metadata.yml file - which contains both metadata and plugin configuration and permissions, into a Datasette 1.0+ metadata.yml file and a datasette.yml file.

datasette upgrade metadata-to-config metadata.json -m metadata.yml -c datasette.yml

This will leave metadata.json in place, but will write out metadata.yml and datasette.yml as two new files.

Development

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

cd datasette-upgrade
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-upgrade 0.1a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-upgrade 0.1a0
File Size Uploaded Provenance Actions
datasette-upgrade-0.1a0.tar.gz 7.3 kB Without provenance Details for datasette-upgrade-0.1a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-upgrade 0.1a0
File Interpreter ABI Platform Actions
datasette_upgrade-0.1a0-py3-none-any.whl Python 3 none any Details for datasette_upgrade-0.1a0-py3-none-any.whl

Total release size: 14.6 kB

Release files / datasette-upgrade-0.1a0.tar.gz

Download URL datasette-upgrade-0.1a0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d2e3a32164550928a58bccbf0b058b39a4a6e80bf7d3fb616a3213f60a65d3f0
BLAKE2b-256 checksum
How to use checksums
3e7b9ae415fd465718776dafe80cd900691da4bc275ca6a0984adda59cef0048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / datasette_upgrade-0.1a0-py3-none-any.whl

Download URL datasette_upgrade-0.1a0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f4085cc1d4d69a483c32895f386e9b817642c24495e03f401ab4a86ce409391
BLAKE2b-256 checksum
How to use checksums
f75096733ec36617f7ad242452b58d53bed7cf3972a3dc95840261dab4906218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for datasette-upgrade 0.1a0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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