Tiny automation tool like Jenkins, Buildbot, etc...
Project description
Sotong 0.1.6
Sotong
Sotong is a tiny automation tool like Jenkins, Buildbot, etc…
Based on
>>> from sotong.sotong import Sotong >>> s = Sotong() >>> @s.watch('/path/to/project') ... def project_file_modified(event): ... with s.cd("/path/to/project/test"): ... out = s.shell("python *.py") ... if out.failed: ... s.alert(out.stderr) ... s.logger.info(out.stderr) ... else: ... s.logger.info(out.stdout) ... >>> @s.interval(10) ... def interval(): ... import datetime ... print datetime.datetime.now() ... >>> @s.daily(7, 0, 0) ... def daily_task(): ... print "Good morning" ... >>> s.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sotong-0.1.6.tar.gz
(3.6 kB
view hashes)