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
Support py2
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.1.0.tar.gz
(12.2 kB
view hashes)
Built Distribution
Close
Hashes for reshape-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d4c346467e5026058d811370448d9aa9e39413dd53665154d34751ee0ed056 |
|
MD5 | e5e45323c18d4a439ed165175c57d58c |
|
BLAKE2b-256 | e25fa9d232410dde9c099447c62828c28f67b9251d1c9b655d692bde960aa01c |