This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

# Python Druuid

A python implementation of a date-realtive (and relatively universally unique) UUID generator. It is based on the [original][1] implementation in Ruby.

## Concept

Druuid’s are a 64 bit identifiers which are sortable since they are time based. A druuid is compromised of 2 blocks: * 41-bit timestamp in miliseconds since epoch * 23 random bits

For example, a druuid generated on 2016-05-16 might look like 12276209757600130011.

In binary: 10101010010111011101101110111011011111011 11100001010001111011011

In base 36: 2L9OH62W41ES0

## Examples

` >>> from druuid import Druuid >>> >>> d = Druuid() >>> d.druuid 12276209757600130011 >>> d.time 'Mon May 16 15:37:23 2016' >>> >>> d = Druuid(12276215031090144168) >>> d.time 'Mon May 16 15:47:52 2016' `

[1]: https://github.com/recurly/druuid

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Druuid-0.1.1.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source May 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting