Skip to content

avnik/composite.snowflake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standalone Snowflake Generator

Overview

composite.snowflake is a simplified Python implementation of Twitter's snowflake. It implemented in pure Python, as simple standalone library.

Pyramid integration

Also this package contain Zope interface declaration for ISnowflake, and optional configuration shim for pyramid. Just include into configuration composite.snowflake.pyramid and get ISnowflake utility. It automatically take care on snowflake.datacenter_id and snowflake.worker_id in your paster .ini file.

But composite.snowflake does not require pyramid or zope.interface unless you import interface declaration, or activate package from pyramid side.

Installation

Just add composite.snowflake into you buildout.cfg

License

Code licensed under MIT/X license.

About

Pure python and serverless implementation of Twitter's Snowflake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages