sysdm
Scripts as a service. Builds on systemd.
It gives you the best from screen, cronjobs, supervisord, systemctl and journalctl.
Installation
pip install sysdm
Demo
Usage examples
sysdm create myfile.py # creates, starts and enables a new service file
sysdm create myfile.py --timer daily # the above + schedules it to run daily
sysdm ls # see the known services created by sysdm
sysdm delete # see the known services and select to delete
sysdm run # run the app in the foreground (e.g for debugging)
Features
Creating and viewing have just helped you with:
- Generate a systemd unit file on the fly
- Uses current info to determine, and pin, working directory and virtualenv paths in your unit.
- Script will start running, and also boot on start
- Script will restart on error
- Script can also be started on a schedule (e.g.
--timer daily), using systemd timers - Changes to files in the directory of the same extension will cause a reload (e.g.
.py) - Provides a UI for inspecting the logs of your script and start, stop etc
- Like with screen, you can leave and it will keep on running.
- Multiple people can look at it, too, when sharing a server.
- Provides flags to change settings
- UI is aware of the window-size
Metadata
Release files for sysdm 0.8.69
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sysdm-0.8.69.tar.gz | 22.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sysdm-0.8.69-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.9 kB
Release files / sysdm-0.8.69.tar.gz
| Download URL | sysdm-0.8.69.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eedd82d06c67f335c09895205f07402154e9fde6d9c159f89c05d1cefd10c299
|
|
BLAKE2b-256 checksum How to use checksums |
7a973ab58b043b41b38c92e40c2e49601ec6beed80499918e66f08f65da7b6ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / sysdm-0.8.69-py3-none-any.whl
| Download URL | sysdm-0.8.69-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5ef6b99e8c843cfbb13f1fe840ddf2793969836d22444b683791331046b4568
|
|
BLAKE2b-256 checksum How to use checksums |
db084f3d885d20558d6b4f560c1d1013742e222c9ef8621e923ca465e2a0df57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|