Skip to main content

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:

image

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 and font-line.

Installation

FoundryTools-CLI requires Python 3.9 or later.

Note for Windows users: installation on Python 3.11 and later may fail due to an error while building the wheel for the AFDKO dependency. This is a known issue and a workaround is to install Visual Studio 2022 (Community Edition is fine) and the Python development workload, selecting the Python native development tools optional component.

image

IMPORTANT: If you have Python 2.x installed in your system, you may have to use python3 (instead of python) in the commands below.

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

Credits

To Sergiev. May You rest in peace.

Project details


Download files

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

Source Distribution

foundrytools_cli-1.1.18.tar.gz (81.5 kB view details)

Uploaded Source

Built Distribution

foundrytools_cli-1.1.18-py3-none-any.whl (102.8 kB view details)

Uploaded Python 3

File details

Details for the file foundrytools_cli-1.1.18.tar.gz.

File metadata

  • Download URL: foundrytools_cli-1.1.18.tar.gz
  • Upload date:
  • Size: 81.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for foundrytools_cli-1.1.18.tar.gz
Algorithm Hash digest
SHA256 b2802bbe54585fec4e723a70f97a78ca7647b093ce41bed1a2e6f2f8281ec77e
MD5 82919094873ea42bcf7d511344d31122
BLAKE2b-256 d2ff774cd383c9b8e234039951b1310859a02ef3875d5e66e35b3a94960e7e33

See more details on using hashes here.

File details

Details for the file foundrytools_cli-1.1.18-py3-none-any.whl.

File metadata

File hashes

Hashes for foundrytools_cli-1.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 2357fab5543ac2ba186af2134ff75fb5c02b6553b20ecbf76c1e517941bdef47
MD5 be82f41c17ec81c0714344a6be40a343
BLAKE2b-256 65648216ee441b05471dbc770af49d080905efc47e1fe74ef0b8154a3c8e724b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page