Skip to main content
Pre-release

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

datasette-remote-metadata

PyPI Changelog Tests License

Periodically refresh Datasette metadata from a remote URL

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-remote-metadata

Usage

Add the following to your metadata.json:

{
    "plugins": {
        "datasette-remote-metadata": {
            "url": "https://example.com/remote-metadata.yml"
        }
    }
}

The plugin will fetch the specified metadata from that URL at startup and combine it with any existing metadata. You can use a URL to either a JSON file or a YAML file.

It will periodically refresh that metadata - by default every 30 seconds, unless you specify an alternative "ttl" value in the plugin configuration.

Development

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

cd datasette-remote-metadata
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-remote-metadata 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-remote-metadata 0.1a0
File Size Uploaded Provenance Actions
datasette-remote-metadata-0.1a0.tar.gz 3.1 kB Without provenance Details for datasette-remote-metadata-0.1a0.tar.gz

Built distribution (wheel)

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

Total release size: 6.4 kB

Release files / datasette-remote-metadata-0.1a0.tar.gz

Download URL datasette-remote-metadata-0.1a0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
010d9c34cf34e9a8944a6ff6f358f057cb380799029a914b2f35abe64b2c359e
BLAKE2b-256 checksum
How to use checksums
ca70c986add50dfc199dadc22fecc4bb92e7a2bcef28687583daeb5d1111bb64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

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

Download URL datasette_remote_metadata-0.1a0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c12dba1935fd28f105ae9e0b037aa2479ce1267b06a89588390a729d1ecb564c
BLAKE2b-256 checksum
How to use checksums
6542f036e1b9ee9c8f1c595c62ebe8a25a239f736579c207c380bc77aa4ab53a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for datasette-remote-metadata 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.

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