Metadata-Version: 2.1
Name: flatway
Version: 1.0.0
Summary: Python package for flatting of list or tuple.
Home-page: https://github.com/Paiman-Rasoli/flatway
Author: Paiman Rasoli
Author-email: paimanrasoli789@gmail.com
License: MIT
Project-URL: Source, https://github.com/Paiman-Rasoli/flatway
Description: # Flatway
        
        Easily flat the lists and tuples in your python project.
        
        ## How to use?
        
        - install package using `pip install flatway`
        - import package in your project.
        
        ```python
        from flatway.flatten import flatten
        
        myList = [1,2,3,[4,5,6,[7,8,9,[10,11]]]]
        depth = 3 # default to 1
        
        flatList = flatten(myList , depth)
        # [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
        
        myTuple = (1,2,3,(4,5,6,(7,8,9,(10,11))))
        flatTuple = flatten(myTuple, depth)
        # (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
        
        deepOne = flatten(myList)
        # [1, 2, 3, 4, 5, 6, [7, 8, 9, [10, 11]]]
        
        ```
        
Keywords: flat,flatten,flat list,flat tuple,flatway
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
