This tiny library allows you to talk to the at(1) system, available on most UNIX machines, to schedule jobs to be run later.
Using at(1) can be much more light-weight than running a full-fledged job-processing system such as Celery if you are running very few jobs, however the performance will be much lower if you are running a considerable amount of tasks.
Example
import unix_at
job = unix_at.submit_shell_job(['touch', '/some/file'])
unix_at.cancel_job(job)
job = unix_at.submit_python_job(os.mkdir, 'now + 1 hour', '/some/dir')
for job in unix_at.list_jobs():
print(job.name, job.time)
Release files for unix-at 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unix_at-1.2.1.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unix_at-1.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.6 kB
Release files / unix_at-1.2.1.tar.gz
| Download URL | unix_at-1.2.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc108d927152984eb7158af3fbbde8442e74f85089012acfd21378186d79fd5c
|
|
BLAKE2b-256 checksum How to use checksums |
14ca0134d859d5345b5155c59d749e8d421493b1c93a33561aebbb051ef9b697
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / unix_at-1.2.1-py2.py3-none-any.whl
| Download URL | unix_at-1.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
95adb2afdfe4428f42f8e27b9447104c9fe7bd9409c3476de3a372e20dd76f18
|
|
BLAKE2b-256 checksum How to use checksums |
340fb26321c554db7628bfb291155a131e55a5f9e2ff664c744c739b515ba7f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|