Giter Club home page Giter Club logo

pbt's Introduction

pbt

https://travis-ci.org/pebete/pbt.svg?branch=master

Python build tool

what?

this tool plans to bring all the development tools from python into a single, comprehensive and coherent set of commands that will provide a default setup and workflow to make it easy to start, build, test, package and publish a python project.

all commands will be plugins, you can add and/or implement yours to suit your needs.

pbt will provide the default setup and workflow with sensible defaults, but the idea is that you can tweak every aspect if you need it.

Install pbt

To install pbt run the following commands:

$ git clone https://www.github.com/pebete/pbt
$ cd pbt
$ python3 setup.py install          # add sudo or --prefix at will

and that's all now you can start using pbt.

Basic usage

you can check the power of pbt with this commands

# makes a flask project from a template
$ pbt new flask

# install deps listed on project.pbt
$ cd myflaskapp
$ pbt install

# runs the flask app from the entry point in project.pbt
$ pbt run

# checks the code with flake8
$ pbt check

# run the tests
$ pbt test

# makes the setup.py file from project.pbt
$ pbt setup

testing

to run pbt core tests run from pbt base folder:

$ ./pbt.sh test

dependencies

  • yaml
  • cookicutter
  • xdg
  • flake8

resources

license

Apache

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.