Skip to main content

Greetings from Scheduguru

Scheduguru was a project I created very recently to enrichen my learning of threading and asynchronous programming in Python.

How to use

Currently there's not much to go by so this is all the documentation you get:

The Scheduler class

This is the main class that Scheduguru revolves around. When initialised the following parameters can be passed in:

  • name: str: This is a string that defines the Scheduler's name. Has no functional significance. If in doubt, set this to the value of __name__
  • wait_time: int: An integer (in seconds) that defines how long the scheduler should wait for new tasks without terminating

There is only one publicly available method which is the Scheduler.schedule method.

The Scheduler.schedule method

This method schedules an event for execution as soon as possible. It adds it to the task queue which the scheduler will listen for changes to and execute any new tasks.

The specification of the Scheduler.schedule method is as follows:

  • task: Callable - a reference to the function which is to be executed
  • args: tuple[Any] - any positional arguments to be passed into the function
  • kwargs: dict[str, Any] - any keyword arguments to be passed into the function

Go and explore the rest! (not that there is anything else)

Release files for scheduguru 0.0.5

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

Source distribution (sdist)

Source distribution for scheduguru 0.0.5
File Size Uploaded
scheduguru-0.0.5.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scheduguru 0.0.5
File Interpreter ABI Platform
scheduguru-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / scheduguru-0.0.5.tar.gz

Download URL scheduguru-0.0.5.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
24d2cb6915fd0a2f95d9e974bde1ab3aa51f6f8ab8796869d35f4c824ff331e0
BLAKE2b-256 checksum
How to use checksums
a95a134c3cfa52382f3bd3a05011df665f2200044f6d81bb41a5c65c6151de50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / scheduguru-0.0.5-py3-none-any.whl

Download URL scheduguru-0.0.5-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f7e1adae4a8f982e033fd539dc894ed82ac1de2ba90975fced0626f8b81f273
BLAKE2b-256 checksum
How to use checksums
c20daa24c22ed539fb43b9b231ef2c2e80b093deae2d6013928d733a3c6717b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.3

2 release files

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