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 details)
File details
Details for the file sotong-0.1.6.tar.gz
.
File metadata
- Download URL: sotong-0.1.6.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90218cbb6c5d8ccc64089ae49b93401b55128bffc556ee755c36f1a0aa3dddbe |
|
MD5 | 02a5a15f0e4add2ef43b7e3c911a14f1 |
|
BLAKE2b-256 | e02be131c8da87eff90ce41ae1c8cea40e0c6f6ce6d96674b73c7cc39e657ecf |