Skip to main content

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


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)

Uploaded Source

Built Distribution

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

easyfont-0.0.1.post4-py3-none-any.whl (10.4 MB view details)

Uploaded Python 3

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

Hashes for easyfont-0.0.1.post4.tar.gz
Algorithm Hash digest
SHA256 bbd29cc85418e980b23cc93c7fef6e46eda220ee3c36b349b0192d6f6884fbcc
MD5 04447bf6ef29d5dd95151447bd51c763
BLAKE2b-256 d76afa4f3db003019b5b23027ae2c74907f89e81fdada800cdb266f1a3342cde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easyfont-0.0.1.post4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe5f52dad9f45a9bcdbe0f93aaba4813b21d9daffeaa6b9753cd4686ffb1b309
MD5 1d8db4052ada75ee8b27c0b70414355e
BLAKE2b-256 ff6b186fe56710337f429ad480186fe2066a805d5ea7718dfe1831f5edf878a3

See more details on using hashes here.

Supported by

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