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 any

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page