Skip to main content

Python tools & design framework for EasyEDA

Project description

easyeda-python-sdk

Python tools & design framework for EasyEDA

Install

pip install easyeda-python-sdk

Example

from easyeda import PCB, Point

pcb = PCB()
pcb.BOARD_OUTLINE_LAYER.add_rectangle(width=1000, height=500, corner_radius=50)

pcb.DOCUMENT_LAYER.add_text("Hello from easyeda-python-sdk",
                            font_size=40, font_width=4, position=Point(-500, 300))

for p in [Point(-430, 180), Point(430, 180), Point(-430, -180), Point(430, -180)]:
    pcb.add_hole(80, center=p)

print(pcb)

docs/images/hello-world.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyeda_python_sdk-0.1.0a1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

easyeda_python_sdk-0.1.0a1-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page