Skip to main content

Robot Framework KiCAD library

Project description

robotframework-kicadlibrary

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

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 by git push origin :x.y.zpreN.

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

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

robotframework-kicadlibrary-1.1.1.tar.gz (86.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

robotframework_kicadlibrary-1.1.1-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

robotframework_kicadlibrary-1.1.1-py2-none-any.whl (39.7 kB view details)

Uploaded Python 2

File details

Details for the file robotframework-kicadlibrary-1.1.1.tar.gz.

File metadata

  • Download URL: robotframework-kicadlibrary-1.1.1.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for robotframework-kicadlibrary-1.1.1.tar.gz
Algorithm Hash digest
SHA256 609a9a520616b9c930d29f384d3c255e46c871dd27b7e8d18d0e5b0e7f9660ee
MD5 3ff9d4700cad924cbb8371056915a961
BLAKE2b-256 f3fc0cdf33b6186e9619036f95f6f47693a31a799c90e6ddadeb0969bd1a8348

See more details on using hashes here.

File details

Details for the file robotframework_kicadlibrary-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: robotframework_kicadlibrary-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for robotframework_kicadlibrary-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f9b984650618c9fe5ad8e5c12e000cee615feea9f3615433fc7f07da0ddf51f
MD5 b7660cea480db6e8c2f322072c9e4c59
BLAKE2b-256 5ac016c7a3adf550e47b13421c750ac887735aa27d6fa752a66a129cf60677e0

See more details on using hashes here.

File details

Details for the file robotframework_kicadlibrary-1.1.1-py2-none-any.whl.

File metadata

  • Download URL: robotframework_kicadlibrary-1.1.1-py2-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for robotframework_kicadlibrary-1.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 683e6ad65d215c1f89b829f454d154552048336b0b8e7778df0db4a33d06feac
MD5 644dd4b4d30c71c874034562e65fefd9
BLAKE2b-256 7755845031cac9cf778fc3c907122c6cfc2a46dec930d5bf680c2ff74758f579

See more details on using hashes here.

Supported by

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