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 Distribution
File details
Details for the file robotframework-kicadlibrary-2.0.1.tar.gz
.
File metadata
- Download URL: robotframework-kicadlibrary-2.0.1.tar.gz
- Upload date:
- Size: 86.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b91aee0907ff1e5db4a4ca60febf1d42c15b779cc9b1de6d90dadf4880b12f9 |
|
MD5 | c8a1fbdee9a4e3dea7041c732591fb53 |
|
BLAKE2b-256 | 0661aeb495219f343cdba5e28c222bee5f7dca2b3c7df5c409f89f4fec4fcbb6 |
File details
Details for the file robotframework_kicadlibrary-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: robotframework_kicadlibrary-2.0.1-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf38d73201d27882a8bd5d11ab3795caed9947a3623d60c608cb079b511b87d |
|
MD5 | 1b238a0fbc165893d09d500555d9cb7e |
|
BLAKE2b-256 | 8352139a0de1acfb2c303d1b180e6a546dd172dabf54f60a95005e467a4dd55c |