Flatten, chunk, deduplicate, rotate, shuffle, and group lists
Project description
pyarraytools
Flatten, chunk, deduplicate, rotate, shuffle, and group lists.
Installation
pip install pyarraytools
Usage
from pyarraytools import flatten, chunk, deduplicate
flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
chunk([1, 2, 3, 4, 5], 2) # [[1, 2], [3, 4], [5]]
deduplicate([1, 2, 2, 3]) # [1, 2, 3]
License
MIT
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
pyarraytools-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyarraytools-0.1.0.tar.gz.
File metadata
- Download URL: pyarraytools-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e176ec4f5a22e50b99aa34c3cf94940a6ae22c55752856f8c2e9f3e60fae0875
|
|
| MD5 |
82808d005d630643eed1e5611c5cde98
|
|
| BLAKE2b-256 |
8740991713fd0c9e6e1bfedfa3781c33df484c64a005b8d83c881372ded2618b
|
File details
Details for the file pyarraytools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyarraytools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cf991d11f41f93167dd1db1dcd05cbe213ed14225c4e87a8215215d89523dd0
|
|
| MD5 |
e07632f4334f0f3232ae329b8018f6a1
|
|
| BLAKE2b-256 |
54eb77503a157ad2f012f63656e5cf0394b3f43d5d1b1c0454c9eebf9de9efa4
|