This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Classification of genres used in the Paylogic API.

The keys represent descriptive genre codes. Genres have hierarchy and some genres have a reference to a parent genre. There are also name translations provided for different language codes.

paylogic_genres.json:

{
    "SPORTS": {
        "ecc": "02",
        "name": {
            "fr": "Sports",
            "en": "Sports",
            "nl": "Sports",
            "pt": "Sports",
            "de": "Sports",
            "tr": "Sports",
            "es": "Sports"
        }
    },
    "SPORTS:RUGBY": {
        "ecc": "02.06",
        "name": {
            "fr": "Rugby",
            "en": "Rugby",
            "nl": "Rugby",
            "pt": "Rugby",
            "de": "Rugby",
            "tr": "Rugby",
            "es": "Rugby"
        },
        "parent": "SPORTS"
    },
    ...
}

Usage

You can include paylogic_genres.json to your project and lookup the genre names and traverse the hierarchy.

Python

Genre definitions can also be installed as python package. Django users can simply add it to INSTALLED_APPS and get names translation using gettext (Example: ugettext(“SPORTS:RUGBY”)).

The genres json file is parsed in python and also avalable for use.

Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

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
paylogic-genres-1.0.0.tar.gz (25.2 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2015

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