Skip to main content

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.

Metadata

Release files for paylogic-genres 1.0.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 paylogic-genres 1.0.0
File Size Uploaded Provenance Actions
paylogic-genres-1.0.0.tar.gz 25.2 kB Without provenance Details for paylogic-genres-1.0.0.tar.gz

Release files / paylogic-genres-1.0.0.tar.gz

Download URL paylogic-genres-1.0.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9b3865754a2dbb67baa2d56ac56c34bacae533bb9b0b1abd5597ff4aa0439ae5
BLAKE2b-256 checksum
How to use checksums
f9db0133b2919d691db1946d05b7130846dacc34e0938278db7bc919cc837dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for paylogic-genres 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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