11python-usernames
22================
33
4- |Build Status | |Coverage Status | |PyPI version | | PyPI |
4+ |Build Status | |Coverage Status | |PyPI version |
55
66Python library to validate usernames suitable for use in public facing
77applications where use can choose login names and sub-domains.
@@ -13,7 +13,7 @@ Features
1313- Validates against list of `banned
1414 words <https://github.com/theskumar/python-usernames/blob/master/usernames/reserved_words.py> `__
1515 that should not be used as username.
16- - Python 2.6, 2. 7, 3.3 , 3.4 , 3.5 , pypi
16+ - Python 2.7, 3.4 , 3.5 , 3.6 , pypi
1717
1818Installation
1919------------
@@ -29,9 +29,10 @@ Usages
2929
3030 from usernames import is_safe_username
3131
32- >> is_safe_username(" jerk" )
32+ >> > is_safe_username(" jerk" )
3333 False # contains one of the banned words
34- >> is_safe_username(" handsome!" )
34+
35+ >> > is_safe_username(" handsome!" )
3536 False # contains non-url friendly `!`
3637
3738 **is\_ safe\_ username ** takes the following optional arguments:
7677 :target: https://coveralls.io/github/theskumar/python-usernames?branch=master
7778.. |PyPI version | image :: https://badge.fury.io/py/python-usernames.svg
7879 :target: http://badge.fury.io/py/python-usernames
79- .. |PyPI | image :: https://img.shields.io/pypi/dm/python-usernames.svg
80- :target: https://pypi.python.org/pypi/python-usernames
0 commit comments