Skip to main content

A Python based Bicep parser

Project description

pycep

Build Status codecov PyPI PyPI - Python Version CodeQL

A parser for Azure Bicep files leveraging Lark.

This is still an early stage, therefore a lot can and will change.

Getting Started

Requirements

  • Python 3.7+
  • Lark 1.1.2+

Install

pip install --upgrade pycep-parser

Current capabilities

Supported capabilities

Next milestones

General

  • Complete loop support
  • Param decorator
  • Resource/Module decorator
  • Target scope
  • Existing resource keyword
  • Child resources
  • Module alias
  • Deployment condition
  • Adding line numbers to element blocks

Functions

  • Any
  • Array (in progress)
  • Date
  • Deployment
  • File
  • Logical
  • Numeric
  • Object
  • Resource
  • Scope
  • String

Operators

  • Accessor
  • Numeric

CI/CD

  • Fix security issues found by Scorecard

Considering

  • 1st class support of interpolated strings
  • Adding line numbers to other parts

Out-of-scope

  • Bicep to ARM converter and vice versa

Contributing

Further details can be found in the contribution guidelines.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycep-parser-0.3.3.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycep_parser-0.3.3-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file pycep-parser-0.3.3.tar.gz.

File metadata

  • Download URL: pycep-parser-0.3.3.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.7.12 Linux/5.11.0-1028-azure

File hashes

Hashes for pycep-parser-0.3.3.tar.gz
Algorithm Hash digest
SHA256 b45bfef3410ddf77122ef7b618b5ab5d724f07696e48b2fc2703a649bec8277e
MD5 3c7e12e372440f10a669a7248e47d821
BLAKE2b-256 46b54b4983c2eef92151d60b45072d1d31f9bb17c46ea28a374ef0ee0fa65934

See more details on using hashes here.

File details

Details for the file pycep_parser-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pycep_parser-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.7.12 Linux/5.11.0-1028-azure

File hashes

Hashes for pycep_parser-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f5523ed72891228b68fe8f8f5564b6a3113e76297d5373729b23ca0f1a58b6db
MD5 b3b0d037121c86dacf3e02c19d3a7249
BLAKE2b-256 3e2a1b50e6907a4721aa0238fb7a367c2105a1902f3cec1d114d06d002c9a151

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