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.3.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for list_flatten-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1bc40d0e57b72f78b0202aaaab300710abafff438be0d04cdced67e6838f29 |
|
MD5 | 9446fecf4d8694de0d491e5e750c11ed |
|
BLAKE2b-256 | 0a01f1e4f698d599f2be99832d895a10ea4cc7a140ea209e569e97788254f031 |