Skip to main content

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: psutil 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.2 (2015-12-22)

  • Fix missing CHANGES.rst in release

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.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for upyflashed-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b9c07a075db31617f5b3391792b4e297be39a0a230a6632af9255434925269fe
MD5 57e1547187058afcddea83b2688a56b3
BLAKE2b-256 f3fad52b2237208dc2e21d6f34f7396d07133839549f97cf8e178a7eb3a4d4b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for upyflashed-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fdf7f7ba16fa57b87afa25e46a429d4e2ae66736c777d0c13a6bedec85fb8100
MD5 38c1beb720b4be555d40b1f8c7f06569
BLAKE2b-256 ad492e5965936937082be5e56df134e8ead97e61edb33fd63562c9ff7d45b3f0

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