Skip to content

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

License

Notifications You must be signed in to change notification settings

Glavin001/pistol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages