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.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-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datasette-yaml-0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for datasette-yaml-0.1.tar.gz
Algorithm Hash digest
SHA256 76ec75ba8cd37e0de923b0cf6bf679b716071caf8590aed02fd048adf3a79c22
MD5 5109c17c74904f796620ef013425ad7c
BLAKE2b-256 cd53b0728e858de589f8dd3d99f55fe7117ab416bcc7041c8c1c93ea0eeff0e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datasette_yaml-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for datasette_yaml-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24163cdf1aa8fa5220f810ebff87297dae7935b2192a045060b4e97e23e1cc81
MD5 c3c1ca30cc6cad0da689da4e5a4c9c6b
BLAKE2b-256 80bdbd47db553a7f1e3202a28c54b076cc81a7ae8d39e45aef5e4a3e8ebeba74

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