Commits

Anonymous committed 28a205d

Cleanup and version increment

  • Participants
  • Parent commits 9122f84

Comments (0)

Files changed (2)

File rstr/rstr_base.py

 from copy import copy
 from functools import partial
 from rstr.xeger import Xeger
-import sys
 
 
 ALPHABETS = {'printable': string.printable,
-              'letters': string.ascii_letters,
-              'uppercase': string.ascii_uppercase,
-              'lowercase': string.ascii_lowercase,
-              'digits': string.digits,
-              'punctuation': string.punctuation,
-              'nondigits': string.ascii_letters + string.punctuation,
-              'nonletters': string.digits + string.punctuation,
-              'whitespace': string.whitespace,
-              'nonwhitespace': string.printable.strip(),
-              'normal': string.ascii_letters + string.digits + ' ',
-              'word': string.ascii_letters + string.digits + '_',
-              'nonword': ''.join(set(string.printable).difference(string.ascii_letters +
-                                                          string.digits + '_')),
-              'postalsafe': string.ascii_letters + string.digits + ' .-#/',
-              'urlsafe': string.ascii_letters + string.digits + '-._~',
-              'domainsafe': string.ascii_letters + string.digits + '-'
+             'letters': string.ascii_letters,
+             'uppercase': string.ascii_uppercase,
+             'lowercase': string.ascii_lowercase,
+             'digits': string.digits,
+             'punctuation': string.punctuation,
+             'nondigits': string.ascii_letters + string.punctuation,
+             'nonletters': string.digits + string.punctuation,
+             'whitespace': string.whitespace,
+             'nonwhitespace': string.printable.strip(),
+             'normal': string.ascii_letters + string.digits + ' ',
+             'word': string.ascii_letters + string.digits + '_',
+             'nonword': ''.join(set(string.printable).difference(string.ascii_letters +
+                                                                 string.digits + '_')),
+             'postalsafe': string.ascii_letters + string.digits + ' .-#/',
+             'urlsafe': string.ascii_letters + string.digits + '-._~',
+             'domainsafe': string.ascii_letters + string.digits + '-'
             }
 
 
 import unittest
 
 setup(name='rstr',
-      version='2.1.0',
+      version='2.1.1',
       description='Generate random strings in Python',
       author='Leapfrog Direct Response LLC',
       author_email='oss@leapfrogdevelopment.com',