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].
Metadata
Release files for mglg 0.2.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mglg-0.2.23.zip | 454.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| mglg-0.2.23-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| mglg-0.2.23-cp39-cp39-manylinux2010_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-64 | Details |
| mglg-0.2.23-cp39-cp39-manylinux1_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.5+ x86-64 | Details |
| mglg-0.2.23-cp39-cp39-macosx_10_9_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.9+ x86-64 | Details |
| mglg-0.2.23-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| mglg-0.2.23-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details |
| mglg-0.2.23-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details |
| mglg-0.2.23-cp38-cp38-macosx_10_9_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.9+ x86-64 | Details |
| mglg-0.2.23-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| mglg-0.2.23-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| mglg-0.2.23-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| mglg-0.2.23-cp37-cp37m-macosx_10_9_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.9+ x86-64 | Details |
| mglg-0.2.23-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| mglg-0.2.23-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| mglg-0.2.23-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| mglg-0.2.23-cp36-cp36m-macosx_10_9_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.9+ x86-64 | Details |
Total release size: 6.4 MB
Release files / mglg-0.2.23.zip
| Download URL | mglg-0.2.23.zip |
|---|---|
| Size | 454.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b34b3441c5659328ff3af108718d0b4767f17f9f34eb6a1e71a4156db3cbca5b
|
|
BLAKE2b-256 checksum How to use checksums |
e6ae5bd1ff9733eda69cdfee5973219acfaee31a253ea8d7388e3da721f81986
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp39-cp39-win_amd64.whl
| Download URL | mglg-0.2.23-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 328.7 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b637113df78c56a5ac1b8ead1153be56f58f0a2682137955088527ec9ead7c62
|
|
BLAKE2b-256 checksum How to use checksums |
06c9f40532d07c42f27bb40b53f98c303cba462b846ac0d327ef3eb60a3f74ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | mglg-0.2.23-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 410.7 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
53368c6b038ada07f70cb7e7aeff738f97f455639addc5d6f69dc933a53d7eb2
|
|
BLAKE2b-256 checksum How to use checksums |
0176b9badec6ec8b2a1745ae3c1e31a0a7783e718d94135cc60f2715b956c73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp39-cp39-manylinux1_x86_64.whl
| Download URL | mglg-0.2.23-cp39-cp39-manylinux1_x86_64.whl |
|---|---|
| Size | 410.7 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2c724533f51a62facb4956b26e107bf31af2fda1508e766b98887bf6420950d
|
|
BLAKE2b-256 checksum How to use checksums |
acc51fe5f7f91cfcb822499a170a11e6708f1de96c1cd53d1c997bdc5bce5f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | mglg-0.2.23-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 356.5 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
8842b230ed1e62a6431d93b8341d5e717ccf33d54d9d0bb263bf935c46d1904d
|
|
BLAKE2b-256 checksum How to use checksums |
33e02193bc1878a9c47a62f2a410cff23ebe444fd48ae0e29a91e4d7327b6247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp38-cp38-win_amd64.whl
| Download URL | mglg-0.2.23-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 328.6 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c6d8e53880d7919409191c5a123f3de6c975274eff231006857feebe0efe9d68
|
|
BLAKE2b-256 checksum How to use checksums |
ab3da93e19e098de73ca155d5b45a4c35303a5061683ee150b785d3ece8d8cac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | mglg-0.2.23-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 411.4 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
c03085f1211b9b4f20abec7047abc5934a5000c546a8b608581a9660d94d98d5
|
|
BLAKE2b-256 checksum How to use checksums |
9862bc1a2a2baa802f60d5c823181f84e2e051190ef379964c2b4cffb7718ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp38-cp38-manylinux1_x86_64.whl
| Download URL | mglg-0.2.23-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 411.4 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2a57d632e039be2bffe3e64726b373d71ab85fb0cb5e7f15caeb2ded28192bd5
|
|
BLAKE2b-256 checksum How to use checksums |
7dec67c79b80d7a452fcdcdd6d2076d33e1a904c49d75631f04f59922c35a50c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | mglg-0.2.23-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 356.2 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2c234dbe866236fa824e326ba0bcebf879a8039730d6fd852d390c6385e76166
|
|
BLAKE2b-256 checksum How to use checksums |
a99f2f49c03a74fc5263d49d63971e16ed1513cabdbecc6872af51e09f5df266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp37-cp37m-win_amd64.whl
| Download URL | mglg-0.2.23-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 323.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f385334105456435f6133d06413b66552b30a95177b0b7e9927ff0fe009a8ff6
|
|
BLAKE2b-256 checksum How to use checksums |
013b61bb6ca38b07223d21a9de29f9fad368bc4340c128e481cf31b428de35c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | mglg-0.2.23-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 406.5 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2089fe2b8cbda0ebdcfaabf063a8a03a3e9ff2ea96fc63c1a9dd32869d249539
|
|
BLAKE2b-256 checksum How to use checksums |
caf8fe41ee549ddbb04a02ce249ef5246e2626050b7eb260a520d45b2a41c299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | mglg-0.2.23-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 406.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
984a8db73b826633d52254ae5c3b1f93732b49f7ed3cb2f9375a6ca28c8c044a
|
|
BLAKE2b-256 checksum How to use checksums |
c1906736b5e8f7f26b60fc9e2fe771d68c99a7bb61dd7618453e4b89f0046eb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | mglg-0.2.23-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 354.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
b7861ae0debcbae5289ffbc13db68b8492d2376fcb4f3747522babd591a77f6d
|
|
BLAKE2b-256 checksum How to use checksums |
9bb7e099f5861b7d091ff6275ad9b1a2383fe56af5102f06a4df047c42ad1bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp36-cp36m-win_amd64.whl
| Download URL | mglg-0.2.23-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 316.7 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f7d1a3c08638fdd38c032af176481583997f96f12ddd485c4730f56fccd2014c
|
|
BLAKE2b-256 checksum How to use checksums |
5616f133abcc7516bcaf67f74addd69deec4b501c6803efa05b19403b8217cbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | mglg-0.2.23-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 387.5 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
17cdda26cbcff4a353e61ff6a6ed42fcb06d383d45f2dd59a985c98529237627
|
|
BLAKE2b-256 checksum How to use checksums |
ad59b10a14fda71cb13a04d1b1037cd270da320283737c0385f7c3538e84ba49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | mglg-0.2.23-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 387.5 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2a41f7bf18494c1486abeb028092b981cc7c10207d32dcba62daddc20fdb8b4e
|
|
BLAKE2b-256 checksum How to use checksums |
0a577c2d2f9064b92a7a6b3ed3c95584f2ee421e396993308638c9db7d18d93d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|
Release files / mglg-0.2.23-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | mglg-0.2.23-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 348.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e797906bf2d4a8f488a330782c61bd51edc33199e5b3765fa6fd9a3e81e8bb8a
|
|
BLAKE2b-256 checksum How to use checksums |
b5bef0e7fc15d071e6e76eca6e53d8c720e6a8d803625585865a6d47d703675d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
|