{"id":23341,"library":"based58","title":"Base58","description":"A fast Python library for Base58 and Base58Check encoding/decoding. Version 0.1.1 supports Python >=3.7. Development is active with releases on a monthly cadence.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/keis/base58","tags":["base58","encoding","cryptocurrency","bitcoin"],"install":[{"cmd":"pip install based58","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"A commonly confused library with similar name and API. based58 is not a dependency of base58 or vice versa.","package":"base58","optional":true}],"imports":[{"wrong":"from based58 import Base58","symbol":"b58encode","correct":"from based58 import b58encode"},{"wrong":"from based58 import Base58","symbol":"b58decode","correct":"from based58 import b58decode"},{"wrong":"from based58 import Base58","symbol":"Alphabet","correct":"from based58 import Alphabet"}],"quickstart":{"code":"from based58 import base58_encode, base58_decode\n\nencoded = base58_encode(b'hello world')\nprint(encoded)  # b'STV9KUJUjQJRyv7'\ndecoded = base58_decode(encoded)\nprint(decoded)  # b'hello world'","lang":"python","description":"Encode and decode bytes using Base58."},"warnings":[{"fix":"Use 'pip install based58' and import from 'based58'.","message":"Do not confuse with the 'base58' library. Both provide 'base58_encode'/'base58_decode' but are entirely different packages. Check your requirements file.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure input is bytes, not str. Use .encode() or .decode() as needed.","message":"As of version 0.1.1, the general 'encode'/'decode' functions are not provided; only bytes-to-bytes functions. Do not expect string-in/string-out behavior.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Convert strings to bytes: base58_encode('text'.encode()).","message":"The library expects input to be bytes. Passing a string will raise AttributeError or TypeError depending on Python version.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.1.1':12 '3.7':15 'activ':18 'base58':1,7,25 'base58check':9 'bitcoin':28 'cadenc':24 'cryptocurr':27 'develop':16 'encod':26 'encoding/decoding':10 'fast':3 'librari':5 'month':23 'python':4,14 'releas':20 'support':13 'version':11","created_at":"2026-05-01T08:07:15.994870+00:00","updated_at":"2026-05-01T08:07:15.994870+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.1.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/kevinheavey/based58","docs":"https://kevinheavey.github.io/based58/","changelog":"https://github.com/kevinheavey/based58/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/based58/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}