Skip to main content

Code snippet management tool

Project description

# sniptool by Richard Cook

Code snippet management tool

## Clone repository

` git clone https://github.com/rcook/sniptool.git `

## Set up Python virtual environment

` script/virtualenv `

## Run main script in virtual environment

` script/env sniptool version `

## Dev-install main script in virtual environment

` script\env pip install -e . `

This will allow edits to the scripts to be picked up automatically

## Build package

` script/env python setup.py build `

## Test package

` script/env python setup.py test `

## Upload package

` script/env python setup.py sdist upload `

## Install package into global site packages

` python setup.py install --record files.txt `

Note that this calls the python global Python instead of the Python in the project’s virtual environment.

## Licence

Released under [MIT License][licence]

[licence]: LICENSE

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

sniptool-0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file sniptool-0.2.tar.gz.

File metadata

  • Download URL: sniptool-0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sniptool-0.2.tar.gz
Algorithm Hash digest
SHA256 ab08f22adc0585de46362fdce1b66b49c82b145dafe0fc52e1ece01befee4736
MD5 396d4f67b1f7e4b2ca914432535510f9
BLAKE2b-256 cccfab890dce16c5b4a4739186ed0a854614bee8662ffd915bffc68ce8756919

See more details on using hashes here.

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