This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A command to watch for new hex files from upyed and flash the micro:bit immediately

Project Description

upyflashed

A command to watch for new hex files from https://github.com/ntoll/upyed and flash the micro:bit immediately

upyflashed will poll your browser download directory for new hex files. If one is found it will copy it to the micro:bit storage location.

Note: The approach attempts to be cross platform but bug reports / fixes gratefully accepted. Currently tested on Linux and Windows.

Installation

pip install upyflashed

Usage

$ upyflashed

Default options:

  • download path: ~/Downloads
  • microbit path: psutils looks for a disk partition mount point ending in MICROBIT

Custom

$ upyflashed --help
usage: upyflashed [-h] [--download_path DOWNLOAD_PATH]
                  [--microbit_path MICROBIT_PATH] [-v]

A command to watch for new hex files from https://github.com/ntoll/upyed and
flash the micro:bit immediately

optional arguments:
  -h, --help            show this help message and exit
  --download_path DOWNLOAD_PATH
                        Filepath your browser stores downloads
  --microbit_path MICROBIT_PATH
                        Filepath your computer mounts the micro:bit at
  -v, --verbose

Changelog

0.1.1 (2015-12-22)

  • Don’t error, just warn, when no hex files found.

0.1.0 (2015-12-02)

  • Initial release
Release History

Release History

This version
History Node

1.1.13

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting