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.3a0.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.3a0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycep-parser-0.3.3a0.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.3a0.tar.gz
Algorithm Hash digest
SHA256 cb58592fac2286b284b77635a1be44ad83ec1f835274ab9b32e208e38a8fc3a2
MD5 61b5b433daf7eabdf1f589ffdafe4d62
BLAKE2b-256 3d7cda3b4b3941462b3986982b4ab05c3b2efd86a3f1b652b81c772a7adf9bd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycep_parser-0.3.3a0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 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.3a0-py3-none-any.whl
Algorithm Hash digest
SHA256 001eac65b104dfc9601458dffa6eb79ca3476dfb15642d59fcb29d3af669026b
MD5 bf650cb32380b9d070f7f7c2307b4021
BLAKE2b-256 ba4946d63c3f0352a1f15385df433e311d1a4837c9775b58e0f3c3a17efc95d3

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