Skip to main content
https://travis-ci.org/bninja/coid.png https://coveralls.io/repos/bninja/coid/badge.png?branch=master

Simple codecs for ids. Can be useful when you represent ids differently between domains.

Get it:

$ pip install coid

use it:

import uuid
import coid

id = uuid.uuid4()

id_codec = coid.Id(prefix='BLA-', encoding='base58')
assert id == id_codec.decode(id_codec.encode(id))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coid-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file coid-0.1.1.tar.gz.

File metadata

  • Download URL: coid-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for coid-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ffed4db42f6bf41a3304cfdb6bae4ec8dfcb436440e28c96012767dd73d7fafa
MD5 fd6fb1b743175ee15a1349b632437104
BLAKE2b-256 d49fefcbeb87a3fe10da6316f561028e19d5966459f5701b1532b208a1fc4688

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page