Flatten lists of lists.
Project description
Flatten lists of lists:
>>> import flattener >>> flattener.flatten([1, 2, [3, [4], 5]]) [1, 2, 3, 4, 5]
Documentation
Full documentation, including installation and setup guides, can be found at http://flattener.readthedocs.org/en/latest/
Copyright and license
Copyright (c) 2016 Martin Pengelly-Phillips
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE.txt file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Flattener-0.1.2.zip
.
File metadata
- Download URL: Flattener-0.1.2.zip
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2099beda54954957a07e025b76cf359e89194e0d513de4f425f05518ad13b53e |
|
MD5 | b7c534f6718fac277b7bc94b79df90fc |
|
BLAKE2b-256 | 83a366a3089d650d19677c2571ae0c02cf4ddcb569c017c44a80e4ccde5790b4 |
File details
Details for the file Flattener-0.1.2-py2-none-any.whl
.
File metadata
- Download URL: Flattener-0.1.2-py2-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2de0e13e07b9cd281d96c260a96970c5d94312735d2ef4c477af775f72f97c8 |
|
MD5 | bdfa247f434a346422da1e89e9529059 |
|
BLAKE2b-256 | a5a094ddde9fa8c645438e092326580cc358288701f6434b3372b072995777c2 |