semvec/pypi-packages huggingface dataset:
theme-gallery-utils 0.3.1
Collection of helpful utilities for maintaining the theme gallery repository.
License: MIT license
Keywords: theme_gallery_utils

===================
Theme Gallery Utils
===================


.. image:: https://img.shields.io/pypi/v/theme_gallery_utils.svg
        :target: https://pypi.python.org/pypi/theme_gallery_utils


Theme Gallery Utils are a collection of helper utilities for maintaining the theme gallery repository.

**Configuration**

Define resolutions for themes in a configuration file. All settings are optional except default system and resolution. The specified paths are defaults.

Example config ~/.gallery_utils:

.. code-block:: yaml

    defaults:
        resolution: 16x9
        system: atari2600
    ignored_themes:
        - ComicBook_4-3_SE-Wheelart
        - ComicBook_SE-Wheelart
        - primo_light
        - crisp_light
    paths:
        bin: ~/bin
        emulationstation: ~/.emulationstation
        gallery: ~/projects/es-theme-gallery
        log_output: ~/.cache/gallery_utils
        output: ~/.local/share/gallery_utils
        themes: ~/.emulationstation/themes
    resolutions:
        16x9:
            height: 1080
            width: 1920
        4x3:
            height: 1080
            width: 1440
        small:
            height: 480
            width: 640
        vertical:
            height: 1920
            width: 1080
    theme_resolutions:
        art-book-4-3: 4x3
        ComicBook_4-3: 4x3
        art-book-pocket: small
        tft: small
        freeplay: small
        gbz35: small
        gbz35-dark: small
        minilumi: small
        pixel-tft: small
        simpler-turtlemini: small
        vertical_arcade: vertical
    theme_systems:
        neogeo_only: neogeo
        vertical_arcade: atari
        metro: c64

**Usage**

- *install* - install and configure emulationstation
- *opml* - create an opml of all theme github repositories
- *pull* - pull or clone all themes
- *capture* - automatically take screenshots of themes
- *compress* - compress all captured screenshots
- *compare* - generate a report of differences between screenshots and gallery, create histograms of differences between screenshots
- *table* - arrange the themes in a markdown table suitable for the wiki
- *images* - write a new images.list file