Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Making it easy to download fonts.

Project description

dafontdownloader

A python script to download fonts directly from dafont site.

Install

First way

To avoid using sudo, installation requires these steps:

  1. Use pip to install the package with all dependencies required:
  • pip install dafontdownloader --user
  1. Use export to persistent use of dafontdownloader script:
  • echo "export PATH=${PATH}:"$HOME"/.local/bin" >> "$HOME"/.bashrc
  1. Use source to start using script in command line:
  • source .bashrc

Second Way

  1. Download this repository, or use git clone https://github.com/resilientcod/dafontdownloader.git

  2. Open repository directory.

  3. Use python3 setup.py install

  4. Follow the steps 2 and 3, to persistent use of dafontdownloader script.

Third Way (with sudo)

Attention: use at your own risk!

sudo pip install dafontdownloader

This allow install in bin directory, making it unnecessary to use steps 2 and 3 in the first way.

Usage

After installation, type dafontdownloader in the terminal to verify that everything is correct, as in the image: print1

Then use: dafontdownloader <name-font> to download and install fonts from dafont site.

Example:

dafontdownloader Nemesis Grant

Attention: Make sure you type the name correctly!

More info

The fonts are installed in the user's local .fonts directory

Enjoy!

Project details


Release history Release notifications

This version

0.2.2

Download files

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

Files for dafontdownloader, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size dafontdownloader-0.2.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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