pysortlib


Namepysortlib JSON
Version 0.6.0 PyPI version JSON
download
home_pagehttps://github.com/slimreaper35/pysortlib
SummaryPython Sorting Library
upload_time2024-10-29 15:25:50
maintainerNone
docs_urlNone
authorMichal Šoltis
requires_python<4.0,>=3.12
licenseMIT
keywords sorting algorithms data structures
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Sorting Library

[![PyPI](https://img.shields.io/pypi/v/pysortlib)](https://pypi.org/project/pysortlib)
[![Downloads](https://static.pepy.tech/badge/pysortlib)](https://pepy.tech/project/pysortlib)
[![Coverage](https://codecov.io/gh/slimreaper35/pysortlib/graph/badge.svg?token=S24DIT654W)](https://codecov.io/gh/slimreaper35/pysortlib)

Library of sorting algorithms with precise implementation and documentation.

## Algorithms

- Bubble sort
- Counting sort
- Cycle sort
- Heap sort
- Insert sort
- Merge sort
- Pancake sort
- Quick sort
- Radix sort
- Selection sort
- Shell sort
- Sleep sort

## Install

```bash
pip install pysortlib
```

## Usage

```python
from pysortlib import insert_sort

array = [3, 5, 2, 1, 7, 4, 6]
insert_sort(array)  # set a breakpoint and explore \o/
print(array)
```

## Development

### Virtual environment

```bash
pip install --user poetry
poetry config virtualenvs.in-project true
poety shell
poetry install
```

### Dependencies

```bash
poetry update
```

### Pre-commit

```bash
pre-commit clean
pre-commit install --hook-type pre-commit
```

## Testing

```bash
nox
```

### Coding standards

- ~~perfectionism~~
- [ruff](https://beta.ruff.rs/docs/) - static code analysis
- [mypy](https://mypy.readthedocs.io/en/stable/) - static type checking
- [pytest](https://docs.pytest.org/en/stable/) - unit tests

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/slimreaper35/pysortlib",
    "name": "pysortlib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.12",
    "maintainer_email": null,
    "keywords": "sorting, algorithms, data structures",
    "author": "Michal \u0160oltis",
    "author_email": "msoltis@redhat.com",
    "download_url": "https://files.pythonhosted.org/packages/31/3a/2917156a9e2dd7bf3738968a6acf0ae68b832547586aa01abdd13d04fb69/pysortlib-0.6.0.tar.gz",
    "platform": null,
    "description": "# Python Sorting Library\n\n[![PyPI](https://img.shields.io/pypi/v/pysortlib)](https://pypi.org/project/pysortlib)\n[![Downloads](https://static.pepy.tech/badge/pysortlib)](https://pepy.tech/project/pysortlib)\n[![Coverage](https://codecov.io/gh/slimreaper35/pysortlib/graph/badge.svg?token=S24DIT654W)](https://codecov.io/gh/slimreaper35/pysortlib)\n\nLibrary of sorting algorithms with precise implementation and documentation.\n\n## Algorithms\n\n- Bubble sort\n- Counting sort\n- Cycle sort\n- Heap sort\n- Insert sort\n- Merge sort\n- Pancake sort\n- Quick sort\n- Radix sort\n- Selection sort\n- Shell sort\n- Sleep sort\n\n## Install\n\n```bash\npip install pysortlib\n```\n\n## Usage\n\n```python\nfrom pysortlib import insert_sort\n\narray = [3, 5, 2, 1, 7, 4, 6]\ninsert_sort(array)  # set a breakpoint and explore \\o/\nprint(array)\n```\n\n## Development\n\n### Virtual environment\n\n```bash\npip install --user poetry\npoetry config virtualenvs.in-project true\npoety shell\npoetry install\n```\n\n### Dependencies\n\n```bash\npoetry update\n```\n\n### Pre-commit\n\n```bash\npre-commit clean\npre-commit install --hook-type pre-commit\n```\n\n## Testing\n\n```bash\nnox\n```\n\n### Coding standards\n\n- ~~perfectionism~~\n- [ruff](https://beta.ruff.rs/docs/) - static code analysis\n- [mypy](https://mypy.readthedocs.io/en/stable/) - static type checking\n- [pytest](https://docs.pytest.org/en/stable/) - unit tests\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Sorting Library",
    "version": "0.6.0",
    "project_urls": {
        "Homepage": "https://github.com/slimreaper35/pysortlib",
        "Repository": "https://github.com/slimreaper35/pysortlib"
    },
    "split_keywords": [
        "sorting",
        " algorithms",
        " data structures"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f340d1c843d2e45f65f98bc309b95bbedee648275a407fcd9e41c2ab9fd10277",
                "md5": "6d60080bb2b73a1dbef3fa079184288f",
                "sha256": "e84de94159f73b5c853887f486d24d6384fdd6b6c21be6e6293006671769ea27"
            },
            "downloads": -1,
            "filename": "pysortlib-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d60080bb2b73a1dbef3fa079184288f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.12",
            "size": 5834,
            "upload_time": "2024-10-29T15:25:49",
            "upload_time_iso_8601": "2024-10-29T15:25:49.610075Z",
            "url": "https://files.pythonhosted.org/packages/f3/40/d1c843d2e45f65f98bc309b95bbedee648275a407fcd9e41c2ab9fd10277/pysortlib-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "313a2917156a9e2dd7bf3738968a6acf0ae68b832547586aa01abdd13d04fb69",
                "md5": "fe669be78e23bf97994be4d3a55761a1",
                "sha256": "5f282c4c91f410ceed6f1be22de56a1a885ea3623fc35cefd7e727b1997ce005"
            },
            "downloads": -1,
            "filename": "pysortlib-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fe669be78e23bf97994be4d3a55761a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.12",
            "size": 5011,
            "upload_time": "2024-10-29T15:25:50",
            "upload_time_iso_8601": "2024-10-29T15:25:50.638077Z",
            "url": "https://files.pythonhosted.org/packages/31/3a/2917156a9e2dd7bf3738968a6acf0ae68b832547586aa01abdd13d04fb69/pysortlib-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-29 15:25:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "slimreaper35",
    "github_project": "pysortlib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pysortlib"
}
        
Elapsed time: 0.49643s