Skip to main content

easyfont

One line of code, your ideal font is ready — EasyFont.

Install

pip install easyfont

Usage

import easyfont
from easyfont import Lang, FontConfig
from easyfont import getfont


def main():
    print("Hello from easyfont!")
    print(easyfont.__version__)
    print(getfont()) # default font
    print(easyfont.getfont(lang=Lang.EN_US))  # one language
    print(getfont(lang=[Lang.EN_US, Lang.ZH_TW]))  # multiple languages

    cfg = FontConfig(lang=[Lang.EN_US, Lang.ZH_CN, Lang.ZH_TW])  # use FontConfig
    print(getfont(cfg=cfg))  # use FontConfig with multiple languages


if __name__ == "__main__":
    main()

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.post10.tar.gz (10.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easyfont-0.0.1.post10-py3-none-any.whl (10.9 MB view details)

Uploaded Python 3

File details

Details for the file easyfont-0.0.1.post10.tar.gz.

File metadata

  • Download URL: easyfont-0.0.1.post10.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.12

File hashes

Hashes for easyfont-0.0.1.post10.tar.gz
Algorithm Hash digest
SHA256 32ba9eb02f1c515ff94bba8642bce033acc29130c7362f741ba489163760ae69
MD5 4d61d64c821829f2991dfcd363ec04bd
BLAKE2b-256 5763b992c57b67400d8d9720ff19b85f29b2a315b2e245e04f0549417398a189

See more details on using hashes here.

File details

Details for the file easyfont-0.0.1.post10-py3-none-any.whl.

File metadata

File hashes

Hashes for easyfont-0.0.1.post10-py3-none-any.whl
Algorithm Hash digest
SHA256 b126d82a1d69115febc2e29250faae3b56a6e409e8d5d923274e4471aa101cd2
MD5 14c8efc0f439fff8fa57024c4d38e373
BLAKE2b-256 388d6aab4701bbc7cac28004e5ad387fc62e87a8f87753ccf061e907ad057730

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1.post10 This release

2 files

0.0.1.post9

2 files

0.0.1.post4

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page