GithubHelp home page GithubHelp logo

pip-pop's Introduction

pip-pop

image

image

Working with lots of requirements.txt files can be a bit annoying. Have no fear, pip-pop is here!

(work in progress)

Planned Commands

$ pip-diff [--fresh | --stale] <reqfile> <reqfile>

Generates a diff between two given requirements files. Lists either stale or fresh packages.

$ pip-grep <reqfile> <package>...

Takes a requirements file, and searches for the specified package (or packages) within it. Essential when working with included files.

Possible Future Commands

  • Install with blacklisting support (wsgiref, distribute, setuptools).

Development

To run the tests:

  1. pip install -r requirements.txt
  2. tox

Building artifact for buildpacks

We need to create a tarball that contains a distribution of this repo (as a tarball) along with docopt

  1. Create a tarball of the pip-pop code (python setup.py sdist)
  2. Download the latest artifact from buildpacks.cloudfoundry.org (wget https://buildpacks.cloudfoundry.org/dependencies/manual-binaries/pip-pop/pip-pop-0.1.3-fc106ef6.tar.gz)
  3. Extract the docopt tarball into the dist directory (tar xf pip-pop-0.1.3-fc106ef6.tar.gz -C dist docopt-0.6.2.tar.gz)
  4. Create a new tarball containing the new pip-pop tarball and the docopt tarball (tar czf pip-pop.tgz -C dist ./)
  5. Rename the file to include the version and the first 8 characters of it's sha256 (mv pip-pop.tgz pip-pop-0.1.4-$(shasum -a256 pip-pop.tgz | cut -c1-8).tar.gz)

pip-pop's People

Contributors

kennethreitz avatar mdelillo avatar djoyahoy avatar arjun024 avatar branliu0 avatar dangra avatar msabramo avatar thitch97 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.