Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Robot Framework KiCAD library

Project description


Build Status Sonarcloud quality Updates Code coverage PyPI version Docker image version

Build history

A Robot Framework library for validating KiCad designs.

Releases are available via regular PyPI as well as GitHib releases. Example projects/usage is available under the examples/ sub-directory.

Keyword documentation is available online, as well as downloadable via GitHub Releases.

Getting Started


You'll need an installation of Python, as well as pip and a working installation of KiCad. Please consult your operating system documentation on how to install these tools.

You will also need Robot Framework installed, but if you're installing using pip, Robot Framework will automatically be installed for you.

Installing KiCad, PIP and the library

This is dependent on your local operating system, but if you'te running any form of Unix-clone, it should typically be something in the lines of:

# Debian based systems
$ sudo apt-get install python-pip kicad
$ sudo pip install robotframework-kicadlibrary

# RedHat based systems:
$ sudo yum -y install epel-release
$ sudo yum -y install python-pip kicad
$ sudo pip install robotframework-kicadlibrary

Installing using PIP with existing environment

$ pip install robotframework-kicadlibrary

Using the library

*** Variables ***
Library    KiCadLibrary    schema=myproject.sch    pcb=myproject.kicad_pcb

*** Test cases ***
Module pads should be on grid
    Module Pads Should Be On Grid    50 mil    reference=.*$


Any and all contributions are welcome, in the form of pull requests.


We use SemVer for versioning. For the versions available, see the releases on this repository.


  • Martin Kjellstrand - Initial work - madworx


This project is licensed under the MIT License - see the LICENSE.txt file for details

Developer information / Preparing a release

To create a release please follow this outline:

  • Do your development work in a separate branch.
  • Write unit-tests (tests/) and/or integration tests (examples/) for your code.
  • Once all local tests validate, and you have 100% code coverage, push to GitHub.

If you have commit access to the main repository

  • Once build hooks at Github/Sonarcloud/pyup etc have completed, tag a pre-release (x.y.zrc0)
  • If that build completes, perform a PR into master, squashing the commit history.
  • Tag the master branch with the new release version, ahdering to semantic versioning.
  • Remove any pre artifacts from Docker Hub and PyPI.
  • Delete the rc* tags from the repository. git tag -d x.y.zrcN, followed by git push origin :x.y.zpreN.

If you don't have commit access to the main repository

Download files

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

Files for robotframework-kicadlibrary, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_kicadlibrary-2.0.1-py3-none-any.whl (39.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robotframework-kicadlibrary-2.0.1.tar.gz (86.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page