Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

An Utility to get ttf/otf font metadata

Project description

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.

Project details


Release history Release notifications

This version
History Node

1.6.0

History Node

1.4.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fontmeta-1.6.0-py3.6.egg (13.7 kB) Copy SHA256 hash SHA256 Egg 3.6 Feb 14, 2018
fontmeta-1.6.0.tar.gz (6.9 kB) Copy SHA256 hash SHA256 Source None Feb 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page