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.
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.1.4.zip
(345.2 kB
view hashes)
Built Distributions
mglg-0.1.4-cp38-cp38-win_amd64.whl
(237.7 kB
view hashes)
mglg-0.1.4-cp37-cp37m-win_amd64.whl
(235.6 kB
view hashes)
mglg-0.1.4-cp36-cp36m-win_amd64.whl
(231.0 kB
view hashes)
Close
Hashes for mglg-0.1.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f88832551785d2b0b750bb98bac29d84a8c29838bb5e62639b0d0ed7f52fb0d |
|
MD5 | 768b514b30646d72b29fe15d62b8463c |
|
BLAKE2b-256 | 88a742aaa14f23aeab2fbe92865652b272406e93f9bf54828cb6fdd0617bffbe |
Close
Hashes for mglg-0.1.4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185a591e6654a9b5c97ebe333db66c3a38ac0b656f7f4f6b6cdbc73e3f8ae842 |
|
MD5 | ffe80f5323f567ecc0de23009e15e756 |
|
BLAKE2b-256 | 62840321d63a6b9257bab93c2ce0265c2611ac226cc5701cbc6624300c0451c6 |
Close
Hashes for mglg-0.1.4-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695f91365fa02f76fca057b7118a11f81947f76c84e1dde329d814b9ecf35457 |
|
MD5 | 3e97b0a1d7ac2cee90861052d10e5c07 |
|
BLAKE2b-256 | 1fa65420ac0bf45b656959e4baf36e631f0585e035dae3950f2cd7c8194f20f6 |
Close
Hashes for mglg-0.1.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9394dd40742165489800951933c9794a11cc29a26db7ae196bc0b89de12963aa |
|
MD5 | e2d4795201e5ed0cf3d5ce195c9ad40e |
|
BLAKE2b-256 | bc9a06b07449a9f1df0802d20c721ba1f91c24492d48566d8f720ad089d5b677 |
Close
Hashes for mglg-0.1.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f643fb5219173c07bec106e0fe20ff59c8d7a50ca6ededa9813e4fea4d1fca4e |
|
MD5 | 4e36bc6e68f2d8aa4417fbea870312c4 |
|
BLAKE2b-256 | f4ecba6d8c7b9b0ec769219b094deea30c07565fe120fb41e3c94810f5d984b5 |
Close
Hashes for mglg-0.1.4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e202abc6123db2f41f7ffa8794febd5200940bac164f9ee86f509b2c540cb0ee |
|
MD5 | 8029d76ea8dce7b5a94c4c5033e38f2c |
|
BLAKE2b-256 | 371755e5a13ee50a9ee037f63ff9cc3abf6abebccb2277a06aa569b14654a1fb |
Close
Hashes for mglg-0.1.4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a29d3e956d3c63ec34313b988bbf4c8a201abb02cd8dc181ba0fe88741db77b |
|
MD5 | 94546bf68323d4b8ac4cc03c9ef713d5 |
|
BLAKE2b-256 | d47beb77e73545106230343c4b173f1ae40615bc9c4693c1ec68a4393b9c7da2 |
Close
Hashes for mglg-0.1.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53620084ad886b1c97bb4528a045e5e8a4deac479c052e51058d8f0a12d3e729 |
|
MD5 | 617aa36f722c364aabf75b780449b106 |
|
BLAKE2b-256 | d3ad70806cec75f9e1eaff6d3bd9c4f5b69c70555915707d9528ae0c7777cc4c |
Close
Hashes for mglg-0.1.4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7d6c72a00462b13aada6d19e942758f99e68eda08e02ba4c70ce0380208c36 |
|
MD5 | be0e9c1413ff7b2e6d21b8d16ce88e0d |
|
BLAKE2b-256 | 67775c21b802cfe0661c8c537a7aba3ad5c7d49b5987c3d0912517f99623ce7d |
Close
Hashes for mglg-0.1.4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a2f13b182fcf2f3b7559cfd383c18f19d40d06f8fdd0b3e493d8c70ee99df9 |
|
MD5 | b39312fb38319b5c7f0d8fd5a570c26a |
|
BLAKE2b-256 | 97d6d86386332468a221a3a0f3e3824b09128616a23f02460439889eb2c9fe5e |
Close
Hashes for mglg-0.1.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a25192b8f79d59ea235ab3c665ea83c11889c9b956c2e8473f8196451820e4 |
|
MD5 | dc6527989e762bd2399c438345c2bbf2 |
|
BLAKE2b-256 | 121e12ac6fdd9bb376b80bb6c21979ebf72583f3c98e796f121950b5f6bd45b8 |
Close
Hashes for mglg-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad576dbeed96fd9cc6a03b93e825170446fc0523416493bf4e8b7d6cccbb89d5 |
|
MD5 | 588305f59dfe2e842fccb5e11c176de4 |
|
BLAKE2b-256 | 463669fcd7c74257c8789a2196494867eae2e294f74ece65688affd808d67817 |