Skip to main content

Export Datasette records as YAML

Project description

datasette-yaml

PyPI Changelog Tests License

Export Datasette records as YAML

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-yaml

Usage

Having installed this plugin, every table and query will gain a new .yaml export link.

You can also construct these URLs directly: /dbname/tablename.yaml

Demo

The plugin is running on covid-19.datasettes.com - for example /covid/latest_ny_times_counties_with_populations.yaml

Development

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

cd datasette-yaml
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

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-yaml-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_yaml-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file datasette-yaml-0.1.1.tar.gz.

File metadata

  • Download URL: datasette-yaml-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for datasette-yaml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb42193ddf5d7df2a6e339f4f0900cd9b770b68b598fcb9aa25011a39ecb240a
MD5 5eeb740d2ec634d5dd97f718c68ebaf3
BLAKE2b-256 a60cf33b327dd9764c134200cfa13e8e925619c5f165d75f82736e01e2addbf7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datasette_yaml-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for datasette_yaml-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5d8fe64f08bbeb25e62c2a94021ce51737b24d3ab6b2620584a60fec14d2b65
MD5 fdda6a2722a859a7f9e26cf9b88ac53f
BLAKE2b-256 019c97082608c5a3fa7b4f72491cceeb9bb6cf890f0e03c8d5c9b719316b880f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page