libreda-python
Work-in-progress
Python binding for libreda-db.
Install
Create a Python virtual environment:
python -m venv myPythonEnv
source myPythonEnv/bin/activate
# Install maturin (build tool for Rust-based Python packages)
pip install maturin
Download and install libreda-python:
# LibrEDA consists of many Rust libraries. The workspace bundles them together.
git clone --recursive https://codeberg.org/LibrEDA/libreda-rs-workspace libreda
cd libreda/libreda-python
# Install in development mode.
maturin develop
Run a Python shell and import libreda:
python
import libreda as db
chip = db.Chip()
my_cell = chip.create_cell("A")
# Write verilog.
writer = db.io.VerilogWriter()
writer.write_netlist(chip, "output.v")
# Read verilog.
reader = db.io.VerilogReader()
netlist = reader.read_netlist("output.v")
Metadata
Release files for libreda-python 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| libreda_python-0.0.4-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details |
Release files / libreda_python-0.0.4-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | libreda_python-0.0.4-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 992.2 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
6c694fae2d1d313599b4e3c616d1e267a797ce9496fbd128c07f24f698a08a34
|
|
BLAKE2b-256 checksum How to use checksums |
614b32102b07db0ac09341d2ffe9a10e78f4c8e2d830498842aead89ed2b7e89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.3.2
|