🔥 PyBro CLI - A Collection of Python Dev Tools for Debian 24.04
Project description
🔥 PyBro CLI
A Python-based CLI tool for managing Google Chrome profiles in Linux. Born from the need to quickly switch between Chrome profiles using keyboard shortcuts, especially when paired with XFCE's tiling window management. Create custom aliases to launch Chrome with specific profiles and URLs, then bind them to keyboard shortcuts for lightning-fast workflow management.
🚀 Why PyBro?
I built this tool because I needed a way to:
- Quickly switch between different Chrome profiles (work, personal, client projects)
- Launch specific URLs in the correct profile
- Bind these actions to keyboard shortcuts in XFCE
- Integrate with tiling window management
- Avoid clicking through Chrome's profile menu every time
💻 System Requirements
Tested Environment
- OS: Debian 24.04
- Desktop Environment: XFCE 4.18
- Shell: Zsh
- Browser: Google Chrome (Latest Stable)
📦 Quick Start on Debian
# 1. Install pip if not already installed
sudo apt update
sudo apt install python3-pip
# 2. Install PyBro CLI
pip install pybro-cli
# 3. Run
pybro
# 4. After creating aliases, reload your shell
source ~/.zshrc
Default Chrome Profile Path
~/.config/google-chrome/ # Linux (Debian/Ubuntu)
🎯 Example Workflows
1. Work Profile Setup
# Create work profile alias
pybro
# Select option 1
# Choose your work profile
# Enter: work-chrome
# Enter: https://workspace.google.com
# Test it
work-chrome # Opens Chrome with work profile and Workspace
2. Client Project Setup
# Create client project alias
pybro
# Select option 1
# Choose client profile
# Enter: client1-chrome
# Enter: https://client1.myproject.com
# Test it
client1-chrome # Opens Chrome with client profile and project
3. XFCE Keyboard Shortcuts
- Open XFCE Settings → Keyboard → Application Shortcuts
- Click "Add"
- Example shortcuts:
# Command: work-chrome # Shortcut: Super + 1 # Command: client1-chrome # Shortcut: Super + 2
4. Tiling Management Example
-
Create profile aliases for common layouts:
# Development setup pybro # Create: dev-chrome # URL: http://localhost:3000 # Documentation pybro # Create: docs-chrome # URL: https://docs.myproject.com
-
Set up XFCE tiling shortcuts:
- Tile left:
Super + Left
- Tile right:
Super + Right
- Tile left:
-
Create workflow shortcuts:
# Development view Super + 1 # Launch dev-chrome Super + Left # Tile to left # Documentation view Super + 2 # Launch docs-chrome Super + Right # Tile to right
🛠 Development Setup
# Clone the repository
git clone https://github.com/iTrauco/pybro.git
cd pybro
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate
# Install in editable mode
pip install -e .
# Run locally
pybro
📝 Notes
- Shell: Built for Zsh, should work with Bash (might need tweaks)
- OS: Tested on Debian 24.04, can work on macOS with path modifications
- Profiles: Scans
~/.config/google-chrome/
by default
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
File details
Details for the file pybro_cli-0.1.5.tar.gz
.
File metadata
- Download URL: pybro_cli-0.1.5.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c41308bb3eb1aafa25621eab48f91aeeb77a0e33fb059bd825d14241575f933 |
|
MD5 | 7d9330e44e77772ff5de71874e362942 |
|
BLAKE2b-256 | 2137b982fa12743670609cb441ebdb80d7f53dc74a2b16b111697566a0ffcf82 |
File details
Details for the file pybro_cli-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pybro_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 862473093d0c02e01b28ba6a3cd6eee7f7db2f502b36d565ae5665df1bae8f81 |
|
MD5 | c68acc1e80c7a7a06036fbe2a1d9b2ac |
|
BLAKE2b-256 | 6734230dcbca993b96fa4339baf2f0e6ecfe0aae9f20a88088a39e6744c2f989 |