steppyngstounes / ˈstɛp ɪŋˌstoʊnz /
1. pl. n. [Middle English] Stones used as steps of a stairway; also, stones in a stream used for crossing. [1]
…while at Calais in 1474 we find 40 ‘steppyngstounes’ bought for the stairways of the town. [2]
2. n. [chiefly Pythonic] A package that provides iterators for advancing from start to stop, subject to algorithms that depend on user-defined value or error.
Documentation: https://pages.nist.gov/steppyngstounes/en/latest
Discussion: https://github.com/usnistgov/steppyngstounes/discussions
Source code: https://github.com/usnistgov/steppyngstounes
Bug reports: https://github.com/usnistgov/steppyngstounes/issues
A steppyngstounes control loop replaces an iteration loop like
for step in range(steps):
do_something(step)
It can be as simple as
from steppyngstounes import FixedStepper
for step in FixedStepper(start=0., stop=totaltime, size=dt):
do_something(step.size)
_ = step.succeeded()
or a more elaborate combination of checkpoints and adaptive steps
from steppyngstounes import CheckpointStepper, SomeStepper
old = initial_condition
for checkpoint in CheckpointStepper(start=0.,
stops=[1e-3, 1, 1e3, 1e6]):
for step in SomeStepper(start=checkpoint.begin,
stop=checkpoint.end,
size=checkpoint.size):
new = do_something_else(step.begin, step.end, step.size)
err = (new - old) / scale
if step.succeeded(error=err):
old = new
# do happy things
else:
# do sad things
save_or_plot()
_ = checkpoint.succeeded()
Steppyngstounes requires numpy, scipy, and pytest. Tests can be run with
pytest
Metadata
Release files for steppyngstounes 0.1.1
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 | |
|---|---|---|---|---|
| steppyngstounes-0.1.1.tar.gz | 13.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steppyngstounes-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.0 kB
Release files / steppyngstounes-0.1.1.tar.gz
| Download URL | steppyngstounes-0.1.1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42dbf620d2de9ce8d04508e9155fa3764f80755c3592e82630bbac31ba8efa4b
|
|
BLAKE2b-256 checksum How to use checksums |
5f224351254db2bb8c557285bdfa3332ecb21b5a17bcef233abf0aeb6fd9405f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / steppyngstounes-0.1.1-py3-none-any.whl
| Download URL | steppyngstounes-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5da81d9a58048b990a0749aaf79157dc186a66fdba3e3cc4bdc2e6ef678f6d5
|
|
BLAKE2b-256 checksum How to use checksums |
8a8671c9670fa042a8b7342a348b4f97919351e232b31cf7e40afcb4f59f1b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for steppyngstounes 0.1.1
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.