Skip to main content

Directed Acyclic Workflow Graph Scheduling

Project description

Directed Acyclic Workflow Graph Scheduling

import time

from dawgz import job

@job(name='A')
def a():
    print('a')
    time.sleep(3)
    print('a')
    raise Exception()

@job(name='B')
def b():
    time.sleep(1)
    print('b')
    time.sleep(1)
    print('b')

@job(name='C')
def c():
    print('c')
    time.sleep(1)
    print('c')

c.after(a, 'any')
c.after(b)

c()  # prints a b b a c c

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dawgz-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dawgz-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file dawgz-0.0.1.tar.gz.

File metadata

  • Download URL: dawgz-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dawgz-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b0b2b58efcbc893de40ddeb2d5e5f127cadcca83dcb0c2839fdea83378608d79
MD5 bcc0302375babed17d261008db2c6f99
BLAKE2b-256 68adfdecb5505b277b931059140dee28f96113ab37af1e74c7589083cb2792ff

See more details on using hashes here.

File details

Details for the file dawgz-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dawgz-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dawgz-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3aafe9999f33f45e67c09d2effb20fc2b09ac033de14ce951d67c954b3a8fe6
MD5 3ebddd859195bac9f95f1e57bd54037b
BLAKE2b-256 4422c319e87e68fd0e7c5fc29bc46aa54ab48bac04de8555fae5b091318a7ac8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page