An utility and library to get metadata from TTF/OTF fonts.
Installation
Via pip:
pip install fontmeta
Usage
Simply Instantiate a FontMeta object with font’s file path. call instance.get_full_data() for full data and instance.get_data() for streamlined data.
from fontmeta import FontMeta
meta_instance = FontMeta('path_to_file')
Functions
- get_full_data
Arguments: None Returns full Metadata.
- get_data
Arguments: None Returns only streamlined field name and value in a dict.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fontmeta-1.6.1.tar.gz
(6.9 kB
view details)
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
fontmeta-1.6.1-py3.6.egg
(13.7 kB
view details)
File details
Details for the file fontmeta-1.6.1.tar.gz.
File metadata
- Download URL: fontmeta-1.6.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
837e5bc4da879394b41bda1428a8a480eb7c4e993799a93cfb582bab771a9c24
|
|
| MD5 |
5b2d38fc9aa6e34e1dcdd4584c2c31a0
|
|
| BLAKE2b-256 |
c5a842dceed3349ddc49460412cc21d66b551bb9e2e63e8accddcae56128bbfe
|
File details
Details for the file fontmeta-1.6.1-py3.6.egg.
File metadata
- Download URL: fontmeta-1.6.1-py3.6.egg
- Upload date:
- Size: 13.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5469a7ed30a33ac73ca815f343623c50a0ca032a8ceae77dd55633cdd79fe802
|
|
| MD5 |
a55e3b97de048664e56e2d7d4240fdef
|
|
| BLAKE2b-256 |
5e2275885e81bfd88f5b860485e678889bf9b67998979a964be745eeee531c3e
|