Skip to main content

Data structure generator for the yamgl library (Yet Another Monochrome Graphics Library).

Project description

Author:

Ionut-Catalin Pavel

1 Introduction

1.1 What is yamgl_gen?

yamgl_gen is a generator used for producing compile time object data for the yamgl library.

1.2 How is yamgl_gen licensed?

BSD license.

1.3 Contact details

For reporting problems with yamgl_gen or submitting feature requests, please open an issue, or submit a pull request.

2 Installing

2.1 Prerequisites

  • yamgl_gen was tested on Python 3.6, on Windows. Compatibility with older version is not guaranteed.

  • yamgl_gen has the following dependencies:

2.2 Installation process

Installing yamgl_gen is very simple. Once you download and unzip the package, you just have to execute the standard python setup.py install. The setup script will then place the yamgl_gen module into site-packages in your Python’s installation library.

Alternatively, since yamgl_gen is listed in the Python Package Index (PyPI), you can install it using your favorite Python packaging/distribution tool, for example with:

> pip install yamgl_gen

3 Using

3.1 Usage rationale

yamgl_gen parses a given xlm file that must comply with the following schema , the xml file contains all the objects that generate data.

3.2 Usage scenario

A sample xml file is given inside the examples folder. The file contains generation instructions for some fonts and a image. The fonts and the image are not part of this release due to legal reasons.

The application will generate a pair of source files (a source and a header). The command line syntax is better detailed by running:

> python yamgl_gen --help

4 Package contents

Once you unzip the yamgl_gen package, you’ll see the following files and directories:

README.rst:

This README file.

LICENSE:

The yamgl_gen license

setup.py:

Installation script

examples/:

A directory with some examples of using yamgl_gen

yamgl_gen/:

The yamgl_gen module source code.

tests/:

Unit tests.

Project details


Download files

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

Source Distribution

yamgl_gen-0.0.4.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file yamgl_gen-0.0.4.tar.gz.

File metadata

  • Download URL: yamgl_gen-0.0.4.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yamgl_gen-0.0.4.tar.gz
Algorithm Hash digest
SHA256 4d125a5348c893bed0ddd647648fde7633fd3be67aa3f356e9991ced59a0da83
MD5 7cd66ee4c2090ab49f685a5672190ca2
BLAKE2b-256 a6763748346ca0af1379b1deb41fdf01a23f1dcb0fcdc795e4ae6e240111114b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page