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.3

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.3
File Size Uploaded
genesispy-0.6.3.tar.gz 246.7 kB Details

Built distribution (wheel)

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

Total release size: 393.0 kB

Release files / genesispy-0.6.3.tar.gz

Download URL genesispy-0.6.3.tar.gz
Size 246.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3d0d10b04704e43a5a4049f2d69639a585592d1a2e30cc0dee013589c0727d65
BLAKE2b-256 checksum
How to use checksums
b04f6a4e30ff5ef43803dc595fc6795a1435f2bcb986745e7b4e3a0a7c935a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

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

Download URL genesispy-0.6.3-py3-none-any.whl
Size 146.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f501ea50ff8320501e6b5e800f1e26107b72dfd4870250680908f1d28862d58
BLAKE2b-256 checksum
How to use checksums
be40b4b4c0a9d82cee89f7b4db5e43667c07b4ee78fba1dd780ebf276ba9594d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

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