A set of command line tools to inspect, manipulate and convert font files
Project description
FoundryTools-CLI
FoundryTools-CLI, former known as ftCLI, is a collection of command line tools written in Python to inspect, manipulate and convert fonts. It takes advantage of the capabilities made available by other tools such as:
The command line interface is built with click and tables are rendered by rich.
Even if not directly imported to keep the footprint as small as possible, portions of code have been copied from fontbakery.
Installation
FoundryTools-CLI requires Python 3.9 or later.
Note for Windows users: installation on Python 3.11 is strongly discouraged because AFDKO 3.9.6 doesn't support it, and an attempt of installation would probably fail. Since macOS users successfully installed FoundryTools-CLI on Python 3.11, requirements have been loosened up.
pip
FoundryTools-CLI releases are available on the Python Package Index (PyPI), so it can be installed with pip:
python -m pip install foundrytools-cli
Editable mode
If you would like to contribute to the development, you can clone the repository from GitHub, install the package in 'editable' mode and modify the source code in place. We strongly recommend using a virtual environment.
# clone the repository:
git clone https://github.com/ftCLI/foundrytools-cli.git
cd foundrytools-cli
# create new virtual environment named e.g. ftcli-venv, or whatever you prefer:
python -m venv ftcli-venv
# to activate the virtual environmtnet in macOS and Linux, do:
. ftcli-venv/bin/activate
# to activate the virtual environment in Windows, do:
ftcli-venv\Scripts\activate.bat
# install in 'editable' mode
python -m pip install -e .
Documentation
FoundryTools-CLI is a Terminal app where commands are logically organized into subcommands.
Please refer to the user documentation.
License
FoundryTools-CLI is available under the MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for foundrytools_cli-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e598e56525de931a008c5bd117eba8a4bff8f3d33ff8f7a2d79ddb48796a4d7a |
|
MD5 | 8c0848060c19ff0dad4a205284b837b0 |
|
BLAKE2b-256 | f43aaace3915c01847fa5aac81d4c640dcb68dc3bf2262cefc6361aa45c8b641 |