{"id":19592615,"url":"https://github.com/source-foundry/font-size","last_synced_at":"2025-04-27T14:33:49.937Z","repository":{"id":57431832,"uuid":"367229585","full_name":"source-foundry/font-size","owner":"source-foundry","description":"Font file size and individual OpenType table size command line reporting tool","archived":false,"fork":false,"pushed_at":"2024-01-12T16:38:39.000Z","size":684,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T11:08:56.355Z","etag":null,"topics":["fonts","opentype","otf","size","ttf","typeface","woff","woff2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/source-foundry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-14T02:37:11.000Z","updated_at":"2023-07-10T13:26:18.000Z","dependencies_parsed_at":"2024-01-12T22:00:48.325Z","dependency_job_id":"9718995e-ea13-42fa-9f4c-a6f582bc2eb4","html_url":"https://github.com/source-foundry/font-size","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":"0.14035087719298245","last_synced_commit":"5eafb3b0c247e2f3bc86affacde40cb9939c7480"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Ffont-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Ffont-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Ffont-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/source-foundry%2Ffont-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/source-foundry","download_url":"https://codeload.github.com/source-foundry/font-size/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154797,"owners_count":21544560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fonts","opentype","otf","size","ttf","typeface","woff","woff2"],"created_at":"2024-11-11T08:36:21.095Z","updated_at":"2025-04-27T14:33:48.312Z","avatar_url":"https://github.com/source-foundry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# font-size\n\n[![PyPI](https://img.shields.io/pypi/v/font-size?color=blueviolet\u0026label=PyPI\u0026logo=python\u0026logoColor=white)](https://pypi.org/project/font-size/)\n[![GitHub license](https://img.shields.io/github/license/source-foundry/font-size?color=blue)](https://github.com/source-foundry/font-size/blob/master/LICENSE)\n[![Python CI](https://github.com/source-foundry/font-size/actions/workflows/py-ci.yml/badge.svg)](https://github.com/source-foundry/font-size/actions/workflows/py-ci.yml)\n[![Python Lints](https://github.com/source-foundry/font-size/actions/workflows/py-lint.yml/badge.svg)](https://github.com/source-foundry/font-size/actions/workflows/py-lint.yml)\n[![CodeQL](https://github.com/source-foundry/font-size/actions/workflows/codeql.yml/badge.svg)](https://github.com/source-foundry/font-size/actions/workflows/codeql.yml)\n\n## About\n\nfont-size is a Python 3.6+ command line executable tool that reports *.otf, *.ttf, *.woff, and *.woff2 file and individual OpenType table sizes in a clean tabular format.\n\n\u003cimg width=\"500\" alt=\"2021-05-14_12-52-13\" src=\"https://user-images.githubusercontent.com/4249591/118303390-644f5b00-b4b3-11eb-9489-58efa7f1c5f5.png\"\u003e\n\u003cimg width=\"500\" alt=\"2021-05-14_12-52-58\" src=\"https://user-images.githubusercontent.com/4249591/118303392-64e7f180-b4b3-11eb-995e-ef951287c314.png\"\u003e\n\n## Installation\n\n`font-size` requires a Python 3.6+ interpreter and runs on Linux distros, macOS, and Windows.\n\nInstallation in a [Python3 virtual environment](https://docs.python.org/3/library/venv.html) is recommended as dependencies are pinned to versions that are confirmed to work with this project.\n\nUse any of the following installation approaches:\n\n### pip install from PyPI\n\n```\n$ pip3 install font-size\n```\n\n### pip install from source\n\n```\n$ git clone https://github.com/source-foundry/font-size.git\n$ cd font-size\n$ pip3 install .\n```\n\n### Developer install from source\n\nThe following approach installs the project and associated optional developer dependencies so that source changes are available without the need for re-installation.\n\n```\n$ git clone https://github.com/source-foundry/font-size.git\n$ cd font-size\n$ pip3 install --ignore-installed -r requirements.txt -e \".[dev]\"\n```\n\n## Usage\n\n```\n$ font-size [FONT PATH 1] [FONT PATH 2] ... [FONT PATH ...]\n```\n\n## Issues\n\nPlease report issues on the [project issue tracker](https://github.com/source-foundry/font-size/issues).\n\n## Contributing\n\nContributions are welcome. A development dependency environment can be installed in editable mode with the developer installation documentation above.\n\nPlease use the standard Github pull request approach to propose source changes.\n\n### Source file linting\n\nPython source files are linted with `flake8`. See the Makefile `test-lint` target for details.\n\n\n### Testing\n\nThe project runs continuous integration testing on GitHub Actions runners with the `pytest` testing toolchain. Test modules are located in the `tests` directory of the repository.\n\nLocal testing by Python interpreter version can be performed with the following command executed from the root of the repository:\n\n```\n$ tox -e [PYTHON INTERPRETER VERSION]\n```\n\nPlease see the `tox` documentation for additional details.\n\n### Test coverage\n\nUnit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details.\n\n## Acknowledgments\n\n⚡ Powered by these fantastic free tools:\n\n- [fontTools Python library](https://github.com/fonttools/fonttools)\n- [rich Python library](https://github.com/willmcgugan/rich)\n\n## License\n\nCopyright 2021 Source Foundry Authors and Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-foundry%2Ffont-size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsource-foundry%2Ffont-size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsource-foundry%2Ffont-size/lists"}