How to Install Drafter

Thonny

Drafter can be installed through the Integrated Development Environment (IDE) Thonny in two ways:

  1. Through the Thonny package manager
    • Open the package manager through Tools -> Manage packages

    • Type in the search bar for “drafter”

    • Press “Find packages from PyPI”

    • Drafter should be loaded from the search. Press “Install”.

OR:

  1. Through the Thonny system shell
    • Open the Thonny system shell through Tools -> Open system shell

    • Type pip install drafter

To make sure that Drafter has been successfully installed, open a new Python (.py) file.

Type from drafter import *.

If this line of code runs without error, Drafter has been successfully installed!

Next:

Check out Drafter quick start Drafter Quick Start Guide.

Command Line

Drafter can also be installed straight from the command line through pip install drafter.

It can also be installed on a Python virtual environment.

Next:

Check out Drafter quick start Drafter Quick Start Guide.

Single File Script

Much like `Bottle`_, Drafter can be run from a single Python file. Just go download the file and place it in your project folder. TODO: Get the direct link or something

Next:

Check out Drafter quick start Drafter Quick Start Guide.