A command line tool for preprocessing, manipulating and serializing font files for deep learning applications.
Project description
knead is a command line tool for preprocessing, manipulating and serializing
font files for deep learning applications.
Table of Contents
Installation
The latest release of knead can be installed from PyPI:
pip install knead
Usage
knead --input INPUT_FORMAT --output OUTPUT_FORMAT --directory PATH/TO/DATA/
-
The
--inputand--outputflags must be one of:ttf: a.ttffont file.ttx: a.ttxXML format of the font. For more details, refer to thefonttoolsdocumentation.json: a.jsonformat of the font.pb: a.pbserialized protobuf format of each glyph in each font.npy: a.npyformat of samples from quadratic Bezier curves in each glyph in each font.
-
The
--directorymust have the following structure:
data
└── ttf
├── Georgia.ttf
└── ...
Refer to our quickstart for
more information on how to use knead.
Documentation
Please refer to our full documentation.
Contributing
Contributions are always welcome! Please see our issue tracker for outstanding issues, code of conduct for community guidelines, and our contributing guide for details on how to make a contribution.
License
knead is licensed under the MIT
license.
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
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 knead-0.2.0.tar.gz.
File metadata
- Download URL: knead-0.2.0.tar.gz
- Upload date:
- Size: 862.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43d7efeed3c62ab42bd7afdd0542f0c6cde7136c9edd062b7ee320cbbcfbeda7
|
|
| MD5 |
2fc0a6bbc18082c1e5054c5c7a52b8d2
|
|
| BLAKE2b-256 |
71e542183193fc29d935af960f82445fcbacc56272351f89b6c8656d60d79f90
|
File details
Details for the file knead-0.2.0-py3-none-any.whl.
File metadata
- Download URL: knead-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d7d695637efbe1c3dbe0dbb1233a1b45bb14291c444d777cf3d75115289e19b
|
|
| MD5 |
6b4f4d83444dc0930d6510d88556f5fe
|
|
| BLAKE2b-256 |
2396e58e423838d6dc54147847147b7c0862bcc81e25fd40a86681f82eda8f0e
|