{"id":37230978,"url":"https://github.com/b58uuid/b58uuid-py","last_synced_at":"2026-01-15T03:41:09.796Z","repository":{"id":332069355,"uuid":"1132625817","full_name":"b58uuid/b58uuid-py","owner":"b58uuid","description":"Base58-encoded UUID library for Python","archived":false,"fork":false,"pushed_at":"2026-01-12T09:32:24.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T18:25:16.491Z","etag":null,"topics":["b58","b58uuid","base58","base58-uuid","encoding","lib","library","py","python","short-uuid","uid","url-safe","uuid","uuid-alternative"],"latest_commit_sha":null,"homepage":"https://b58uuid.io","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/b58uuid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-12T08:20:35.000Z","updated_at":"2026-01-12T09:52:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/b58uuid/b58uuid-py","commit_stats":null,"previous_names":["b58uuid/b58uuid-py"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/b58uuid/b58uuid-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b58uuid","download_url":"https://codeload.github.com/b58uuid/b58uuid-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["b58","b58uuid","base58","base58-uuid","encoding","lib","library","py","python","short-uuid","uid","url-safe","uuid","uuid-alternative"],"created_at":"2026-01-15T03:41:09.162Z","updated_at":"2026-01-15T03:41:09.791Z","avatar_url":"https://github.com/b58uuid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# B58UUID for Python\n\n[![PyPI version](https://img.shields.io/pypi/v/b58uuid.svg)](https://pypi.org/project/b58uuid/)\n[![Python versions](https://img.shields.io/pypi/pyversions/b58uuid.svg)](https://pypi.org/project/b58uuid/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Tests](https://github.com/b58uuid/b58uuid-py/actions/workflows/test.yml/badge.svg)](https://github.com/b58uuid/b58uuid-py/actions/workflows/test.yml)\n\nBase58-encoded UUID library for Python with zero dependencies.\n\n## Why This Library?\n\n- **Compact**: 22 characters instead of 36\n- **URL-safe**: No special characters that need escaping\n- **Unambiguous**: Uses Bitcoin's Base58 alphabet (excludes 0, O, I, l)\n- **Fast**: Optimized encoding/decoding algorithms\n- **Safe**: Comprehensive error handling with overflow protection\n- **Zero dependencies**: Uses only Python standard library\n- **Type hints**: Full type annotation support\n- **Python 3.8+**: Compatible with Python 3.8 and higher\n\n## Installation\n\n```bash\npip install b58uuid\n```\n\n## Usage\n\n```python\nimport b58uuid\n\n# Generate a new UUID\nb58 = b58uuid.generate()\nprint(b58)  # Output: 3FfGK34vwMvVFDedyb2nkf\n\n# Encode existing UUID\nencoded = b58uuid.encode('550e8400-e29b-41d4-a716-446655440000')\nprint(encoded)  # Output: BWBeN28Vb7cMEx7Ym8AUzs\n\n# Decode back to UUID\nuuid_str = b58uuid.decode('BWBeN28Vb7cMEx7Ym8AUzs')\nprint(uuid_str)  # Output: 550e8400-e29b-41d4-a716-446655440000\n```\n\n## API\n\n### Functions\n\n- `generate() -\u003e str` - Generate a new random UUID and return Base58 encoding\n- `encode(uuid_str: str) -\u003e str` - Encode UUID string to Base58\n- `decode(b58_str: str) -\u003e str` - Decode Base58 string to UUID\n\n### Exceptions\n\n- `ValueError` - Raised for invalid input or overflow\n\n## Features\n\n- Zero dependencies (uses only Python standard library)\n- Always produces exactly 22 characters\n- Uses Bitcoin Base58 alphabet (no 0, O, I, l)\n- Thread-safe operations\n- Type hints support\n- Full error handling with overflow protection\n\n## Testing\n\n```bash\n# Run tests\npython -m pytest tests/ -v\n\n# Run tests with coverage\npython -m pytest tests/ --cov=b58uuid --cov-report=html\n```\n\n## Development\n\n### Requirements\n\n- Python 3.8 or higher\n- pytest (for testing)\n\n### Building from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/b58uuid/b58uuid-py.git\ncd b58uuid-py\n\n# Install in development mode\npip install -e \".[dev]\"\n\n# Run tests\npython -m pytest tests/ -v\n\n# Build package\npython -m build\n```\n\nFor detailed contribution guidelines, see [CONTRIBUTING.md](.github/CONTRIBUTING.md).\n\n## License\n\nMIT License - see LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb58uuid%2Fb58uuid-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb58uuid%2Fb58uuid-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb58uuid%2Fb58uuid-py/lists"}