{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"BinaPy wraps Python's binary-handling libraries (hashlib, base64, zlib, urllib.parse, json, pickle) into a fluent, chainable interface for encoding, decoding, compressing, and hashing data.","skillfed_tags":["binary-data","fluent-interface","encoding-decoding"],"use_cases":["Chain multiple encoding steps (e.g., compress then base64-encode) in a single readable expression.","Simplify hash computation with optional salt by calling a single method instead of hashlib boilerplate.","Decode layered data (e.g., base64url-wrapped deflate-compressed JSON) by chaining decode_from calls.","Extend the library with custom formats by subclassing or registering new codecs.","Reduce repetitive imports and function calls when working with standard compression and encoding formats."],"what_it_does":"BinaPy is a thin wrapper around Python's standard binary-handling modules (hashlib, base64, zlib, urllib.parse, json, pickle) that chains operations through a fluent interface. Instead of calling separate functions or methods in sequence, you chain `.to()` and `.decode_from()` calls on a BinaPy object (which is itself a bytes subclass), making code more readable when performing multiple encoding, compression, or hashing steps in sequence.\n\nThe package targets developers who work with binary data transformations\u2014encoding to base64url, compressing with gzip or deflate, hashing with SHA256, URL-encoding, and similar tasks. It does not add new functionality beyond what the standard library offers; it reorganizes and chains existing operations. The single runtime dependency is typing-extensions, and it supports Python 3.8 through 3.12.","worth_installing":"Yes, if you frequently chain multiple binary transformations and prefer a fluent API over repeated standard-library calls. No, if you only use one or two encoding/hashing operations per script\u2014the standard library is already straightforward and requires no dependency. Caution: Pre-Alpha status and dormant maintenance (last release January 2024) mean the API may change and bugs may not be addressed quickly."},"id":"binapy","links":{"html":"https://skillfed.io/packages/binapy","md":"https://skillfed.io/packages/binapy.md","pypi":"https://pypi.org/project/binapy/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-01-19","license_spdx":null,"license_treatment":"permissive","name":"binapy","python_support":"supports_current","summary":"Binary Data manipulation, for humans."},"popularity":{"monthly_downloads":1006264,"position":4526,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.8.0"}
