Metadata-Version: 2.1
Name: pysuit
Version: 1.0.1
Summary: This package will resolve all small intigrities of python data structures(List,Tuple,Dictionary,Set) which are not provided by-default.
Home-page: https://github.com/deep-tw/py-suit.git
License: MIT
Keywords: py-suite,suite,python bugs,features,py-features
Author: Avinash Tiwari
Author-email: avinash@thoughtwin.com
Requires-Python: >=3.7.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Project-URL: Repository, https://github.com/deep-tw/py-suit.git
Description-Content-Type: text/markdown

# PySuit

[![Read the Docs](https://readthedocs.org/projects/py-suit/badge/?version=latest)](py-suit.rtfd.io/en/latest/) [![codecov](https://codecov.io/github/deep-tw/py-suit/branch/release/graph/badge.svg?token=WR57HD3UTR)](https://codecov.io/github/deep-tw/py-suit)
[![PyPI version](https://badge.fury.io/py/pysuit.svg)](https://badge.fury.io/py/pysuit)

A unified collection of python functions  eg dictsort,nested_iterator etc

#### Purpose of the Package
+ The purpose of the package is to provide a collection of fuction and module indices in one unified libary

#### Documentation
+ The official documentation is hosted on readthedocs.io: https://py-suit.readthedocs.io/en/latest/



### Features
+  Collection of PySuit
   -  DictCollection
   -  NestedCollections
   -  ExcludeRandom
   -  DataTypeCollection
+  Collection of DictCollection
   -  dictsort
   -  etc
+  Collection of NestedCollections
   -  nested_iterator
   -  etc
+  Collection of ExcludeRandom
   -  exclude_random
   -  etc
+  Collection of DataTypeCollection
   -  fake_random_datatype
   -  etc
### Getting Started
The package can be found on pypi hence you can install it using pip

#### Installation
```bash
pip install pysuit
```
### Usage
Using the short forms or abbreviated forms of indices

### DictCollection
```python
from pysuit import DictCollections

dict_collection = DictCollections()

dict_collection.dict_sort(dictionary , flag)

```

#### Examples of DictCollections
```python
from pysuit import DictCollections
```
```python
dict_collection = DictCollections()
```
```python
dict_collection.dict_sort({"b": 3, "a": 34, 67: "c", 1: 64} , keys)
```
```python
Sorted Dictionary is => {1: 64, 'a': 34, 'b': 3, 67: 'c'}
```
### NestedCollections
```python
from pysuit import NestedCollections

nested_collection = NestedCollections()

nested_collection.nested_iterator(nested_list)

```
#### Examples of NestedCollections
```python
from pysuit import NestedCollections
```
```python

nested_collection = NestedCollections()
```
```python
nested_collection.nested_iterator([[0, 4], [2, 3, 4], [0, 1, 2], [0, 1, 2, 3, 4], [0, 1, 2, 3, 4]])
```
```python
Converted list is => [0, 4, 2, 3, 4, 0, 1, 2, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4]
```
### ExcludeRandom
```python
from pysuit import ExcludeRandom

exclude_random = ExcludeRandom()

exclude_random.exclude_random(start, stop, [exclude numbers])

```
#### Examples of ExcludeRandom
```python
from pysuit import ExcludeRandom
```
```python
exclude_random = ExcludeRandom()
```
```python
exclude_random.exclude_random(1, 10, [4, 5, 9])
```
```python
Random number is => 8
```
### DataTypeCollection
```python
from pysuit import DataTypeCollection

data_collection = DataTypeCollection()

data_collection.fake_random_datatype(datatype, length of datatype)

```
#### Examples of DataTypeCollection
```python
from pysuit import DataTypeCollection
```
```python
data_collection = DataTypeCollection()
```
```python
data_collection.fake_random_datatype(list, 10)
```
```python
Fake random data is => [93, 91, 9163, -1967.88203, 3, 'thousand', -197247.03, 913, 983, 'thousand']
```

### Contribution
Contributions are welcome
Notice a bug let us know. Thanks


### Author
+ Main Maintainer: Avinash Tiwari
+ Team Thoughtwin

### License
+ MIT

