Skip to main content

Shortcuts for interacting with Azure resources

Usage

Print a VM IP after fuzzy searching

$ azure-interactive-shortcuts public-vm-ip
⠙ Collecting IP addresses from all VMs using Azure CLI
$ azure-interactive-shortcuts public-vm-ip
azis public-vm-ip
[19:12:24] Found 180 virtual machines, and 96 public ip   _public_vm_ip.py:76
           addresses                                                         
           4 ip addresses have the same name, and have    _public_vm_ip.py:85
           been discarded                                                    
Select an IP address:
 aatifs-cool-vm1-ip1   Resource group: my-rg1, VMs: aatifs-cool-VM1... 
 aatifs-cool-vm1-ip2   Resource group: my-rg1, VMs: aatifs-cool-VM1... 
 aatifs-cool-vm2-ip3   Resource group: my-rg2, VMs: aatifs-cool-VM2... 
 aatifs-cool-vm2-ip4   Resource group: my-rg2, VMs: aatifs-cool-VM2... 

This allows you to have quick one-liners:

ssh azureuser@"$(azis public-vm-ip)"

Installation

Recommended installation is with pipx:

python3 -m pip install --user pipx
python3 -m pipx ensurepath
python3 -m pipx install azure-interactive-shortcuts

Autocompletion

Autocompletion is done with argcomplete

pipx install --force argcomplete

# ~/.bashrc
eval "$(register-python-argcomplete azis)"
eval "$(register-python-argcomplete azure-interactive-shortcuts)"

Metadata

Release files for azure-interactive-shortcuts 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-interactive-shortcuts 0.1.0
File Size Uploaded Provenance
azure-interactive-shortcuts-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-interactive-shortcuts 0.1.0
File Interpreter ABI Platform
azure_interactive_shortcuts-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / azure-interactive-shortcuts-0.1.0.tar.gz

Download URL azure-interactive-shortcuts-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b4c5914824a50032656ece785cae5de832f76a363255ca623fc83ca33857ef55
BLAKE2b-256 checksum
How to use checksums
71495f9a54983665a03a9774c228719f7ac95f3e33981c1f6ea78fcd3b6c2e07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2

Release files / azure_interactive_shortcuts-0.1.0-py3-none-any.whl

Download URL azure_interactive_shortcuts-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd70d5fe22a25bdcee567ac165a623e27538234ef401e677668404cdb2923389
BLAKE2b-256 checksum
How to use checksums
1689b245499eacfb7b39c00579e5c082883625949d8b379fb315a9a05b400cdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2

Security for azure-interactive-shortcuts 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page