Robot Framework KiCAD library
Project description
robotframework-kicadlibrary
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
Prerequisites
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=.*$
Contributing
Any and all contributions are welcome, in the form of pull requests.
Versioning
We use SemVer for versioning. For the versions available, see the releases on this repository.
Authors
- Martin Kjellstrand - Initial work - madworx
License
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 bygit push origin :x.y.zpreN
.
If you don't have commit access to the main repository
- Submit a PR towards the
master
branch of the main repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for robotframework-kicadlibrary-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c9d07e93d544575fbef7ff96dc7254bffe8b4858e726804a70fbc85bed93ce |
|
MD5 | 37df950612aeaecea7318685ffec8c28 |
|
BLAKE2b-256 | 4c6085b9a4afd331bc3667f00950ef752ae6e8426dec2bb1a4713b1a2ceaf5ee |
Hashes for robotframework_kicadlibrary-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f96971d1566217780e2065af0e241c155847737a9dbe9635739795904cf1a6 |
|
MD5 | aec038adde462b69caeeb6fcaf30a7c3 |
|
BLAKE2b-256 | 1835e0125ebae04d2f4f3760d7f4efed648d116935cd13f6a25a5cde5f58758d |
Hashes for robotframework_kicadlibrary-1.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084a47c3e1ac3fbce5eee6dbfcfdb6c5e0da88efaf4e13ac51237b330148b266 |
|
MD5 | a8f87a9ca9c779551b056e02b3ac831b |
|
BLAKE2b-256 | 417dfbb7776e015d472f7c6d87d1e3c3f4cdc36edd90dc25e564fd281be39e87 |