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.0.tar.gz (19.7 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.0-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyvhdlmodeltreesitter-0.5.0.tar.gz
  • Upload date:
  • Size: 19.7 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.0.tar.gz
Algorithm Hash digest
SHA256 7c999bb793e1d9e289e7619032b2df280471914a66cf40afd42ece70b290a817
MD5 4a9bb96287329b5b5aadb01d8b633d84
BLAKE2b-256 64865516dbb56a3022949a07d3e090a65342922b3bc05db1a19086d6b00bfbd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyvhdlmodeltreesitter-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0121f11c9e6c1b0ed04798ff9c50e42827b809b29dc0d41a27159f6f35ad2ed
MD5 6ed187de4c97e64e0de25b234a53da11
BLAKE2b-256 dcd3a6e448ff16a62d8bc8b24ecf3a5b20b32541cb4a720b4d00c36c7620edee

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