Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generate a blocklists.xml file from the Kinto collections.

Project Description

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.


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 History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kinto2xml-0.1.0-py2.py3-none-any.whl (25.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Apr 27, 2016
kinto2xml-0.1.0.tar.gz (121.7 kB) Copy SHA256 Checksum SHA256 Source Apr 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting