Skip to main content

No project description provided

Project description

Built-for-purpose, minimal 2D graphics library.

Working on documentation, but the file examples/jamboree.py is pretty comprehensive.

To pre-create the glyphs and atlas, there's a command line tool, e.g.:

python -m mglg.util.prebake_font examples\UbuntuMono-B.ttf fonts\

Which saves a pickled file (in this case, fonts\UbuntuMono-B.pklfont) that includes the atlas, glyphs, and other info to avoid touching the font file. Add --view to see the atlas.

freetype-py is required to generate pickled fonts or do on-the-fly font loading, and can be installed either via pip install freetype-py or pip install mglg[freetype].

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

mglg-0.2.13.zip (458.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mglg-0.2.13-cp38-cp38-win_amd64.whl (323.1 kB view details)

Uploaded CPython 3.8Windows x86-64

mglg-0.2.13-cp38-cp38-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

mglg-0.2.13-cp38-cp38-manylinux1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8

mglg-0.2.13-cp38-cp38-macosx_10_9_x86_64.whl (358.4 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

mglg-0.2.13-cp37-cp37m-win_amd64.whl (318.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

mglg-0.2.13-cp37-cp37m-manylinux2010_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

mglg-0.2.13-cp37-cp37m-manylinux1_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7m

mglg-0.2.13-cp37-cp37m-macosx_10_9_x86_64.whl (356.6 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

mglg-0.2.13-cp36-cp36m-win_amd64.whl (310.6 kB view details)

Uploaded CPython 3.6mWindows x86-64

mglg-0.2.13-cp36-cp36m-manylinux2010_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

mglg-0.2.13-cp36-cp36m-manylinux1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.6m

mglg-0.2.13-cp36-cp36m-macosx_10_9_x86_64.whl (351.0 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file mglg-0.2.13.zip.

File metadata

  • Download URL: mglg-0.2.13.zip
  • Upload date:
  • Size: 458.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13.zip
Algorithm Hash digest
SHA256 c6cc040756aaa3c90813e07048cd0fd22ad85a35ee55b0149f6128d27c98e7d2
MD5 91ffa40e1424d73b97ebc03fe3e9e457
BLAKE2b-256 4cece12a609eec041da061496ef34c45f1fb2005c61da678f2dfb991d79113c7

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 323.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9a34cc128229afb8492aa125127f0b4d8927cc33f3ca2d1de94778a161c15b2f
MD5 1faabd9baafde3c5fdb91ea2ccd439f9
BLAKE2b-256 5d690893c31b1bc24ecb7d62e4938c455d64b16e771391e06b2ee6557cdfcb74

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 54e3647dfb61f662756b90a069a498637e02fd6442a004da9e6ed58b6b148747
MD5 c9918781ec1b6042bb458bcfa17f3ac8
BLAKE2b-256 73d496ab7d8a41785e26b17adbbe9770790cea7bcf3eff603b894921ef7e7628

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 96cbc801ae8905960294eac57b43e0f1d6a75aabe59095dea23e1cacc1dd0348
MD5 b0d905638213431d5510a90e3459200b
BLAKE2b-256 b7b318cb575751470b90de62abb6c5d023061c04e4cc2460a46c5c9d7c17b168

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 358.4 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 866d5b084497fdb52f054d865c3e57c311fc8d0dd82be2683fe877b940fe9561
MD5 cf90bcc7e4f0d70727b7349709f2a1fe
BLAKE2b-256 53684142be9331c5ea5f235fd8f933f189f3a90166c665589afe1159561922d9

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 318.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6c79b033c09d287db8a9537f82602339d1458868731007f2a404b338b9d444e6
MD5 3c68c59fef0afce918ebe0574595a2d2
BLAKE2b-256 5b1ebc43e016f8b47fcc5d875b4f5ba9aadf38e615911a8243aed9d8323d169f

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 74949cc3d8c0f1319c22ccab854e837e2504998b87c437c7874437ddf6a05490
MD5 a2d9f0f54955b239a4d17aea2c8af4c5
BLAKE2b-256 37aaf0141ff5b9b321003cb756a67b4a062583a5034f06d1219b9e9bdb1060b3

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1254aa1c831eaee3bcd7b7b1d4d07a134768dda9078557c22541ea8a4b21aade
MD5 0d392f7f9c2e2a42228984ed4bd74bca
BLAKE2b-256 435da45e90c896bb1580354277d21322babffafd099bf0383b6344e083a664be

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 356.6 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b8cd9e6ec8472852a5c9a852d2a67b93bc9aafb9be6b77cce3b64b61ba016676
MD5 62730ff0f7dddb93274678c75711bf7a
BLAKE2b-256 b24ea88d334d56a92fe10f05c3b68a6ac438776cca902ab14fe9ab1784ddef4e

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 310.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3874dcc09ed89d837da9ce110d0f76d5a07e478ba6ef805cb393d6b14e0e6e5e
MD5 4c2cb715c11812b380bf53e6a85c4ba9
BLAKE2b-256 861ec9e92f042b9e234e02acec00aad9559b64b71b7049b60165d44154b7f408

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fb762b5ada720784a8f9e586790473130f8f22beb07d2aea75b96154aed35629
MD5 4ec90290e0c75a9df953885b04511346
BLAKE2b-256 be2ac8d0caa2ab2d45568626a6aaa7c419b57d005d5e11ca3b18905288d2cfbe

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 64291d53406e77c77e63e335d4cf40b5c9a12a32b8c1c52c54cf3ea9848e6cd3
MD5 1daf65141b29f88824bf9e9342d09a43
BLAKE2b-256 87ad7a05e8193034491c2f72a6025a5139139acf749837ca0441213065ee1380

See more details on using hashes here.

File details

Details for the file mglg-0.2.13-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mglg-0.2.13-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 351.0 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mglg-0.2.13-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e1fa2c5bec62d6ea16ce3247d2b065f774758d447ccc0d35f2e2c8dd8e7629ff
MD5 8a535b8bbd91f382a9ea6bee8442144a
BLAKE2b-256 7e7e767a2d9c253d2b32162973d111624d4856bcbd2f302e528e06ab062dacb5

See more details on using hashes here.

Supported by

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