One line of code, your ideal font is ready — EasyFont.
Project description
easyfont
One line of code, your ideal font is ready — EasyFont.
Install
pip install easyfont
Usage
from easyfont import Lang, FontConfig
from easyfont import get_font
def main():
print("Hello from easyfont!")
print(get_font())
print(get_font(lang=Lang.EN_US))
print(get_font(lang=[Lang.EN_US, Lang.ZH_TW]))
print(get_font(lang=[Lang.EN_US, Lang.ZH_CN, Lang.ZH_TW]))
cfg= FontConfig(lang=Lang.EN_US)
print(get_font(cfg=cfg))
if __name__ == "__main__":
main()
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
easyfont-0.0.1.post9.tar.gz
(10.3 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easyfont-0.0.1.post9.tar.gz.
File metadata
- Download URL: easyfont-0.0.1.post9.tar.gz
- Upload date:
- Size: 10.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9f45619a2e7078725357da2db64928c406e4d9199d4c39f7e5f53d5f2ef54e1
|
|
| MD5 |
970fa8a0de4cc7db53e068c210a87fe1
|
|
| BLAKE2b-256 |
8a35e42b98a8f5c87c0af935f3b54503997b8ef675898160852ae0b26cb0a9b6
|
File details
Details for the file easyfont-0.0.1.post9-py3-none-any.whl.
File metadata
- Download URL: easyfont-0.0.1.post9-py3-none-any.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62545a5176b4c80731b483e7d81c17669e9933508d33d3bd231475ace0b5fa7b
|
|
| MD5 |
80379aa1dcdcad42289dd2c7256321c2
|
|
| BLAKE2b-256 |
02fbb84d0f62ea99dd0aa48ec78792ce3b7817f78fb6e4a67f168578c33ab03c
|