Skip to content

Commit 99438aa

Browse files
author
Saurabh Kumar
committed
readme update
1 parent b5dc3ca commit 99438aa

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
python-usernames
22
================
33

4-
|Build Status| |Coverage Status| |PyPI version| |PyPI|
4+
|Build Status| |Coverage Status| |PyPI version|
55

66
Python library to validate usernames suitable for use in public facing
77
applications 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

1818
Installation
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:
@@ -76,5 +77,3 @@ MIT
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

Comments
 (0)