Git Product home page Git Product logo

click-base's Introduction

Click Base

This is a placeholder for a Click-based command-line program in Python. Used for coding portion of October PyYYC meetup.

To get going with this (steps expanded below):

  • prepare your checkout
  • create a virtualenv
  • install this project
  • run the tests

Prepare Your Checkout

Clone this repository to your machine and open a shell in the directory you cloned to. The simplest thing that can work is to open a terminal and do this:

git clone https://github.com/py-yyc/click-base
cd click-base

Create a Virtualenv

If you have virtualenv installed already, do this:

virtualenv venv
source venv/bin/activate
pip install --upgrade pip

Install This Project

Within an "activated" virtualenv (you did this in the last step if you're folowing along) install this project as "editable". This means that any changes you make to the code will be immediately available when running scripts, tests etc.

pip install --editable .

You should now be able to type "yycli" and see the default help display.

Run the Tests

We do test-driven development, so you need to be able to run the one "placeholder" test.

py.test -sv test

This should print out some diagnostic information showing that one test was run (and that it passed).

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.