Skip to main content

A package for easing return of multiple values

Project description

Warg

Old-Norse: Varg

warg python

Build Status Code style: black Coverage Status Python package___

Devour everything :wolf:


This package is a selection of generalised small utilities classes for many use-cases, a brief description of each follows.

  • A class for easing return of multiple values, implicit handling of args and kwargs and more.

  • A class for executing any 'heavy' function asynchronously storing any results in a bounded queue. Note: communication and organisation is costly, intended for heavy processing functions and general queuing.

  • A set of utility functions for parsing/sanitising python config files, and presenting attributes using common python conventions and practices.

  • Some Mixin classes for iterating Mapping Types.

  • A single base class and metaclass, differentiating on whether subclasses singletons should be instated on own subclass basis or on the supertype.

  • A "contract" decorator, "kw passing" is a concept that lets one make a contract with the caller that all kwargs with be passed onwards to a receiver, this lets the caller inspect available kwargs of the the receiver function allowing for autocompletion, typing and documentation fetching.

  • and more..

Disclaimer

Use warg with caution, some features might break as python naturally evolves. Warg uses some advanced features of python and sometimes abuse notation/syntax, with some pretty hard assumptions on input and interaction. With this in mind please have fun with it epic_face


With great power comes great responsibility :wink:


Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Warg-0.4.9-py36-none-any.whl (43.3 kB view hashes)

Uploaded Python 3.6

Supported by

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