Skip to main content

# vumi-unidecode-middleware [Vumi][vumi] middleware that runs message content through unidecode

## Using the middleware

The path to the middleware class is vumi_unidecode_middleware.UnidecodeMiddleware.

There are two optional config parameters.

message_direction must be one of inbound, outbound, or both. This limits whether to transform inbound, outbound, or both inbound and outbound messages. Defaults to both

ignore_characters is a string of characters that, excluding ASCII characters, will be excluded from being converted. Defaults to no characters.

For more information on how to run vumi middleware, please consult the [vumi middleware documentation][vumi_middleware].

## Testing

To run the tests, install the dependancies and use the trial test runner:

pip install -e . trial vumi_unidecode_middleware

[vumi]: https://github.com/praekelt/vumi [vumi_middleware]: https://vumi.readthedocs.io/en/latest/middleware/index.html

Metadata

Release files for vumi-unidecode-middleware 0.0.2

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

Source distribution (sdist)

Source distribution for vumi-unidecode-middleware 0.0.2
File Size Uploaded
vumi_unidecode_middleware-0.0.2.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vumi-unidecode-middleware 0.0.2
File Interpreter ABI Platform
vumi_unidecode_middleware-0.0.2-py2-none-any.whl Python 2 none any Details

Total release size: 9.4 kB

Release files / vumi_unidecode_middleware-0.0.2.tar.gz

Download URL vumi_unidecode_middleware-0.0.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7a51c9669213a24068ac762675ab5026eebc92f791fd2eb8ad3dd69f99c9d3be
BLAKE2b-256 checksum
How to use checksums
62afdb1db27c2429f6285029f4d1f5bbc2114fe76d703dffe90a27e7362aff0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / vumi_unidecode_middleware-0.0.2-py2-none-any.whl

Download URL vumi_unidecode_middleware-0.0.2-py2-none-any.whl
Size 5.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
2c522283c1f20c8c17531e838c24f866e67efd38d32353e4e0f05cdae64f2916
BLAKE2b-256 checksum
How to use checksums
a9ccfaef2ca8a55422d191e5f4c2ca1c34667ded09a9d3e6467cdd0fd6f6b9ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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