Add a short description here!
Project description
patricesorter
Patricesorter is a sample Python packaging structure.
Installation
pip install -e .
or
pip install patricesorter
Usage
PS C: patricesorter> patricesorter -h usage: patricesorter [-h] [-v] [-q] [--nargs NARGS [NARGS ...]] {} ... positional arguments: {} sub command help optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -q, --quiet suppress output --nargs NARGS [NARGS ...]
Command Line
PS C:patricesorter> patricesorter --nargs 60 20 50 1 4 The ['60', '20', '50', '1', '4'] sorted to ['1', '20', '4', '50', '60'] , the first price is 1 last price 60
Interface
PS C: patricesorter> python Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import patricesorter as ps >>> ps.sort_prices(['60', '20', '50', '1', '4']) (['1', '20', '4', '50', '60'], (First 1, Last 60))
Using tox
tox -e docs # to build your documentation tox -e build # to build your package distribution tox -e publish # to test your project uploads correctly in test.pypi.org tox -e publish -- --repository pypi # to release your package to PyPI tox -av # to list all the tasks available
Note
This project has been set up using PyScaffold 4.2.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patricesorter-1.0.0.tar.gz
(19.6 kB
view hashes)
Built Distribution
Close
Hashes for patricesorter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffdd083747323602aea5a767eda34c27d82f9a514b372098f4b1d41aed17256c |
|
MD5 | 5e1d5dd1bbbd050761a0269bda078c37 |
|
BLAKE2b-256 | 611628cde89436967d1bdf15c14a9775ede13c80f882f9f24eebcfabff37fd98 |