Skip to main content

genesispy

Python port of the Genesis2 Chip Generator (see https://github.com/StanfordVLSI/Genesis2). Replaces the Perl runtime with a pure-Python implementation while keeping the template hierarchy (now .vpy / .svpy). Configuration is JSON; legacy Genesis2 .xml configs convert via the bundled genesispy-xml2json helper.

Editor support

Filetype detection and syntax highlighting for .vpy / .svpy / .gvpy files is available from the genesis-editors repository (Vim/Neovim, Emacs, VS Code). Install each per its own README.

Install

From PyPI

pip install genesispy

Installs the genesispy, gvpy, genesispy-vp2vpy, genesispy-xml2json, genesispy-json2xml and genesispy-jinja2j2 commands. There are no mandatory dependencies; three optional extras:

pip install 'genesispy[xml]'        # lxml: pretty-printed genesispy-json2xml
pip install 'genesispy[color]'      # colorama: coloured diagnostics
pip install 'genesispy[import-j2]'  # jinja2: required by genesispy-jinja2j2

From a checkout, with pip

pip install -e .
# or
pip install --target /path/to/install-dir .

For developers: from a checkout, without pip -- use bin/ launchers

The repo ships shell launchers in bin/ (bin/genesispy, bin/gvpy) that set PYTHONPATH to the sibling src/ and exec python3 -m genesispy.cli. No build step, no pip -- just run from a checkout:

./bin/genesispy --input top.vpy --top top --json-cfg config.json

To "install" to a destination, copy bin/ and src/ together (the launchers resolve src/ as ../src relative to their own directory):

DEST=/path/to/install-dir
mkdir -p "$DEST"
cp -a bin src "$DEST/"
export PATH="$DEST/bin:$PATH"

Tests

Against the in-tree source, no install required:

PYTHONPATH=src pytest tests/

Against an installed copy (pip install -e . or pip install genesispy):

pytest tests/

Documentation

Each entry links to the rendered copy on GitHub; the local link resolves in a source checkout.

Metadata

Release files for genesispy 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genesispy 0.6.4
File Size Uploaded Provenance Actions
genesispy-0.6.4.tar.gz 253.1 kB With provenance Details for genesispy-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genesispy 0.6.4
File Interpreter ABI Platform Actions
genesispy-0.6.4-py3-none-any.whl Python 3 none any Details for genesispy-0.6.4-py3-none-any.whl

Total release size: 401.3 kB

Release files / genesispy-0.6.4.tar.gz

Download URL genesispy-0.6.4.tar.gz
Size 253.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a7608c42826433ca3859d3a4de7bdf3439e6c8f80e9f09d8a5b18545b5b1ec13
BLAKE2b-256 checksum
How to use checksums
7a21b59a540cd70269011184395ba811b57a5ff020ee5d3edfd80b0c2624108d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / genesispy-0.6.4-py3-none-any.whl

Download URL genesispy-0.6.4-py3-none-any.whl
Size 148.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5a0121e496803211a8bc59441ba599acc7e3d9962c03722e7eae0b33b686bbc
BLAKE2b-256 checksum
How to use checksums
a86d40bdfd3756aa9bac65961e6426fd9d1266bb6cdeead78e888cde2cade0a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for genesispy 0.6.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for genesispy-0.6.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page