Skip to main content

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

Project description

Latest PyPI version

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

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

upyflashed-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

upyflashed-0.1.1-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file upyflashed-0.1.1.tar.gz.

File metadata

  • Download URL: upyflashed-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for upyflashed-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c0cf4522857af5d6fcb72c87fa1c3326618c7777adb7739c2e2c6883730f0971
MD5 44015fc4b068ea5c54956e33401d09fa
BLAKE2b-256 3bb60f1052845edb5f4dd59e85d14c2f9abba546fb8335cbb1572ee0382345cc

See more details on using hashes here.

File details

Details for the file upyflashed-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for upyflashed-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63cc6efa7c7cccba8ce2cab8d7d5701285ed0373fc32b2a1006550f143188617
MD5 eb535e4f89447def4ce385da51e833b4
BLAKE2b-256 908bef84910469127eb6a720c19222809ff4305d9924005ad6a85e2522da163a

See more details on using hashes here.

Supported by

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