FontMeta
==========
.. image:: https://badge.fury.io/py/fontmeta.svg
:target: https://badge.fury.io/py/fontmeta
An utility and library to get metadata from TTF/OTF fonts.
============
Installation
============
Via pip:
.. code:: bash
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.
.. code:: python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/codesigntheory/fontmeta",
"name": "fontmeta",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Font TTF OTF",
"author": "Utsob Roy",
"author_email": "roy@codesign.com.bd",
"download_url": "https://files.pythonhosted.org/packages/c5/a8/42dceed3349ddc49460412cc21d66b551bb9e2e63e8accddcae56128bbfe/fontmeta-1.6.1.tar.gz",
"platform": "",
"description": "FontMeta\n==========\n\n.. image:: https://badge.fury.io/py/fontmeta.svg\n :target: https://badge.fury.io/py/fontmeta\n\nAn utility and library to get metadata from TTF/OTF fonts.\n\n\n============\nInstallation\n============\nVia pip:\n\n.. code:: bash\n\n pip install fontmeta\n\n\n=====\nUsage\n=====\nSimply Instantiate a ``FontMeta`` object with font's file path. call ``instance.get_full_data()`` for full data and ``instance.get_data()`` for streamlined data.\n\n.. code:: python\n\n from fontmeta import FontMeta\n meta_instance = FontMeta('path_to_file')\n\n\nFunctions\n---------\n\n**get_full_data**\n *Arguments: None*\n Returns full Metadata.\n\n**get_data**\n *Arguments: None*\n Returns only streamlined field name and value in a dict.",
"bugtrack_url": null,
"license": "MPL 2.0",
"summary": "An Utility to get ttf/otf font metadata",
"version": "1.6.1",
"project_urls": {
"Homepage": "https://github.com/codesigntheory/fontmeta"
},
"split_keywords": [
"font",
"ttf",
"otf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5e2275885e81bfd88f5b860485e678889bf9b67998979a964be745eeee531c3e",
"md5": "a55e3b97de048664e56e2d7d4240fdef",
"sha256": "5469a7ed30a33ac73ca815f343623c50a0ca032a8ceae77dd55633cdd79fe802"
},
"downloads": -1,
"filename": "fontmeta-1.6.1-py3.6.egg",
"has_sig": false,
"md5_digest": "a55e3b97de048664e56e2d7d4240fdef",
"packagetype": "bdist_egg",
"python_version": "3.6",
"requires_python": null,
"size": 13740,
"upload_time": "2018-06-26T05:55:47",
"upload_time_iso_8601": "2018-06-26T05:55:47.747201Z",
"url": "https://files.pythonhosted.org/packages/5e/22/75885e81bfd88f5b860485e678889bf9b67998979a964be745eeee531c3e/fontmeta-1.6.1-py3.6.egg",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c5a842dceed3349ddc49460412cc21d66b551bb9e2e63e8accddcae56128bbfe",
"md5": "5b2d38fc9aa6e34e1dcdd4584c2c31a0",
"sha256": "837e5bc4da879394b41bda1428a8a480eb7c4e993799a93cfb582bab771a9c24"
},
"downloads": -1,
"filename": "fontmeta-1.6.1.tar.gz",
"has_sig": false,
"md5_digest": "5b2d38fc9aa6e34e1dcdd4584c2c31a0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6861,
"upload_time": "2018-06-26T05:55:49",
"upload_time_iso_8601": "2018-06-26T05:55:49.268966Z",
"url": "https://files.pythonhosted.org/packages/c5/a8/42dceed3349ddc49460412cc21d66b551bb9e2e63e8accddcae56128bbfe/fontmeta-1.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-06-26 05:55:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "codesigntheory",
"github_project": "fontmeta",
"github_not_found": true,
"lcname": "fontmeta"
}