A CLI for mob programming rotations
Project description
Rotate
A CLI tool for mob programming rotations.
Installation
pip install rotate-mob
Or with uv:
uv pip install rotate-mob
Usage
Initialize a new rotation file
rotate init [filename] [team members...]
This creates a new rotation file with default team members or the ones you specify:
5:00 / 5:00
Typing: Alice
Talking: Bob
Next: Charlie
Diana
Eva
Start a timer for a rotation session
rotate start [filename] [update_interval]
This starts a timer daemon that will update the elapsed time in the rotation file.
Control the timer
rotate pause [filename] # Pause the timer
rotate resume [filename] # Resume a paused timer
rotate stop [filename] # Stop the timer
Help
rotate help
Manual rotation
If you want to manually rotate team members:
cat rotation | rotate > new-rotation
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+
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rotate_mob-0.1.1.tar.gz.
File metadata
- Download URL: rotate_mob-0.1.1.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc88e26fcbc16d63c1e122b1aa6cce6faa95b5ac48b140c4198b6fae677152a2
|
|
| MD5 |
3a804aeacf096bc9dbf49e0fbf0fcad6
|
|
| BLAKE2b-256 |
0475fb5d1229cfe0e44d399ba4fed492646a1574f6cb87db92f0d50a14f0751f
|
File details
Details for the file rotate_mob-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rotate_mob-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa770b8960716368d7f01d307771f13d7d68e070be9a677ed4ae12e5e1b659b2
|
|
| MD5 |
a33d7a132f43879cee55c89794140bee
|
|
| BLAKE2b-256 |
8a2c1063a2cde0986ffaaef93c92fcb8241cc24a7de6a574453add193cb0d65f
|