- The function flatten(*argv) takes an arbitrary amount of tuples and returns the sum of of each indices’ value. The tuples should have the same length.
- Example:>>> from tuple_flatten import flatten>>> flatten((1, 5), (2, 7))(3, 12)::
- It is not necessary for all tuples to be equally sized, as long as each tuple in the arguments is either shorter or equally sized as its predecessor.
- Example:>>> flatten((1, 7), (3,))(4, 7)::
Metadata
Release files for tuple-flatten 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tuple_flatten-1.0.tar.gz | 1.4 kB | Without provenance | Details for tuple_flatten-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tuple_flatten-1.0-py3-none-any.whl | Python 3 | none | any | Details for tuple_flatten-1.0-py3-none-any.whl |
Total release size: 3.4 kB
Release files / tuple_flatten-1.0.tar.gz
| Download URL | tuple_flatten-1.0.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b5433876fd5ed3117be5326369cc0f3995431fba0dcc6c28e3928c6b97041bb
|
|
BLAKE2b-256 checksum How to use checksums |
8b96a295a8bb57c43215da7fdb18c051b8e67873c7c7124beee71c1f70166d76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
|
Release files / tuple_flatten-1.0-py3-none-any.whl
| Download URL | tuple_flatten-1.0-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e78c2f31d49d80f2a074b5c7aaca56cd1811501d09819d143ba08c29d0bef29f
|
|
BLAKE2b-256 checksum How to use checksums |
ef2067d5c6ca637a95450439fbc7c4ceecc82d04e692c2ed675887f3fc5d6e61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
|
Security for tuple-flatten 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.