semvec/pypi-packages huggingface dataset:
allsort 0.1.0
A Python package for sorting dictionaries, lists, tuples, and sets.
License: MIT
Requires Python: >=3.6

# allsort

`allsort` is a Python utility for sorting various iterable types such as dictionaries, lists, tuples, and sets. It's lightweight, easy to use, and works with custom sorting criteria.

## Installation

Install with pip:

```bash
pip install allsort
```

## Usage

````
from allsort.allsort import sortit

# Sorting a list
nums = [3, 1, 4, 1, 5]
print(sortit(nums))  # [1, 1, 3, 4, 5]

# Sorting a dictionary by values
data = {'a': 3, 'b': 1, 'c': 2}
print(sortit(data, key=1))  # {'b': 1, 'c': 2, 'a': 3}

# Sorting a set
nums_set = {3, 1, 4, 1, 5}
print(sortit(nums_set))  # [1, 3, 4, 5]
````

## Features

1. Sorts lists, tuples, sets, and dictionaries.

2. Supports ascending and descending orders.

3. Allows custom sorting keys for flexibility.

Contributions
---
Contributions are welcome! Fork the repository and submit a pull request.
core-global 1.0.0
Add a short description here!
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/core_global.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/core_global
    .. image:: https://readthedocs.org/projects/core_global/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://core_global.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/core_global/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/core_global
    .. image:: https://img.shields.io/pypi/v/core_global.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/core_global/
    .. image:: https://img.shields.io/conda/vn/conda-forge/core_global.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/core_global
    .. image:: https://pepy.tech/badge/core_global/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/core_global
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/core_global

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

===========
core_global
===========


    Add a short description here!


A longer description of your project goes here...


.. _pyscaffold-notes:

Note
====

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