The missing reshape for Python
Project description
reshape
The missing Numpy’s reshape for Python.
Free software: MIT license
Documentation: https://reshape.readthedocs.io.
Features
>>> import reshape >>> for row in reshape.reshape(range(20), 3): ... print(row) ... (0, 7, 14) (1, 8, 15) (2, 9, 16) (3, 10, 17) (4, 11, 18) (5, 12, 19) (6, 13, None) >>> >>> for row in reshape.reshape("HVNfromPymiVN"): ... print(row) ... ('H', 'o', 'i') ('V', 'm', 'V') ('N', 'P', 'N') ('f', 'y', None) ('r', 'm', None)
TODO
Use mypy
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-12-01)
First release on PyPI.
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
reshape-0.2.0.tar.gz
(12.2 kB
view details)
Built Distribution
File details
Details for the file reshape-0.2.0.tar.gz
.
File metadata
- Download URL: reshape-0.2.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef4b0214cace4233e2f50f02938f02bcdff9ca8805ec8da5d514e25c957fa84 |
|
MD5 | 7eb611621c2a719c7d0cfdfe0719a710 |
|
BLAKE2b-256 | 0b687c18ae0e9b88c667bcbf906fe795b712d774f7e43ffa62899558a563b3cb |
File details
Details for the file reshape-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: reshape-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03758f6c0b68d18bff5c22ff2d4e69cdfca0c815cf2732b88c95f6d44845731d |
|
MD5 | a5ed0c5e314775f6cafc87c2dcc4d3a6 |
|
BLAKE2b-256 | b29c8a6a2de9970ff96b28f08bfedefa437c11e3d95262d5caaf144a3a94288c |