Skip to main content

Are you a Henson user? Are you looking to take advantage of unreleased features? Have you discovered Doozer and are curious to try it but are concerned about missing extensions or the work involved in updating your imports?

If you’ve answered “yes” to these questions then doozerify is for you. doozerify is a module that you can install that will make import look for Doozer equivalents for all of your Henson imports, falling back to the Henson version if no equivalent is found.

Installation

$ pip3 install doozerify

Usage

Place the following code at the beginning of the entry point to your application:

import doozerify
doozerify.install()

Example

import doozerify
doozerify.install()

from henson import Application


class Consumer(object):
    async def read(self):
        return {}


async def callback(app, message):
    return message

app = Application('doozerified', callback=callback, consumer=consumer)
app.run()

But wait, there’s more!

What if you already use Doozer but want to use an extension that’s only available for Henson? doozerify lets you do that, too!

import doozerify
doozerify.install()
doozerify.install_fallback()

from doozer import Application
from doozer_henson_only import Extension

Release files for doozerify 0.2.0

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

Source distribution (sdist)

Source distribution for doozerify 0.2.0
File Size Uploaded
doozerify-0.2.0.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / doozerify-0.2.0.tar.gz

Download URL doozerify-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c0ddcdace2efa60238c20ed7b178fd1d9f35a7b477a921ac970cb70374f30ff6
BLAKE2b-256 checksum
How to use checksums
949ec8707ed7336f0d4de5dd2124cfc2ab90ddee7f4870f6647196c814f6f482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / doozerify-0.2.0-py3-none-any.whl

Download URL doozerify-0.2.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32f43439479d55070122271299c50991171eb3e06c40ddd490168efa8609efc3
BLAKE2b-256 checksum
How to use checksums
7a57a0bdfaceb2b809801973ae4615256214d2c47bb440438d3d0317c04fc2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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