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.2.0 (2017-09-01)

New features

  • Use asyncio to add parallelism to the load command (#18).

2.1.0 (2017-06-28)

New features

  • Add logger configuration for kinto-http.py (#26)

  • Add an option to force the update with a CLIENT_WINS strategy (#28)

  • Add an option to select the bucket or collection to export (#30)

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.2.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

kinto_wizard-2.2.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: kinto-wizard-2.2.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kinto-wizard-2.2.0.tar.gz
Algorithm Hash digest
SHA256 59aecbd696c3c6edc8c863eecf80366f62d996c27b8fd2ebaba0599637a8cd73
MD5 2765463467d6b425d946a407b0e4ea00
BLAKE2b-256 a4efab8f7dd50f52f9005e2fc80f0872aab136115467c5b363b9e18570a5185a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kinto_wizard-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e856daccd673ebcf61682952b084f2b952dba3be9d5200ee5749a4cc35d9f67e
MD5 e777fc5b28c837e6a9a96692251d2da8
BLAKE2b-256 cd04b2317d1f04e0c65c4a49a45121ad3c16544d1a7092b8ea9180be941953eb

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