GithubHelp home page GithubHelp logo

renaud11232 / pyduinocli Goto Github PK

View Code? Open in Web Editor NEW
15.0 5.0 1.0 5.88 MB

pyduinocli is a wrapper library around arduino-cli to make the arduino-cli calls easy from a python script.

License: MIT License

Python 100.00%

pyduinocli's Introduction

pyduinocli Build Status Donate

pyduinocli is a wrapper library around arduino-cli to make the arduino-cli calls easy from a python script.

pyduinocli goals

  • Provide a clear and easy way to use arduino through a python program
  • Give the ability to programmatically flash arduino-like boards
  • Update 3D printer firmwares automatically

How to use

Installation

To install the library simply do

pip install pyduinocli

How to use

To start using the library simply import the module, create a new Arduino instance and enjoy.

import pyduinocli

arduino = pyduinocli.Arduino("./arduino-cli")
print(arduino.version())

License

See LICENSE

pyduinocli's People

Contributors

prototypicalpro avatar renaud11232 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

fpistm

pyduinocli's Issues

Fix outdated command test

This test has been commented out to let the pipeline run
This needs to be re-enabled once the json output is fixed

Check if parameters are flag-like

There is a way alter the behavior of arduino-cli.
If a parameter is in fact a flag it will be interpreted as a flag not as a normal parameter

Print output before command has completed

During commands like upload that take some time, it would be nice to be able to show the stdout information produced by the command before the function returns - is this possible to achieve?

Help and examples

missing. Workflow is documented in arduino-cli, but not here. Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.