kinto-wizard is a tool to configure a kinto server from an YAML file.
Project description
kinto-wizard
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.3.0 (2017-10-04)
Add --data and --records options to be able to dump objects data without dumping records. (#33)
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
Rémy Hubscher <rhubscher@mozilla.com>
Mathieu Leplatre <mathieu@mozilla.com>
Gabriela Surita <gabsurita@gmail.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kinto-wizard-2.3.0.tar.gz
.
File metadata
- Download URL: kinto-wizard-2.3.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9a4f856b50e53079cd728feb87787b3001b0cd3b3c0ff9981a1f196adf6f2d |
|
MD5 | 99741bee62320fbfedcc630480c1da06 |
|
BLAKE2b-256 | af7696bb3bf507530cc20a145402ca05aa60e90716bb0ccc603cc398a2fbd848 |
File details
Details for the file kinto_wizard-2.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: kinto_wizard-2.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83102fcff999b4914a2bd146114566634f34a99b963885054a123b0426612a9 |
|
MD5 | 2e330f6c321f3d82cbb53b23953d3e07 |
|
BLAKE2b-256 | 35fe73ceddc477a3f327d681bf75b5074c02ed726c933740dc4e2962d06b7c54 |