Skip to content

DavidLRowe/findafont

 
 

Repository files navigation

Find a Font Service

This project provides a micro service responder when passed language tag will return information on a possible font to use for the orthography for that language tag.

Usage

The service has the following endpoints available:

Endpoint Description
lang/langtag Returns a json object of the font for the langtag
status/ Returns a simple version as a JSON object
docs/ FastAPI OpenAPI base documentation (Swagger)
redoc/ Prettier OpenAPI base documentation (ReDoc)
openapi.json OpenAPI schema in JSON

Startup

The API is built on top of FastAPI and runs using uvicorn.

To run:

python3 lib/findafont/api.py

There are standalone testing programs in the test/ directory.

About

The Find A Font service code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.0%
  • Dockerfile 8.0%