No project description provided
Project description
Azure Subscription Switcher
🔹 A CLI tool to interactively select Azure subscriptions using fzf fuzzy search.
📦 Installation
pip install azure-subscription-switcher
# Or using Poetry
poetry add azure-subscription-switcher
🚀 Usage
azsub
-OR-
azsub -s <subscription_id>
🛠 Requirements
- Azure CLI (
az) must be installed and logged in. fzf(fuzzy finder) is required:- Mac:
brew install fzf - Linux:
sudo apt install fzf - Windows: Install via Git Bash or Chocolatey (
choco install fzf).
- Mac:
🧰 Features
✅ Fetches available Azure subscriptions
✅ Interactive fuzzy search for selection
✅ Automatically switches to the selected subscription
✅ Switches to the subscription passed with -s,--subscription
🛠 Development & Contribution
- Clone the repository:
git clone https://github.com/LahiruSenevirathne/azure-subscription-switcher.git cd azure-subscription-switcher
- Install dependencies using Poetry:
poetry install - Run the CLI locally:
poetry run azsub
📤 Publishing to PyPI
🤝 Contributing
Pull requests are welcome! If you'd like to make improvements, please fork the repository and open a PR
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
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
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 azure_subscription_switcher-0.2.0.tar.gz.
File metadata
- Download URL: azure_subscription_switcher-0.2.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757f1eea21e3977160eaee609f3ce7b020b5686a8b5b5d2219999a2eecce4793
|
|
| MD5 |
c710a62ee9b1ba7eb501868e5c768145
|
|
| BLAKE2b-256 |
5e9b002159fb1bdd68a1a03d89801cb6d15b0a237c2e5fd8dab83470d9e8efb7
|
File details
Details for the file azure_subscription_switcher-0.2.0-py3-none-any.whl.
File metadata
- Download URL: azure_subscription_switcher-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23a1612407ca37725c34071699083ebd7fea481c4129e3f7bc252d2a2b69fe33
|
|
| MD5 |
a3848e011c626d1721ba99d08fa11b05
|
|
| BLAKE2b-256 |
66b32360ccefb84e2ec56b8977bbcff400ebb1ea141d0b8c0f5bf6096fe0a046
|