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.
Metadata
Release files for knead 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| knead-0.2.0.tar.gz | 862.9 kB | Without provenance | Details for knead-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| knead-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for knead-0.2.0-py3-none-any.whl |
Total release size: 875.8 kB
Release files / knead-0.2.0.tar.gz
| Download URL | knead-0.2.0.tar.gz |
|---|---|
| Size | 862.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43d7efeed3c62ab42bd7afdd0542f0c6cde7136c9edd062b7ee320cbbcfbeda7
|
|
BLAKE2b-256 checksum How to use checksums |
71e542183193fc29d935af960f82445fcbacc56272351f89b6c8656d60d79f90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / knead-0.2.0-py3-none-any.whl
| Download URL | knead-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d7d695637efbe1c3dbe0dbb1233a1b45bb14291c444d777cf3d75115289e19b
|
|
BLAKE2b-256 checksum How to use checksums |
2396e58e423838d6dc54147847147b7c0862bcc81e25fd40a86681f82eda8f0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for knead 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.