Skip to main content

Codec for binary escapes

Project description

Registers a codec for representing binary escapes in text domain.

>>> b"Hello, World!".decode("all-escapes")
'\\x48\\x65\\x6c\\x6c\\x6f\\x2c\\x20\\x57\\x6f\\x72\\x6c\\x64\\x21'

>>> r"\x48\x65\x6c\x6c\x6f\x2c\x20\x57\x6f\x72\x6c\x64\x21".encode("all-escapes")
b'Hello, World!'

Project details


Release history Release notifications | RSS feed

This version

0.1

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

If you're not sure about the file name format, learn more about wheel file names.

all_escapes-0.1-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file all_escapes-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: all_escapes-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.3

File hashes

Hashes for all_escapes-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f180aeaa39dd55d89463829805b4482db411b5ebc169f85e14557f88d196b223
MD5 493163ee8b3b098c0a652c2da4a05ef6
BLAKE2b-256 7a5c94753e3e49ee9fb6c0b8e610147705ea84f5937f5726293156b38db4eeaa

See more details on using hashes here.

Supported by

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