Skip to main content

A scheduler of stuff (ASOS)

This is a task manager, sort of. Supports plugins for storage and for executors.

Configuration

Takes quite few parameters:

{
  "uuid": "current_instance_name",
  "storage_plugin": "mysql"
}

Storage plugins

Should implement two methods:

  1. Get all active tasks
  2. Add a result of task execution
class Storage():

	def get_tasks(self):
		return {task_id: task, ...}

	def add(self, task_id, task, env, result, dump=None):
		return True

Executor plugins

Does the actual work. The name of plugin should match a task_type field.

class Executor():

	def do(self, task, env):
		return result, dump

Tasks

Task objects represent tasks that need to be done. Should contain all additional parameters, required by your plugins.

{
  "task_type": executor_plugin_name,
  "task_interval": 60,
  "additional_param": "value"
}

Metadata

Release files for asos 1.0.8

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

Built distribution (wheel)

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

Release files / asos-1.0.8-py3-none-any.whl

Download URL asos-1.0.8-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4340731dc618ed297b849acd2521972f0a2f8e8b35b054a0fa8a833ee567023
BLAKE2b-256 checksum
How to use checksums
4f77bba8c1ac5ab1e68c5aca58edc567743a35fd99c0f65e4ab0cf9b24865d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10

Security for asos 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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