Bicep RPC Client for Python
An independent Python client for the Bicep CLI JSON-RPC API. Install the anthonycmartin-bicep-rpc-client distribution and import its public API from anthonycmartin.bicep_rpc_client.
from anthonycmartin.bicep_rpc_client import (
BicepClientConfiguration,
BicepClientFactory,
CompileRequest,
)
with BicepClientFactory().initialize(
BicepClientConfiguration(bicep_version="0.46.1")
) as client:
result = client.compile(CompileRequest("main.bicep"))
if result.success:
print(result.contents)
The factory downloads and caches a requested Bicep CLI version under ~/.bicep/bin, or connects through existing_cli_path. The client supports typed compile, format, metadata, file-reference, deployment-graph, snapshot, and version operations. This package is independent and non-official; its API may change between releases.
Metadata
Release files for anthonycmartin-bicep-rpc-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anthonycmartin_bicep_rpc_client-0.1.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anthonycmartin_bicep_rpc_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / anthonycmartin_bicep_rpc_client-0.1.0.tar.gz
| Download URL | anthonycmartin_bicep_rpc_client-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
791a26591f2cfc26e6ee109694b8b0ec60a5e9a1685b76c0d052e0ce047380ef
|
|
BLAKE2b-256 checksum How to use checksums |
48a461d679e6f4032c67a3d7c65077ebee54fe286d7293312e38df62c9a979f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / anthonycmartin_bicep_rpc_client-0.1.0-py3-none-any.whl
| Download URL | anthonycmartin_bicep_rpc_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b6b98cb1124362b8bb68fa1c697057d270032774dacbf3f76119db754b66863
|
|
BLAKE2b-256 checksum How to use checksums |
d21b68e24406f695642bc1838edd585fb3eaf8186f0cd9be70a15bbc5bcfd625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|