Skip to main content

An implementation of pyVHDLModel using treesitter

Project description

pyVHDLModelTreesitter

Version Releases Gitlab pre-commit Codecov Python Version

pyVHDLModelTreesitter is an implementation of the pyVHDLModel API using tree-sitter-vhdl.

Disclaimer: This project is in early development and only implements a fraction of the features of pyVHDLModel.

Installation

pip

You can install the latest release from PyPI:

pip install pyVHDLModelTreesitter

Source tarball

You can download source releases from the Gitlab Releases page.

Documentation

In the simplest cases where you just want to parse a VHDL file:

import pyVHDLModelTreesitter

document = pyVHDLModelTreesitter.Document.from_file("path/to/file.vhd")

pyVHDLModelTreesitter.Document is a subclass of pyVHDLModel.Document.

Detailed documentation is currently unavailable.

Setup for Development

Dependencies

Developers aiming to contribute to this repository need the following tools:

  • make
  • uv

All other dependencies are automatically obtained.

Initial setup

Simply:

source ./settings.sh

You can make help to see what actions are available.


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

pyvhdlmodeltreesitter-0.5.1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

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

pyvhdlmodeltreesitter-0.5.1-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file pyvhdlmodeltreesitter-0.5.1.tar.gz.

File metadata

  • Download URL: pyvhdlmodeltreesitter-0.5.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pyvhdlmodeltreesitter-0.5.1.tar.gz
Algorithm Hash digest
SHA256 ebba87a5c6101af78aceae4e1f269cbec2802c589a3ac0bad455274f0628a9f4
MD5 70854a64e60ba8def4a609b1157d09cc
BLAKE2b-256 f6ec1e3ab50ae076f6d311ab5d3893779eb121b7d8a8301bfffb8428c67253a7

See more details on using hashes here.

File details

Details for the file pyvhdlmodeltreesitter-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyvhdlmodeltreesitter-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e2ebc337593f5f7422f88c4cd3c491582dc19913c966b29c21879d07bd094b4
MD5 b5604514e4caa138d371be0531e92d55
BLAKE2b-256 ecfdab7573c0b55353a672c87594b2df125b3c083237fc728098f376d4d22a90

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