Skip to main content

Generate a blocklist.xml file from Kinto collections.

usage: kinto2xml [-h] [-s SERVER] [-a AUTH] [-b BUCKET] [-v] [-q] [-D]
                 [-o OUT]

Build a blocklists.xml file.

optional arguments:
  -h, --help            show this help message and exit
  -s SERVER, --server SERVER
                        The location of the remote server (with prefix)
  -a AUTH, --auth AUTH  BasicAuth token:my-secret
  -b BUCKET, --bucket BUCKET
                        Bucket name.
  -v, --verbose         Show all messages.
  -q, --quiet           Show only critical errors.
  -D, --debug           Show all messages, including debug messages.
  -o OUT, --out OUT     Output file.

CHANGELOG

This document describes changes between each past release.

0.1.0 (2016-04-27)

Initial version

  • Create collection with the definition of the JSON schema.

  • Fetch AMO blocklists information from the /blocked/blocklists.json AMO endpoint.

  • Handle import configuration on the CLI. - Bucket / Collection names - Remote AMO endpoint configuration - Schema file path configuration - Schema or not schema - Verbosity level - Server selection - Auth credentials - Importation type selection

  • Support for kinto-signer triggering

  • Full SSL support for Python 2.7

  • Full Python 2.7 and Python 3.4/3.5 support

  • Handle the enabled flag to activate records

  • Makefile rule to update the schema definition

  • Export kinto blocklists in XML blocklist file version 2

  • Export kinto blocklists in XML blocklist file version 3

  • XML verifier that create a diff of two XML files

Release files for kinto2xml 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kinto2xml 0.1.0
File Size Uploaded
kinto2xml-0.1.0.tar.gz 121.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kinto2xml 0.1.0
File Interpreter ABI Platform
kinto2xml-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 147.5 kB

Release files / kinto2xml-0.1.0.tar.gz

Download URL kinto2xml-0.1.0.tar.gz
Size 121.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6e0afa29b5e85d030c0666e7f8eca5bba64c804eb59b73fbe8086ef8ed24ba79
BLAKE2b-256 checksum
How to use checksums
1867b2cf9a85bfe56f9c6789037193302f71bb7671095befd12f0d2b166cefb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kinto2xml-0.1.0-py2.py3-none-any.whl

Download URL kinto2xml-0.1.0-py2.py3-none-any.whl
Size 25.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
792bfd447a631d765c1eeda234720866d392b2bbe27b6bc0589d5b82006c8cd8
BLAKE2b-256 checksum
How to use checksums
5caa84280e7f31675e014a135b308823162ec4b36f652ae1eac889bf0516058c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page