Skip to main content

UNKNOWN

Project description

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:

```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pistol-0.0.001.tar.gz (1.4 kB view hashes)

Uploaded Source

Built Distribution

pistol-0.0.001.macosx-10.9-intel.exe (64.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page