wyvern.minimal

Minimal implementation of wyvern.

Entries include

  • Manager Basic manager implementation

  • main.main() Main function

class wyvern.minimal.Manager

Manager Class.

The configuration and secrets variables are specific to the Factory or Artisan which created the job.

abstract add_job(job: Job | None) None

Add a job object to the queue.

This will add to the queue of jobs to be executed directly after this.

configuration: DataStore

Variables affecting how download jobs are processed.

These are straightforward nonsensitive variables. Examples include:

  • Bitrate to download at

  • URL to site

plugin_id: str

The calling Artisan or Factory’s plugin_id

secrets: DataStore

More sensitive variables.

These should be obfuscated in any UI and stored more securely. Examples include:

  • API Keys

  • Passwords

  • Cookie Values

Modules

wyvern.minimal.manager

Minimal Manager Class.