skip to navigation
skip to content

Not Logged In

pistol 0.0.001

pistol
======

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 `tag`s 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]

### uninstall

Removes a Python package.

### upload

Upload a package to PyPi.

#### Arguements

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

## Installation

`pip install pistol`

## Potential Aliases

- load
- whip
- shoot

## package.yaml

The `package.yaml` is structured as follows.

```yaml
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:

```  
File Type Py Version Uploaded on Size
pistol-0.0.001.macosx-10.9-intel.exe (md5) MS Windows installer any 2014-06-18 63KB
pistol-0.0.001.tar.gz (md5) Source 2014-06-18 1KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 33 downloads in the last week
  • 136 downloads in the last month