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
Release history Release notifications | RSS feed
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.5.zip
(579.7 kB
view hashes)
Built Distributions
mglg-0.2.5-cp38-cp38-win_amd64.whl
(393.7 kB
view hashes)
mglg-0.2.5-cp37-cp37m-win_amd64.whl
(388.4 kB
view hashes)
mglg-0.2.5-cp36-cp36m-win_amd64.whl
(379.5 kB
view hashes)
Close
Hashes for mglg-0.2.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318bfb5bd2d02b0a8066a295ff750f80bf5b17a2894f224322474f77812dae39 |
|
MD5 | 83f91bf5f3cfd4c7d78b1e07e91658fb |
|
BLAKE2b-256 | edea590cc66468dbcaccf9bc6fc9e845af68d58a48ab3302f32bd7540f1a1ebc |
Close
Hashes for mglg-0.2.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de8fc3d92ec60ce04bc1fa1cb36e050f3cb2f890b26b8eea902cfa8634abf32 |
|
MD5 | 7fd2f80260df6332866b608ee7218f7e |
|
BLAKE2b-256 | e1779bb955d085263a32a315fd245e906092534465a1765442952f416efb8c12 |
Close
Hashes for mglg-0.2.5-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a40f3dc0dfb2d34583746dd7be8cdfe1873cbf18a575301302f75ecd5f0a8a4 |
|
MD5 | 565306b378c54f978b715986f9228512 |
|
BLAKE2b-256 | ef2c1001a4c5544d9b14bf49700f53891bc52502edd4054a5bf4656ffc70cd9b |
Close
Hashes for mglg-0.2.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7ca8b4fdeb8ff6e20e7a468e5a62c30ffe83c4e381ef5fe1a5720f0d4be101 |
|
MD5 | b702f7f1c07d4cca95ed111ef6b69556 |
|
BLAKE2b-256 | 815234b22a278ab166a2432c32748c9a90a989521e6a539a0aba31281a5241ab |
Close
Hashes for mglg-0.2.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d70f507b31bf990d8eaf8e91ac2fff39ae05ce26d21cc6a7abc834c0f2d1e1 |
|
MD5 | 6bd84c79b2e9a2610ade813ef84acbd7 |
|
BLAKE2b-256 | 0e6094e6d5e79515a6c7d3b617d95bc563d7104e9cdb965dd5bb6405f03cea7d |
Close
Hashes for mglg-0.2.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c17f368e06e9cfba5f0b1bfacf04e0f2bbc0ada4c2147fb4f8392c78d49e7a8 |
|
MD5 | 20503b80faeb5cb3cc29903b36e5a811 |
|
BLAKE2b-256 | 8a2a0a3d3c0dc9c46cb5b0de79555805f42e74c8a93f1be3d1727a49d816400b |
Close
Hashes for mglg-0.2.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89648b321b937e755b79d3c47de32aca93e683695b9507afbe26154942fd136f |
|
MD5 | 1418a80e82aa8b9b39cd1eaf85da1708 |
|
BLAKE2b-256 | e7c849f9ff99fbf675dd747644e4c6ceaaa8fa270d1f4b6022cedc2ac6e952c7 |
Close
Hashes for mglg-0.2.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9841591bc654f8470d57c0d173fa631d6ed12ab173eddc54393b4b11b2237aa1 |
|
MD5 | 3fe286bde761c10bdcf1d5987a24ecba |
|
BLAKE2b-256 | 12c0298ee6f01ad92596b6e4e39e4e6268af9bedd01d527ca4bc4bf31aaf043f |
Close
Hashes for mglg-0.2.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4d4c56ed36ee16a2bde3e6bcc7f3309491a5bdf1b63d98b3eb2954c4b1cee38 |
|
MD5 | 08042e8e8bb4c0a81414dab58d0afa23 |
|
BLAKE2b-256 | ca32a51182e9030a40bc93fa16b196ec1560682db9891c6326e9a748735c2ab6 |
Close
Hashes for mglg-0.2.5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcc7eee48ccf6ef6a419e858584b4190489ce8adee620fe7c9b32e3038820ef6 |
|
MD5 | 16ea1f68e0cb4953e4251a52478c3818 |
|
BLAKE2b-256 | e3e79d2559457cfed31f22c0312f92450dc1455fc7d68a2bc18eedeb9d960681 |
Close
Hashes for mglg-0.2.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6b01fff33a8e878c6caa39e0353c7cfc6c29cec0a852cf2b7b2230265878f3 |
|
MD5 | 7a3504f97020a7ab03d8c18b225d7e87 |
|
BLAKE2b-256 | 23047331d285e75551f4bb17794f2c470a2b60b6f955a0a01db23664e8a606e7 |
Close
Hashes for mglg-0.2.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba544b9f1966d9ac347bbda0aa5b2aac5deed751810a6b70cab2b58b2753c02 |
|
MD5 | 83d8ce4ad8a6c48a5110b3f69a0cbda7 |
|
BLAKE2b-256 | be7c1fcbfeccf6ef52e1bf16d0fe3910d835f27479e8c3ece675347131685f3c |