Skip to main content

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)

Uploaded Source

Built Distribution

list_flatten-0.1.2-py3-none-any.whl (1.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page