Giter Club home page Giter Club logo

homebrew-pypi-poet's Introduction

homebrew-pypi-poet

Build Status Code Health PyPI page MIT license

Invoked like poet foo for some package foo which is presently installed in sys.path, determines which packages foo and its dependents depend on, downloads them from pypi and computes their checksums, and spits out Homebrew resource stanzas.

poet -f foo will give you a complete Homebrew formula.

poet -s foo will write a resource stanza for a single package foo, which does not need to be installed, without considering its dependencies.

poet will use the versions of the packages that you presently have installed. If a package it wants to reference is not installed, the latest version on pypi will be downloaded and checksummed and its dependencies will not be considered.

The easiest way to use poet is to create a virtualenv, use pip or setuptools to install the target package and its dependencies in the virtualenv, and then pip install homebrew-pypi-poet and run poet inside the virtualenv.

Usage is like:

usage: poet [-h] [-V]
            [--single package [package ...] | --formula package |
             --resources package]
            [--also package]

Generate Homebrew resource stanzas for pypi packages and their dependencies.

optional arguments:
  -h, --help            show this help message and exit
  --single package [package ...], -s package [package ...]
                        Generate a resource stanza for one or more packages,
                        without considering dependencies.
  --formula package, -f package
                        Generate a complete formula for a pypi package with
                        its recursive pypi dependencies as resources.
  --also package, -a package
                        Specify an additional package that should be added to
                        the resource list with its recursive dependencies. May
                        not be used with --single. May be specified more than
                        once.
  --resources package, -r package
                        Generate resource stanzas for a package and its
                        recursive dependencies (default).
  -V, --version         show program's version number and exit

License

homebrew-pypi-poet is offered under the MIT license.

Contributors

homebrew-pypi-poet is maintained by Tim D. Smith. Robson Peixoto, Alessio Bogon, Julien Maupetit, and Zhiming Wang are thanked for their helpful contributions!

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.