Skip to main content

kinto-wizard is a tool to configure a kinto server from an YAML file.

Project description

kinto-wizard

pypi ci coverage

kinto-wizard is a tool that lets you setup an entire Kinto server from a Yaml file, or inspect an existing server and output a Yaml file.

You can define Kinto objects (bucket, collection, groups, records) and configure their attributes and permissions.

Read more information about the file structure

Installation

The last release

pip install kinto-wizard

The development version

After having cloned the repo:

pip install -e .

How to use it?

Load

kinto-wizard load \
    --server https://kinto-writer.stage.mozaws.net/v1 \
    --auth admin:credentials \
    new-config.yml

Dump

kinto-wizard dump \
    --server https://kinto-writer.stage.mozaws.net/v1 \
    --auth admin:credentials \
    > current-config.yml

The dump also accepts a --full option that will output object data and collection records.

Changelog

This document describes changes between each past release.

2.0.0 (2017-05-22)

Breaking changes

  • Upgrade to kinto-http 8.0.0 with Python 3.5+ support.

  • The --full option of the dump command now outputs records (#16)

New features

  • The load command now supports records (#16)

1.0.0 (2016-11-22)

Initial version

  • Supports dumping/loading groups and permissions from/to a YAML file.

Contributors

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

kinto-wizard-2.0.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

kinto_wizard-2.0.0-py2.py3-none-any.whl (9.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file kinto-wizard-2.0.0.tar.gz.

File metadata

File hashes

Hashes for kinto-wizard-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ccc67394699eb959ad4d60c98ef59fdf8ad23e5ce26de6b2b1ae2aafd4bb6012
MD5 f61b4d56d048e6d8ddb4ba4b9feb2d09
BLAKE2b-256 b4c386a7b71bb0a2a20e4c86bc54dc1f088caf6c6384baf27aa2a52dadaee132

See more details on using hashes here.

File details

Details for the file kinto_wizard-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for kinto_wizard-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c70c71083e8ed54a97ec09d462f884586ce11b13ee555b030e4f7b550ee47595
MD5 e4636b061625e965d47613fd997498e8
BLAKE2b-256 2866f9bd566e1c52a492d270f8d2769d578b53be0f86b49619d14bf3fb4a3e68

See more details on using hashes here.

Supported by

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