A simple python package to flatten a list of lists. Works for 2d and 3d lists.
Project description
list-flatten
list-flatten is a Python library used to flatten a list of lists. Works for 2d and 3d lists.
Installation
Use the package manager pip to install foobar.
pip install list-flatten
Usage
import list-flatten as flatten_list2darr
# returns 'words'
print(flatten_list2darr([[1,2], [3,4,5]]))
## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
list_flatten-0.1.2.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for list_flatten-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95dba982bfc8fe370815ded62eb9c11bad6c42b3b3f988bf64587c242e0d64b1 |
|
MD5 | 94672e6f4d7dd01bf3d3eb70f0bc1871 |
|
BLAKE2b-256 | 3acffb5b93b3010f7f384e57d97c49a9211c8ff7db7a213d4a6a9a2a243dd4fc |