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.post4.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.post4.tar.gz.
File metadata
- Download URL: easyfont-0.0.1.post4.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 |
bbd29cc85418e980b23cc93c7fef6e46eda220ee3c36b349b0192d6f6884fbcc
|
|
| MD5 |
04447bf6ef29d5dd95151447bd51c763
|
|
| BLAKE2b-256 |
d76afa4f3db003019b5b23027ae2c74907f89e81fdada800cdb266f1a3342cde
|
File details
Details for the file easyfont-0.0.1.post4-py3-none-any.whl.
File metadata
- Download URL: easyfont-0.0.1.post4-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 |
fe5f52dad9f45a9bcdbe0f93aaba4813b21d9daffeaa6b9753cd4686ffb1b309
|
|
| MD5 |
1d8db4052ada75ee8b27c0b70414355e
|
|
| BLAKE2b-256 |
ff6b186fe56710337f429ad480186fe2066a805d5ea7718dfe1831f5edf878a3
|