Skip to main content

flatifylists

Flatten nested Python lists into single-depth lists

Installation

pip install flatifylists

Example

from flatifylists import flatifyList

example = [[[1,2], [3,[4,[5],6],7],8,9]]

print(flatifyList(example))

# Output: [1, 2, 3, 4, 5, 6, 7, 8, 9]

License

MIT Karishma Shukla

Metadata

Release files for flatifylists 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flatifylists 1.0.0
File Size Uploaded
flatifylists-1.0.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flatifylists 1.0.0
File Interpreter ABI Platform
flatifylists-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / flatifylists-1.0.0.tar.gz

Download URL flatifylists-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c897f8e06acbd27a3177bc34cf6d3d0d6f61b045ace17c3d400f0e4355650fa1
BLAKE2b-256 checksum
How to use checksums
998496f45b6aa54f8ed296e5e1d66d59f65345f12af1f5ffbe72cb70e1559d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / flatifylists-1.0.0-py3-none-any.whl

Download URL flatifylists-1.0.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7387e454d05da77661e8972ed193ec51e754728bf4b2eeb23b2ed185b5516cda
BLAKE2b-256 checksum
How to use checksums
f5a4ac75fe8c3f3379422374b0df96ef4023cc34951896b86392281b0582ff8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page