A CLI for mobbing rotations.
Installation
The pkg on PyPI is called rotate-mob.
One way to install it is:
uv tool install rotate-mob
Then it's available as an executable rotate:
rotate help
Usage
The Rotation File
Rotation files look like this:
5:00 / 5:00
Typing: Alice
Talking: Bob
Next: Charlie
Diana
Eva
You can create a fresh one with
rotate init [filename] [team members...]
This creates a new rotation file with default team members or the ones you specify.
Start the timer
rotate start [filename]
This starts a timer daemon that will update the elapsed time in the rotation file.
[!TIP] Watch the file updated live with
watch -n 0.3 -t cat rotation
Other cmds
rotate pause [filename]
rotate resume [filename]
rotate stop [filename]
rotate help
Manual rotation
If you want to manually rotate team members:
cat rotation | rotate > new-rotation
TODO: this should be
rotate rotate
File Format
The rotation file format consists of:
- First line: Timer in format
elapsed / totalwhere both values are in MM:SS format - Subsequent lines with colon: Position assignments in format
Position: Name - Remaining lines: Team members without assigned positions
Hooks
The rotate tool supports hooks that are executed when specific events occur:
- Create a directory called
.rotate/hooks/in your project - Place executable scripts in this directory with names matching the event you want to hook into
- Currently supported hooks:
expire: Executed when the timer expires or the daemon stops
Example hook script (.rotate/hooks/expire):
#!/bin/sh
# This hook opens the rotation file when the timer expires
echo "Opening rotation file..."
open rotation
Make sure to make your hook script executable:
chmod +x .rotate/hooks/expire
Requirements
- Python 3.12+
Metadata
Release files for rotate-mob 0.1.2
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 | |
|---|---|---|---|---|
| rotate_mob-0.1.2.tar.gz | 9.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rotate_mob-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / rotate_mob-0.1.2.tar.gz
| Download URL | rotate_mob-0.1.2.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f7de6f6bdca9bbd38bf5089dbabed6a9563bee377d303ec987238f34b55d235
|
|
BLAKE2b-256 checksum How to use checksums |
8509434101ee189b0e134d1581ca4140525e8ebdb765df715ab332805b4809bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Release files / rotate_mob-0.1.2-py3-none-any.whl
| Download URL | rotate_mob-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
547056719b0ea9427eb65bad5f816a98f6a3676b8f1fd8d00908b59bda37c16c
|
|
BLAKE2b-256 checksum How to use checksums |
81ac62ac4c367b8410aa3f7465d34f27d312401c9d25ed440fab732744ca058c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Security for rotate-mob 0.1.2
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.