No description
Find a file
2021-06-06 13:16:10 +02:00
.gitignore Initial commit 2021-06-06 13:16:10 +02:00
.gitlab-ci.yml Initial commit 2021-06-06 13:16:10 +02:00
.pypirc Initial commit 2021-06-06 13:16:10 +02:00
LICENSE Initial commit 2021-06-06 13:16:10 +02:00
Makefile Initial commit 2021-06-06 13:16:10 +02:00
README.md Initial commit 2021-06-06 13:16:10 +02:00
setup.cfg Initial commit 2021-06-06 13:16:10 +02:00
setup.py Initial commit 2021-06-06 13:16:10 +02:00
test-requirements.txt Initial commit 2021-06-06 13:16:10 +02:00

pipeline status coverage report pypi aur

gerbonara

Tools to handle Gerber and Excellon files in Python.

Installation

Arch Linux:

yay -S python-gerbonara

Python:

pip install gerbonara

Usage

Here's a simple example:

import gerbonara
from gerbonara.render import GerberCairoContext

# Read gerber and Excellon files
top_copper = gerbonara.read('example.GTL')
nc_drill = gerbonara.read('example.txt')

# Rendering context
ctx = GerberCairoContext()

# Create SVG image
top_copper.render(ctx)
nc_drill.render(ctx, 'composite.svg')

Made with ❤️ and 🐍.