Skip to main content

An automated semaphore GUI showing the state in test driven development (TDD), mainly written for dojos.

Project description

Directory and watching

Dose watches one directory for any kind of change new file, file modified, file removed, subdirectory renamed, etc., including its subdirectories, by using the Python watchdog package. For example, changes on files ending on ‘.pyc’ and ‘.pyo’ are neglect by default, as well as git internals, but these skip patterns are customizable.

What happens when something changes?

A customized subprocess is called, all its output/error data is left on the shell used to call Dose, and its return value is stored. If the value is zero, the semaphore turns green, else it it turns red. It stays yellow while waiting the subprocess to finish.

Is it easy to use or should I spend hours to set it up?

The default directory path to watch is the one used to call Dose. There’s no default calling string, but ‘nosetests’ and ‘py.test’ would be hints for Python developers. It should work even with other languages TDD tools. To be fast, just open Dose and double click on it, there’s no need to lose time with settings.

And the GUI?

The GUI toolkit used in this project is wxPython. You can move the semaphore by dragging it around. Doing so with Ctrl pressed would resize it. With Shift you change its transparency (not available on Linux, for now). The semaphore window always stays on top. A right click would show all options available.

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

dose-1.0.1.tar.gz (21.8 kB view details)

Uploaded Source

File details

Details for the file dose-1.0.1.tar.gz.

File metadata

  • Download URL: dose-1.0.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dose-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e7d5ed9dbc1c4b77cb22fd97d42c99b4659847a8a9163224744a1a07e969d0af
MD5 539c5fd26d6cb17123d7f62f4799da79
BLAKE2b-256 4ec3d3667ca6d7f54effa525e0142fc3f1f52077a50123ac3c15ad313854dfd0

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