Metadata-Version: 2.1
Name: patricesorter
Version: 1.0.0
Summary: Add a short description here!
Home-page: https://github.com/pyscaffold/pyscaffold/
Author: PatriceJada
Author-email: patricemusoke@gmail.com
License: MIT
Project-URL: Documentation, https://pyscaffold.org/
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Description-Content-Type: text/x-rst; charset=UTF-8
License-File: LICENSE.txt
Requires-Dist: pytest
Requires-Dist: pytest-cov
Requires-Dist: importlib-metadata ; python_version < "3.8"
Provides-Extra: testing
Requires-Dist: setuptools ; extra == 'testing'
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: pytest-cov ; extra == 'testing'

.. image:: https://readthedocs.org/projects/patricesorter/badge/?version=latest
   :target: https://patricesorter.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status
.. image:: https://github.com/PatriceJada/patricesorter/actions/workflows/python-package.yml/badge.svg?branch=master
   :alt: Python Workflow
   :target: https://github.com/PatriceJada/patricesorter/actions/workflows/python-package.yml


=============
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


.. _pyscaffold-notes:

Note
====

This project has been set up using PyScaffold 4.2.1. For details and usage
information on PyScaffold see https://pyscaffold.org/.


