A pure-python non-repeating outside-in spiral iterator-generator for 2D arrays
Project description
Take any two dimensional list like object that supports indexing as input and output a circular clockwise/counter-clockwise shrinking spiral of elements from the input beginning at any of the list’s four corners (ie: input[0][0]) until all the input is exhausted.
This will work on lists of any size in either dimension.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for spirol-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91cc03c7f70c66fb7c62c8aa710721a57d4994d0c126aed164135992bfbe9c26 |
|
MD5 | b3ad04bc2870f0cd0b33c7e5d4f6a34a |
|
BLAKE2b-256 | 84c268354d9f49b71abf2734d839c9f2941d5aaebbed2d33b8a4976d1eb0ae8f |