This repo contains the Click example that I'm using throughout my written tutorials. You can check out the different stages of the tutorial by checking out the corresponding branches. master
will always contain the latest, most complete version of the example.
You can easily get started with this example by cloning this repository and installing the dependencies. My recommendation would be to do that in a virtual environment. You can find out more on virtual environment in the official documentation for Python.
This example requires Python 3.6. That means you can use the built-in virtual environment module venv
that comes with Python 3.6.
Here's what the setup of this project looks like starting from scratch:
# Clone the Github repo
$ git clone git@github.com:elbaschid/click-example.git
# Change into the project directory
$ cd click-example
# Create a virtual environment with Python 3
$ python3 -m venv ./venv
# Activate the virtual environment
$ source ./venv/
# Install the required packages
(venv) $ pip install -r requirements.txt
I'm only human, which means I make mistakes. If you find anything that doesn't work or think you can phrase things clearer, feel free to open an issue. Or if you have the skills to fix it, fork the repo and open a pull request with your suggested changes.
I appreciate any constructive input 😍.
This project is licensed under the MIT license. Basically, you can do whatever you want with it 💖.