Skip to main content

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()

Release files for sotong 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sotong 0.1.6
File Size Uploaded
sotong-0.1.6.tar.gz 3.6 kB Details

Release files / sotong-0.1.6.tar.gz

Download URL sotong-0.1.6.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
90218cbb6c5d8ccc64089ae49b93401b55128bffc556ee755c36f1a0aa3dddbe
BLAKE2b-256 checksum
How to use checksums
e02be131c8da87eff90ce41ae1c8cea40e0c6f6ce6d96674b73c7cc39e657ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page