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

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.1
File Size Uploaded
genesispy-0.6.1.tar.gz 228.0 kB Details

Built distribution (wheel)

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

Total release size: 366.2 kB

Release files / genesispy-0.6.1.tar.gz

Download URL genesispy-0.6.1.tar.gz
Size 228.0 kB
Tags Source
SHA-256 checksum
How to use checksums
859cdfe320d00c5aed2791e0d8834a30166c0c6a03c67177bcb1977be6d3cf8c
BLAKE2b-256 checksum
How to use checksums
d4cc35571e82f4a5d90348641e1ec79bf6c6150cbcc653c7af40f07c470ce499
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 7, 2026.

Transparency log

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

Download URL genesispy-0.6.1-py3-none-any.whl
Size 138.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5728b7bc92eca2e8f6a96391e0d5aa3992361e34d83fe660141ce3ed0bd193c
BLAKE2b-256 checksum
How to use checksums
2eeab09720085eaeb80bf62872152d5f14bc532a7c9b3795f69e81aed5d4f2d0
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 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.3

2 release files

0.6.2

2 release files

This release

0.6.1 This release

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