Skip to main content

Pythonic wrapper for az cli

Project description

az-py-cli

Pythonic wrapper for az cli

Requires Python 3

Install requirements

Note: We recommend first creating a virtual env and activating it

pip install -r requirements.txt

Usage

% python3
>>> import pyaz
>>> result = pyaz.version()
>>> print(result)
{'azure-cli': '2.28.1', 'azure-cli-core': '2.28.1', 'azure-cli-telemetry': '1.0.6', 'extensions': {}}

How to generate the code

By default the code will be generated in the "output" directory.

% python generate_code.py
generating code module for: pyaz/acr
generating code module for: pyaz
generating code module for: pyaz/acr/credential
generating code module for: pyaz/acr/repository
generating code module for: pyaz/acr/webhook
generating code module for: pyaz/acr/replication
... (list shortened)

Run the tests

python -m unittest test.test_integration

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

py-az-cli-0.1.0.tar.gz (226.3 kB view details)

Uploaded Source

File details

Details for the file py-az-cli-0.1.0.tar.gz.

File metadata

  • Download URL: py-az-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 226.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for py-az-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 819b4699cc9d441c80bd0994a713f908a1bc1fd5b33dac511c0cbfced92dd4b4
MD5 990b75e34ea2ce3d4cdc8e6c0953dda3
BLAKE2b-256 753067a0dbb8afa9c646302238882701e275934d1c69dc41fba516ac556d6ad9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page