Catalog PyPI
PACKAGE EXPLORERView in registry

adafruit-circuitpython-binascii

PyPI

Helpers for conversions between binary and ASCII

adafruitasciibinarybinasciiblinkacircuitpythonconversionmicropython
Versions collected1
Direct dependencies1From release 2.0.10
Last observed20 Oct, 18:48 UTC

README

Version 2.0.10 documentation
Introduction
============

.. image:: https://readthedocs.org/projects/binascii/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/binascii/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_binascii/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_binascii/actions/
    :alt: Build Status

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Code Style: Ruff

The binascii module contains a number of methods to convert between binary and various ASCII-encoded binary representations.

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
=====================
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-binascii/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-binascii

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-binascii

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install adafruit-circuitpython-binascii

Usage Example
=============

Hex <-> Binary Conversions

.. code-block:: python

        from adafruit_binascii import hexlify, unhexlify
        # Binary data.
        data = b"CircuitPython is Awesome!"

        # Get the hexadecimal representation of the binary data
        hex_data = hexlify(data)
        print("Hex Data: ", hex_data)

        # Get the binary data represented by hex_data
        bin_data = unhexlify(hex_data)
        print("Binary Data: ", bin_data)

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/binascii/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_binascii/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

Downloads & popularity

35downloads
1-day window · source-reported counts20 Oct 2026
84420
2026-07-23: 51 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-23–2026-07-232026-07-24: 50 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-24–2026-07-242026-07-25: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-25–2026-07-252026-07-26: 55 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-26–2026-07-262026-07-27: 59 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-27–2026-07-272026-07-28: 49 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-28–2026-07-282026-07-29: 53 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-29–2026-07-292026-07-30: 55 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-30–2026-07-302026-07-31: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-07-31–2026-07-312026-08-01: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-01–2026-08-012026-08-02: 55 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-02–2026-08-022026-08-03: 58 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-03–2026-08-032026-08-04: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-04–2026-08-042026-08-05: 57 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-05–2026-08-052026-08-06: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-06–2026-08-062026-08-07: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-07–2026-08-072026-08-08: 55 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-08–2026-08-082026-08-09: 78 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-09–2026-08-092026-08-10: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-10–2026-08-102026-08-11: 42 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-11–2026-08-112026-08-12: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-12–2026-08-122026-08-13: 61 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-13–2026-08-132026-08-14: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-14–2026-08-142026-08-15: 51 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-15–2026-08-152026-08-16: 51 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-16–2026-08-162026-08-17: 56 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-17–2026-08-172026-08-18: 41 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-18–2026-08-182026-08-19: 49 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-19–2026-08-192026-08-20: 52 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-20–2026-08-202026-08-21: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-21–2026-08-212026-08-22: 62 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-22–2026-08-222026-08-23: 50 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-23–2026-08-232026-08-24: 84 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-24–2026-08-242026-08-25: 30 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-25–2026-08-252026-08-26: 34 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-26–2026-08-262026-08-27: 32 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-27–2026-08-272026-08-28: 35 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-28–2026-08-282026-08-29: 34 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-29–2026-08-292026-08-30: 23 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-30–2026-08-302026-08-31: 31 · observed 2026-10-21T15:15:29.9575944Z · period 2026-08-31–2026-08-312026-09-01: 39 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-01–2026-09-012026-09-02: 32 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-02–2026-09-022026-09-03: 29 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-03–2026-09-032026-09-04: 42 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-04–2026-09-042026-09-05: 72 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-05–2026-09-052026-09-06: 39 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-06–2026-09-062026-09-07: 60 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-07–2026-09-072026-09-08: 40 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-08–2026-09-082026-09-09: 42 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-09–2026-09-092026-09-10: 47 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-10–2026-09-102026-09-11: 41 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-11–2026-09-112026-09-12: 35 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-12–2026-09-122026-09-13: 34 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-13–2026-09-132026-09-14: 38 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-14–2026-09-142026-09-15: 48 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-15–2026-09-152026-09-16: 39 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-16–2026-09-162026-09-17: 34 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-17–2026-09-172026-09-18: 45 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-18–2026-09-182026-09-19: 40 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-19–2026-09-192026-09-20: 35 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-20–2026-09-202026-09-21: 35 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-21–2026-09-212026-09-22: 45 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-22–2026-09-222026-09-23: 32 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-23–2026-09-232026-09-24: 72 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-24–2026-09-242026-09-25: 46 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-25–2026-09-252026-09-26: 38 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-26–2026-09-262026-09-27: 31 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-27–2026-09-272026-09-28: 37 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-28–2026-09-282026-09-29: 41 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-29–2026-09-292026-09-30: 61 · observed 2026-10-21T15:15:29.9575944Z · period 2026-09-30–2026-09-302026-10-01: 29 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-01–2026-10-012026-10-02: 28 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-02–2026-10-022026-10-03: 33 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-03–2026-10-032026-10-04: 39 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-04–2026-10-042026-10-05: 39 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-05–2026-10-052026-10-06: 32 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-06–2026-10-062026-10-07: 47 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-07–2026-10-072026-10-08: 57 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-08–2026-10-082026-10-09: 48 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-09–2026-10-092026-10-10: 36 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-10–2026-10-102026-10-11: 50 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-11–2026-10-112026-10-12: 26 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-12–2026-10-122026-10-13: 38 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-13–2026-10-132026-10-14: 32 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-14–2026-10-142026-10-15: 29 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-15–2026-10-152026-10-16: 62 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-16–2026-10-162026-10-17: 30 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-17–2026-10-172026-10-18: 25 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-18–2026-10-182026-10-19: 26 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-19–2026-10-192026-10-20: 35 · observed 2026-10-21T15:15:29.9575944Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 90 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-20352026-10-21T15:15:29.9575944Z
2026-10-19 – 2026-10-19262026-10-21T15:15:29.9575944Z
2026-10-18 – 2026-10-18252026-10-21T15:15:29.9575944Z
2026-10-17 – 2026-10-17302026-10-21T15:15:29.9575944Z
2026-10-16 – 2026-10-16622026-10-21T15:15:29.9575944Z
2026-10-15 – 2026-10-15292026-10-21T15:15:29.9575944Z
2026-10-14 – 2026-10-14322026-10-21T15:15:29.9575944Z
2026-10-13 – 2026-10-13382026-10-21T15:15:29.9575944Z
2026-10-12 – 2026-10-12262026-10-21T15:15:29.9575944Z
2026-10-11 – 2026-10-11502026-10-21T15:15:29.9575944Z
2026-10-10 – 2026-10-10362026-10-21T15:15:29.9575944Z
2026-10-09 – 2026-10-09482026-10-21T15:15:29.9575944Z
2026-10-08 – 2026-10-08572026-10-21T15:15:29.9575944Z
2026-10-07 – 2026-10-07472026-10-21T15:15:29.9575944Z
2026-10-06 – 2026-10-06322026-10-21T15:15:29.9575944Z
2026-10-05 – 2026-10-05392026-10-21T15:15:29.9575944Z
2026-10-04 – 2026-10-04392026-10-21T15:15:29.9575944Z
2026-10-03 – 2026-10-03332026-10-21T15:15:29.9575944Z
2026-10-02 – 2026-10-02282026-10-21T15:15:29.9575944Z
2026-10-01 – 2026-10-01292026-10-21T15:15:29.9575944Z
2026-09-30 – 2026-09-30612026-10-21T15:15:29.9575944Z
2026-09-29 – 2026-09-29412026-10-21T15:15:29.9575944Z
2026-09-28 – 2026-09-28372026-10-21T15:15:29.9575944Z
2026-09-27 – 2026-09-27312026-10-21T15:15:29.9575944Z
2026-09-26 – 2026-09-26382026-10-21T15:15:29.9575944Z
2026-09-25 – 2026-09-25462026-10-21T15:15:29.9575944Z
2026-09-24 – 2026-09-24722026-10-21T15:15:29.9575944Z
2026-09-23 – 2026-09-23322026-10-21T15:15:29.9575944Z
2026-09-22 – 2026-09-22452026-10-21T15:15:29.9575944Z
2026-09-21 – 2026-09-21352026-10-21T15:15:29.9575944Z
2026-09-20 – 2026-09-20352026-10-21T15:15:29.9575944Z
2026-09-19 – 2026-09-19402026-10-21T15:15:29.9575944Z
2026-09-18 – 2026-09-18452026-10-21T15:15:29.9575944Z
2026-09-17 – 2026-09-17342026-10-21T15:15:29.9575944Z
2026-09-16 – 2026-09-16392026-10-21T15:15:29.9575944Z
2026-09-15 – 2026-09-15482026-10-21T15:15:29.9575944Z
2026-09-14 – 2026-09-14382026-10-21T15:15:29.9575944Z
2026-09-13 – 2026-09-13342026-10-21T15:15:29.9575944Z
2026-09-12 – 2026-09-12352026-10-21T15:15:29.9575944Z
2026-09-11 – 2026-09-11412026-10-21T15:15:29.9575944Z
2026-09-10 – 2026-09-10472026-10-21T15:15:29.9575944Z
2026-09-09 – 2026-09-09422026-10-21T15:15:29.9575944Z
2026-09-08 – 2026-09-08402026-10-21T15:15:29.9575944Z
2026-09-07 – 2026-09-07602026-10-21T15:15:29.9575944Z
2026-09-06 – 2026-09-06392026-10-21T15:15:29.9575944Z
2026-09-05 – 2026-09-05722026-10-21T15:15:29.9575944Z
2026-09-04 – 2026-09-04422026-10-21T15:15:29.9575944Z
2026-09-03 – 2026-09-03292026-10-21T15:15:29.9575944Z
2026-09-02 – 2026-09-02322026-10-21T15:15:29.9575944Z
2026-09-01 – 2026-09-01392026-10-21T15:15:29.9575944Z
2026-08-31 – 2026-08-31312026-10-21T15:15:29.9575944Z
2026-08-30 – 2026-08-30232026-10-21T15:15:29.9575944Z
2026-08-29 – 2026-08-29342026-10-21T15:15:29.9575944Z
2026-08-28 – 2026-08-28352026-10-21T15:15:29.9575944Z
2026-08-27 – 2026-08-27322026-10-21T15:15:29.9575944Z
2026-08-26 – 2026-08-26342026-10-21T15:15:29.9575944Z
2026-08-25 – 2026-08-25302026-10-21T15:15:29.9575944Z
2026-08-24 – 2026-08-24842026-10-21T15:15:29.9575944Z
2026-08-23 – 2026-08-23502026-10-21T15:15:29.9575944Z
2026-08-22 – 2026-08-22622026-10-21T15:15:29.9575944Z
2026-08-21 – 2026-08-21462026-10-21T15:15:29.9575944Z
2026-08-20 – 2026-08-20522026-10-21T15:15:29.9575944Z
2026-08-19 – 2026-08-19492026-10-21T15:15:29.9575944Z
2026-08-18 – 2026-08-18412026-10-21T15:15:29.9575944Z
2026-08-17 – 2026-08-17562026-10-21T15:15:29.9575944Z
2026-08-16 – 2026-08-16512026-10-21T15:15:29.9575944Z
2026-08-15 – 2026-08-15512026-10-21T15:15:29.9575944Z
2026-08-14 – 2026-08-14522026-10-21T15:15:29.9575944Z
2026-08-13 – 2026-08-13612026-10-21T15:15:29.9575944Z
2026-08-12 – 2026-08-12522026-10-21T15:15:29.9575944Z
2026-08-11 – 2026-08-11422026-10-21T15:15:29.9575944Z
2026-08-10 – 2026-08-10462026-10-21T15:15:29.9575944Z
2026-08-09 – 2026-08-09782026-10-21T15:15:29.9575944Z
2026-08-08 – 2026-08-08552026-10-21T15:15:29.9575944Z
2026-08-07 – 2026-08-07522026-10-21T15:15:29.9575944Z
2026-08-06 – 2026-08-06522026-10-21T15:15:29.9575944Z
2026-08-05 – 2026-08-05572026-10-21T15:15:29.9575944Z
2026-08-04 – 2026-08-04462026-10-21T15:15:29.9575944Z
2026-08-03 – 2026-08-03582026-10-21T15:15:29.9575944Z
2026-08-02 – 2026-08-02552026-10-21T15:15:29.9575944Z
2026-08-01 – 2026-08-01462026-10-21T15:15:29.9575944Z
2026-07-31 – 2026-07-31522026-10-21T15:15:29.9575944Z
2026-07-30 – 2026-07-30552026-10-21T15:15:29.9575944Z
2026-07-29 – 2026-07-29532026-10-21T15:15:29.9575944Z
2026-07-28 – 2026-07-28492026-10-21T15:15:29.9575944Z
2026-07-27 – 2026-07-27592026-10-21T15:15:29.9575944Z
2026-07-26 – 2026-07-26552026-10-21T15:15:29.9575944Z
2026-07-25 – 2026-07-25462026-10-21T15:15:29.9575944Z
2026-07-24 – 2026-07-24502026-10-21T15:15:29.9575944Z
2026-07-23 – 2026-07-23512026-10-21T15:15:29.9575944Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.1023 Apr 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
adafruit/adafruit_circuitpython_binascii

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2a9eda07115cfcdb75bb6342711ffb5de5441ca31cb85037dc3aec0b0c5673d2