Simple script for manage browser's profiles.
Project description
Profile Launcher
A Python Script for Effortless Browser Profile Management
⭐ About
This Python script allows you to quickly launch browser profiles
without having to manually navigate through the browser's settings.
It reads the profile information from each browser's config directory and presents them as options for launch.
This can save you time and improve your workflow if you frequently switch between multiple profiles.
📦 Installation
Using pipx
(recommended)
$ pipx install pybrowsers-profiles
Using pip
install
# Clone repository
$ git clone "https://github.com/haaag/PyBrowsers-Profiles"
$ cd PyBrowsers-Profiles
# Create virtual environment & source
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .
🚀 Usage
$ pybrowsers --help
usage: pybrowsers [-l] [-d DISABLE] [-e ENABLE] [-f] [-m {{menu}}] [-v] [browser]
Simple script for manage browser's profiles
options:
browser Browser name
-e, --enable Enable browser
-d, --disable Disable browser
-f, --found Browsers found
-l, --list Browser list and status
-m, --menu Select menu (default: dmenu)
-h, --help Show this help
-v, --verbose Verbose mode
# Open menu with profiles list
$ pybrowsers firefox
# Disable browser (won't appear in the `found` arg)
$ pybrowsers --disable firefox
# or
$ pybrowsers -d firefox
# Show status list
$ pybrowsers -l
> BROWSERS STATUS
- Brave (not found)
- Chromium (enabled)
- Firefox (disabled)
- Chrome (not found)
- LibreWolf (enabled)
Use the -m, --menu
option to specify the launcher you want to use (default: dmenu
)
$ pybrowsers firefox --menu rofi
➕ Add Browser
You can add a browser creating a json
file in $XDG_DATA_HOME/pybrowsers/
or
~/.local/share/pybrowsers
(Maybe in the future, create a interactive menu for add browser)
Example
{
"name": "LibreWolf",
"command": "librewolf",
"path": "~/.librewolf/profiles.ini",
"engine": "gecko",
"enabled": true
}
🌐 Browsers
⚡️ Requirements
🧰 TODO
- Update screenshots
- Create
interactive menu
for adding browser data - Please, use
pathlib.Path
- BUG: Issue when the profile name contains spaces
- Add support for
json
files (Prioritize)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybrowsers_profiles-0.0.6.tar.gz
(10.5 MB
view hashes)
Built Distribution
Close
Hashes for pybrowsers_profiles-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a16ce41c6569fcd3e25c1021f7dea2509c6bd3195cee66c89c20055243f889d |
|
MD5 | b6ff94e668f4ae35d8afe6129a7a21df |
|
BLAKE2b-256 | 98aaaf0dab7ebbe1c4087f8f8ca4bf6d3b2f1a0fac99f7c18782e4158c881aa7 |
Close
Hashes for pybrowsers_profiles-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ab29b819ebbf8950091b0d51653b9a78d5659505b550c9bde396b6f9f7fb3c |
|
MD5 | 600a2c8548f02268f5b4cd7c5b681f95 |
|
BLAKE2b-256 | 42e66219a943ead3dc3b0500c54527618476282ce23590b9cfa6b17a5caf9bfa |