Changelog¶
v1.2.1 (2025-09-29)¶
Remove upper bounds of dependencies. This resolves an issue with an old typer version pulling in a new Click version, causing arguments to not be validated properly.
v1.2.0 (2025-05-30)¶
Declare support for Python 3.13 and 3.14 (no code changes required)
Drop support for Python 3.8
Upgrade all locked dependencies
v1.1.0 (2024-08-17)¶
New random mode features:
Add
--init-delay, waiting a random delay before the first operation.--pauseand--spam-pausenow understandh/m/ssuffixes like--max-durationalready did.--max-durationnow also understands amin-maxrange to pick a random max duration.
Add missing export of
pishock.httpapi.PiShockAPIaspishock.PiShockAPI
v1.0.3 (2024-01-12)¶
Calling
.info()on aSerialShockernow includes its shocker ID in the returnedname.Just like
HTTPShocker,SerialShockernow implements__str__, returning a string likeSerial shocker 1234 (/dev/ttyUSB0)Random mode improvements:
Thanks to the changes above, using
pishock --serial randomnow also results in nicer output.pishock randomnow waits patiently until the shock/vibration is finished before sleeping for its pause period.Fixed off-by-one, causing e.g. there still being an 1% chance of entering spam mode when it was, in fact, disabled.
When setting a
--spam-possibilitytogether with--no-shock, an error message is now shown, instead of causing anAssertionErrorlater on.
v1.0.2 (2024-01-12)¶
Packaging / documentation improvements only, no code changes.
v1.0.1 (2024-01-12)¶
Packaging / documentation improvements only, no code changes.
v1.0.0 (2024-01-12)¶
Initial release