Giter VIP home page Giter VIP logo

pistol's Introduction

A Python package manager that shoots from the hip!

A python package utility to make packaging, sharing, installing, and managing libraries simpler.

Using Pip and requirements.txt has sufficed for python development thus far, though is lacking in comparison to tools such as Gem and NPM. For example, NPM allows a developer to distinguish between production and development dependancies. This functionality is not conveniently baked into Pip. Pistol is driven by a package.yaml file that contains a map of tags to lists of dependencies. Dependencies may then be installed using pistol install[=tag] [package].

Commands

init

Creates a basic pistol python package.

install

Installs a python package from PyPi.

`pistol install[=tag] [package] --save=[tag]``

Arguements

  • --save=[key]

Aliases

  • load

uninstall

Removes a Python package.

Aliases

  • unload
  • whip

publish

Upload a package to PyPi.

update

Look through packages for higher versions.

Aliases

  • reload

link

Similar to NPM link for linking development libraries.

Arguements

  • --user=[pypi_username]
  • --pass=[pypi_password]

search

Search PyPi for a package.

Aliases

  • scope

Installation

pip install pistol

package.yaml

The package.yaml is structured as follows.

name: pistol
version: 0.0.1
description: >
  A python package utility to make packaging, sharing, installing, and managing
  libraries simpler.
dependencies:

  common: # Here are common required dependancies.
    - pip
  develop:

  test:

pistol's People

Contributors

ddaws avatar

Watchers

 avatar  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.