Skip to content

Commit 442626c

Browse files
author
jeff putnam
committed
Added some more endpoints. Bumped version to 1.2.0
1 parent 6df27ab commit 442626c

File tree

7 files changed

+718
-28
lines changed

7 files changed

+718
-28
lines changed

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ include *.py
22
include *.txt
33
include *.rst
44
include MANIFEST.in
5-
include RELEASE.notes
6-
recursive-include telesign *.py

README.rst

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ With just two classes, **telesign.api** abstracts much of the complexity of the
2525
+----------------------+--------------------------------------------------------------------------+
2626
| Python Class | Description |
2727
+======================+==========================================================================+
28-
| telesign.api.PhoneId | The **PhoneId** class exposes four services that each provide |
28+
| telesign.api.PhoneId | The **PhoneId** class exposes three services that each provide |
2929
| | information about a specified phone number. |
3030
| | |
3131
| | *standard* |
@@ -40,13 +40,10 @@ With just two classes, **telesign.api** abstracts much of the complexity of the
4040
| | *contact* |
4141
| | In addition to the information retrieved by *standard*, this service |
4242
| | provides the Name & Address associated with the specified phone |
43-
| | number. |
44-
| | *live* |
45-
| | In addition to the information retrieved by standard, this service |
46-
| | provides actionable data associated with the specified phone number. |
43+
| | number. |
4744
| | |
4845
+----------------------+--------------------------------------------------------------------------+
49-
| telesign.api.Verify | The **Verify** class exposes four services for sending users a |
46+
| telesign.api.Verify | The **Verify** class exposes two services for sending users a |
5047
| | verification token (a three to five-digit number). You can use this |
5148
| | mechanism to simply test whether you can reach users at the phone number |
5249
| | they supplied, or you can have them use the token to authenticate |
@@ -60,17 +57,10 @@ With just two classes, **telesign.api** abstracts much of the complexity of the
6057
| | |
6158
| | *call* |
6259
| | Calls the specified phone number, and using speech synthesis—speaks |
63-
| | the verification code to the user. |
60+
| | the verification code to the user. |
6461
| | *sms* |
6562
| | Send a text message containing the verification code to the |
66-
| | specified phone number (supported for mobile phones only). |
67-
| | *smart* |
68-
| | Smart will intelligently determines the best service to use based on |
69-
| | the end user device and then attempts to place a call, send an SMS, |
70-
| | or send a push request. |
71-
| | *push* |
72-
| | Send a push notification containing the verification code to the |
73-
| | specified phone number (supported for registered devices only). |
63+
| | specified phone number (supported for mobile phones only). |
7464
| | *status* |
7565
| | Retrieves the verification result. You make this call in your web |
7666
| | application after users complete the authentication transaction |

RELEASE.notes

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Release 1.1.1
2-
3-
- Fixed setup.py packages directive and added recursive-include to manifest.
4-
51
Release 1.1.0
62

73
- This module should now work with Python3.4+ (and has been tested
@@ -53,4 +49,3 @@ Release 1.1.0
5349
level and at the individual call level. See the documentation in
5450
the requests module.
5551

56-
jeff putnam - jputnam@telesign.com

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from distutils.cmd import Command
55

66

7-
version = "1.1.2"
7+
version = "1.2.0"
88

99
f = open("README.rst")
1010
try:
@@ -65,15 +65,18 @@ def run(self):
6565
"Operating System :: OS Independent",
6666
"Programming Language :: Python :: 2.6",
6767
"Programming Language :: Python :: 2.7",
68-
"Programming Language :: Python :: 3",
68+
"Programming Language :: Python :: 3.4",
69+
"Topic :: TeleSign :: Libraries",
6970
],
7071
long_description=readme_content,
7172
keywords = 'telesign, sms, two factor authentication',
7273
author = 'TeleSign Corp.',
7374
author_email='support@telesign.com',
7475
url="http://github.com/telesign/python_telesign",
75-
install_requires=['requests'],
76-
packages=["telesign"],
76+
install_requires=['requests==2.8.0',
77+
],
78+
79+
packages=find_packages(exclude=['test', 'test.*']),
7780
cmdclass={"doc": doc},
7881
)
7982

telesign/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
__import__('pkg_resources').declare_namespace(__name__)
12
from pkg_resources import get_distribution
23
__version__ = get_distribution("telesign").version

0 commit comments

Comments
 (0)