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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sysdm-0.8.68.tar.gz
(20.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sysdm-0.8.68-py3-none-any.whl
(21.2 kB
view details)
File details
Details for the file sysdm-0.8.68.tar.gz.
File metadata
- Download URL: sysdm-0.8.68.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07ff877a5008e62a19054f27513eb07c59947e30cfa187c9cbd1da79d7286885
|
|
| MD5 |
cb561e1bba8d5be670cb528c7d49880b
|
|
| BLAKE2b-256 |
86963bd3fdc6a16d92b4bc2643a08fe8ad222f381365bae631ac68b4cc6a1fa4
|
File details
Details for the file sysdm-0.8.68-py3-none-any.whl.
File metadata
- Download URL: sysdm-0.8.68-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1f34b7ff52216111d5d3a6222c6cbbb361ea412708335cd0b37b02de810b1b
|
|
| MD5 |
765d147971c4de02f631a8ca34e33574
|
|
| BLAKE2b-256 |
f54cc96fc624fbfe75c449a02a9dd2339bb3fb7db81f04b3f7632dc0c3e9c42b
|