From 8aeafffb0362cc5685b953786f18f6455b4736a5 Mon Sep 17 00:00:00 2001 From: Zaid Date: Wed, 31 Jan 2018 13:34:35 +0530 Subject: [PATCH 1/4] Added example useage and fixed broken links --- README.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 41bf4b2..2f1ec6d 100644 --- a/README.rst +++ b/README.rst @@ -6,10 +6,20 @@ Distributed ID generation in python for the lazy. To install, run:: pip install simpleflake +Example useage:: + + from simpleflake import simpleflake + + def getid(): + return simpleflake() + You can read an overview of what this does and why it came into being at the `Sawdust Software Blog`_. You can also read the `API Documentation`_ and check out the `Travis build status`_. -.. _Sawdust Software Blog: http://engineering.custommade.com/simpleflake-distributed-id-generation-for-the-lazy + +.. _Sawdust Software Blog: https://web.archive.org/web/20140420064035/http://engineering.custommade.com/simpleflake-distributed-id-generation-for-the-lazy/ + .. _API Documentation: https://simpleflake.readthedocs.org/en/latest/ + .. _Travis build status: https://travis-ci.org/SawdustSoftware/simpleflake From 9a5e327e58bf8e32326599013b053d015ca0b5b7 Mon Sep 17 00:00:00 2001 From: Zaid Date: Wed, 31 Jan 2018 13:35:28 +0530 Subject: [PATCH 2/4] Added example useage and fixed broken links --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2f1ec6d..69c339f 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ Distributed ID generation in python for the lazy. To install, run:: pip install simpleflake -Example useage:: +Example usage:: from simpleflake import simpleflake From 681d155be3d49678fdd20e227208efa096e08ea3 Mon Sep 17 00:00:00 2001 From: Zaid Date: Wed, 31 Jan 2018 13:38:39 +0530 Subject: [PATCH 3/4] Added example useage and fixed broken links --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 69c339f..3f44c3b 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Example usage:: from simpleflake import simpleflake def getid(): - return simpleflake() + return simpleflake() You can read an overview of what this does and why it came into being at the `Sawdust Software Blog`_. From dd88159f017da9105be134009d5edf62c56cc751 Mon Sep 17 00:00:00 2001 From: Zaid Date: Wed, 31 Jan 2018 13:40:04 +0530 Subject: [PATCH 4/4] Added example useage and fixed broken links --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 3f44c3b..7430b14 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Example usage:: from simpleflake import simpleflake def getid(): - return simpleflake() + return simpleflake() You can read an overview of what this does and why it came into being at the `Sawdust Software Blog`_.