Giter Club home page Giter Club logo

clickety's Introduction

PyCon2019 Click Tutorial

TravisCI build status Appveyor build status

PyCon 2019 Tutorial: Writing Command Line Applications that Click

Setup

Prerequisites

Installation

This repo is a Python package. You will create a virtualenv and install the package which will install its dependencies and make new commands available.

  • Open a terminal / command prompt.
  • Clone this repo:
    git clone https://github.com/tylerdave/PyCon2019-Click-Tutorial.git
    • If you'd like to save a remote copy of your changes, create a new empty repo at your source code hosting service of choice and add it as a git remote:
      git remote add personal $NEW_REPO_URL
  • cd to the root of the cloned repo:
    cd PyCon2019-Click-Tutorial
  • Create and activate a virtualenv using your favorite method and then install the package:
    • Recommended: using pipenv (installation instructions):
      • pipenv --python python3
      • pipenv install
      • On Mac/Linux:
        • pipenv shell
      • On Windows:
        • pipenv shell might give you a reduced feature shell. You should run commands with pipenv run $COMMAND instead like: pipenv run pycon verify instead of just pycon verify in the step below.
    • If using virtualenvwrapper:
      • mkvirtualenv --python python3 click-tutorial
      • workon click-tutorial
      • pip install -e .
    • Manually:
      • python3 -m venv env
      • On Mac/Linux: source env/bin/activate
      • On Windows: .\env\Scripts\activate
      • pip install -e .
  • Verify installation. One of the commands that's created by this package is pycon. You can use it to verify your setup was successful:
    pycon verify
  • Initialize tutorial. In the root of the repo, run tutorial init.

clickety's People

Contributors

tylerdave avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.