{"id":16616806,"url":"https://github.com/keis/base58","last_synced_at":"2025-05-16T05:00:15.545Z","repository":{"id":8381792,"uuid":"9954780","full_name":"keis/base58","owner":"keis","description":"Base58 and Base58Check implementation compatible with what is used by the bitcoin network.","archived":false,"fork":false,"pushed_at":"2022-12-11T10:27:03.000Z","size":94,"stargazers_count":180,"open_issues_count":2,"forks_count":59,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-30T01:02:29.551Z","etag":null,"topics":["base58","bitcoin","encoding","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-09T07:49:20.000Z","updated_at":"2024-07-07T21:05:43.000Z","dependencies_parsed_at":"2023-01-13T14:46:30.677Z","dependency_job_id":null,"html_url":"https://github.com/keis/base58","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keis%2Fbase58","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keis%2Fbase58/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keis%2Fbase58/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keis%2Fbase58/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keis","download_url":"https://codeload.github.com/keis/base58/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471028,"owners_count":22076582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base58","bitcoin","encoding","python"],"created_at":"2024-10-12T02:14:16.417Z","updated_at":"2025-05-16T05:00:15.367Z","avatar_url":"https://github.com/keis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base58\n\n[![PyPI Version][pypi-image]](https://pypi.python.org/pypi?name=base58\u0026:action=display)\n[![PyPI Downloads][pypi-downloads-image]](https://pypi.python.org/pypi?name=base58\u0026:action=display)\n[![Build Status][travis-image]](https://travis-ci.org/keis/base58)\n[![Coverage Status][coveralls-image]](https://coveralls.io/r/keis/base58?branch=master)\n\nBase58 and Base58Check implementation compatible with what is used by the\nbitcoin network. Any other alternative alphabet (like the XRP one) can be used.\n\nStarting from version 2.0.0 **python2 is no longer supported** the 1.x series\nwill remain supported but no new features will be added.\n\n\n## Command line usage\n\n    $ printf \"hello world\" | base58\n    StV1DL6CwTryKyV\n\n    $ printf \"hello world\" | base58 -c\n    3vQB7B6MrGQZaxCuFg4oh\n\n    $ printf \"3vQB7B6MrGQZaxCuFg4oh\" | base58 -dc\n    hello world\n\n    $ printf \"4vQB7B6MrGQZaxCuFg4oh\" | base58 -dc\n    Invalid checksum\n\n\n## Module usage\n\n    \u003e\u003e\u003e import base58\n    \u003e\u003e\u003e base58.b58encode(b'hello world')\n    b'StV1DL6CwTryKyV'\n    \u003e\u003e\u003e base58.b58decode(b'StV1DL6CwTryKyV')\n    b'hello world'\n    \u003e\u003e\u003e base58.b58encode_check(b'hello world')\n    b'3vQB7B6MrGQZaxCuFg4oh'\n    \u003e\u003e\u003e base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh')\n    b'hello world'\n    \u003e\u003e\u003e base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh')\n    Traceback (most recent call last):\n      File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n      File \"base58.py\", line 89, in b58decode_check\n        raise ValueError(\"Invalid checksum\")\n    ValueError: Invalid checksum\n    # Use another alphabet. Here, using the built-in XRP/Ripple alphabet.\n    # RIPPLE_ALPHABET is provided as an option for compatibility with existing code\n    # It is recommended to use XRP_ALPHABET instead\n    \u003e\u003e\u003e base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET)\n    b'StVrDLaUATiyKyV'\n    \u003e\u003e\u003e base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET)\n    b'hello world'\n\n\n[pypi-image]: https://img.shields.io/pypi/v/base58.svg?style=flat\n[pypi-downloads-image]: https://img.shields.io/pypi/dm/base58.svg?style=flat\n[travis-image]: https://img.shields.io/travis/keis/base58.svg?style=flat\n[coveralls-image]: https://img.shields.io/coveralls/keis/base58.svg?style=flat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeis%2Fbase58","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeis%2Fbase58","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeis%2Fbase58/lists"}