/pycep

A Python based Bicep parser

Primary LanguagePythonApache License 2.0Apache-2.0

pycep

Build Status codecov PyPI PyPI - Python Version CodeQL OpenSSF Scorecard

A parser for Azure Bicep files leveraging Lark.

Getting Started

Requirements

  • Python 3.8+
  • Lark 1.1.2+

Install

pip install --upgrade pycep-parser

Current capabilities

Supported capabilities

Next milestones

Custom data types

Initial support was added with following parts still missing

  • Array type
  • Decorators in object type
  • Union type in object type

Functions

  • Array (in progress)
  • CIDR (in progress)
  • Lambda (in progress)

Operators

  • Safe-dereference

Considering

  • 1st class support of interpolated strings

Out-of-scope

  • Bicep to ARM converter and vice versa

Contributing

Further details can be found in the contribution guidelines.