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.4.tar.gz
(1.3 kB
view hashes)
Built Distribution
Close
Hashes for list_flatten-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0ae4b7d1bb1f8f3f1d7556be855233b0a413fd91fd56a5bb58e4f72e0961c8 |
|
MD5 | 2eeb20c8691c881f751ae1a22170dd65 |
|
BLAKE2b-256 | 6b60db7fc8264b1897ddd2cfac2e872e1fbdf525f576ad7a7e0a56e954f5ddeb |