Skip to content

Instantly share code, notes, and snippets.

View jamesduffy's full-sized avatar
🫨
ballin and bawlin

James Duffy jamesduffy

🫨
ballin and bawlin
View GitHub Profile
@jamesduffy
jamesduffy / README.md
Created June 13, 2017 21:13 — forked from joelthompson/README.md
Vault Auth
#!/bin/python
# This simple Python script runs simulations for different retry algorithms
# The results are printed as CSV data to the console
# See this article on my blog for details:
# https://blog.miguelgrinberg.com/post/how-to-retry-with-class
from random import random, choice