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.23.zip
(454.0 kB
view hashes)
Built Distributions
mglg-0.2.23-cp39-cp39-win_amd64.whl
(328.7 kB
view hashes)
mglg-0.2.23-cp38-cp38-win_amd64.whl
(328.6 kB
view hashes)
mglg-0.2.23-cp37-cp37m-win_amd64.whl
(323.7 kB
view hashes)
mglg-0.2.23-cp36-cp36m-win_amd64.whl
(316.7 kB
view hashes)
Close
Hashes for mglg-0.2.23-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b637113df78c56a5ac1b8ead1153be56f58f0a2682137955088527ec9ead7c62 |
|
MD5 | 353863060fb1257273e0ff0c91870941 |
|
BLAKE2b-256 | 06c9f40532d07c42f27bb40b53f98c303cba462b846ac0d327ef3eb60a3f74ed |
Close
Hashes for mglg-0.2.23-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53368c6b038ada07f70cb7e7aeff738f97f455639addc5d6f69dc933a53d7eb2 |
|
MD5 | 3d66a7c6bc6f9914ad2f72b5284a0fc8 |
|
BLAKE2b-256 | 0176b9badec6ec8b2a1745ae3c1e31a0a7783e718d94135cc60f2715b956c73e |
Close
Hashes for mglg-0.2.23-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c724533f51a62facb4956b26e107bf31af2fda1508e766b98887bf6420950d |
|
MD5 | fbaaa5360a8e30d0fb9e5520d5cbdb20 |
|
BLAKE2b-256 | acc51fe5f7f91cfcb822499a170a11e6708f1de96c1cd53d1c997bdc5bce5f6e |
Close
Hashes for mglg-0.2.23-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8842b230ed1e62a6431d93b8341d5e717ccf33d54d9d0bb263bf935c46d1904d |
|
MD5 | 78b9d69e278ddb6bf0fb18a19878a909 |
|
BLAKE2b-256 | 33e02193bc1878a9c47a62f2a410cff23ebe444fd48ae0e29a91e4d7327b6247 |
Close
Hashes for mglg-0.2.23-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d8e53880d7919409191c5a123f3de6c975274eff231006857feebe0efe9d68 |
|
MD5 | 80c857660ad71708bbc50679e68b2cba |
|
BLAKE2b-256 | ab3da93e19e098de73ca155d5b45a4c35303a5061683ee150b785d3ece8d8cac |
Close
Hashes for mglg-0.2.23-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c03085f1211b9b4f20abec7047abc5934a5000c546a8b608581a9660d94d98d5 |
|
MD5 | 759fb4269fba69318c2a730e651145c2 |
|
BLAKE2b-256 | 9862bc1a2a2baa802f60d5c823181f84e2e051190ef379964c2b4cffb7718ef9 |
Close
Hashes for mglg-0.2.23-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a57d632e039be2bffe3e64726b373d71ab85fb0cb5e7f15caeb2ded28192bd5 |
|
MD5 | 6f0d0c3c81f84a786390a3302fecb51c |
|
BLAKE2b-256 | 7dec67c79b80d7a452fcdcdd6d2076d33e1a904c49d75631f04f59922c35a50c |
Close
Hashes for mglg-0.2.23-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c234dbe866236fa824e326ba0bcebf879a8039730d6fd852d390c6385e76166 |
|
MD5 | 81dafd3e3a92d500ed14a9f0eec842b6 |
|
BLAKE2b-256 | a99f2f49c03a74fc5263d49d63971e16ed1513cabdbecc6872af51e09f5df266 |
Close
Hashes for mglg-0.2.23-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f385334105456435f6133d06413b66552b30a95177b0b7e9927ff0fe009a8ff6 |
|
MD5 | 133c3d48da18d8750782c73a93d4ffb7 |
|
BLAKE2b-256 | 013b61bb6ca38b07223d21a9de29f9fad368bc4340c128e481cf31b428de35c2 |
Close
Hashes for mglg-0.2.23-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2089fe2b8cbda0ebdcfaabf063a8a03a3e9ff2ea96fc63c1a9dd32869d249539 |
|
MD5 | 9500e38e6c14c8a2a3bf819fa8070939 |
|
BLAKE2b-256 | caf8fe41ee549ddbb04a02ce249ef5246e2626050b7eb260a520d45b2a41c299 |
Close
Hashes for mglg-0.2.23-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984a8db73b826633d52254ae5c3b1f93732b49f7ed3cb2f9375a6ca28c8c044a |
|
MD5 | 42c9bd8cc4cedaadcec9c020837dc34b |
|
BLAKE2b-256 | c1906736b5e8f7f26b60fc9e2fe771d68c99a7bb61dd7618453e4b89f0046eb4 |
Close
Hashes for mglg-0.2.23-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7861ae0debcbae5289ffbc13db68b8492d2376fcb4f3747522babd591a77f6d |
|
MD5 | ce35d23d68a0315e7c5551f12231f768 |
|
BLAKE2b-256 | 9bb7e099f5861b7d091ff6275ad9b1a2383fe56af5102f06a4df047c42ad1bb4 |
Close
Hashes for mglg-0.2.23-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d1a3c08638fdd38c032af176481583997f96f12ddd485c4730f56fccd2014c |
|
MD5 | 0302cf7582332aecedd954b4096f2218 |
|
BLAKE2b-256 | 5616f133abcc7516bcaf67f74addd69deec4b501c6803efa05b19403b8217cbf |
Close
Hashes for mglg-0.2.23-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17cdda26cbcff4a353e61ff6a6ed42fcb06d383d45f2dd59a985c98529237627 |
|
MD5 | 6053b55b7936863ad8819872de367ff9 |
|
BLAKE2b-256 | ad59b10a14fda71cb13a04d1b1037cd270da320283737c0385f7c3538e84ba49 |
Close
Hashes for mglg-0.2.23-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a41f7bf18494c1486abeb028092b981cc7c10207d32dcba62daddc20fdb8b4e |
|
MD5 | c491e52aaf084b983639c4de0ba194b1 |
|
BLAKE2b-256 | 0a577c2d2f9064b92a7a6b3ed3c95584f2ee421e396993308638c9db7d18d93d |
Close
Hashes for mglg-0.2.23-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e797906bf2d4a8f488a330782c61bd51edc33199e5b3765fa6fd9a3e81e8bb8a |
|
MD5 | c1c4d8b796a78a04bbb0c6ce111e6b44 |
|
BLAKE2b-256 | b5bef0e7fc15d071e6e76eca6e53d8c720e6a8d803625585865a6d47d703675d |