Skip to main content

nextsms

Downloads Downloads Downloads

Python Package to easy the integration with nextsms SMS Gateway

Become a patron

Getting started

In order to use this package you need to have the NextSMS Account, If you don't have one please take a look at NextSMS, and get your username and password we gonna use them down below;

Install the libary from pip or directly

pip install nextsms

Installing directly from github

Clone this repository or Download a zip of the package and then do this;

git clone https://github.com/Kalebu/nextsms
cd nextsms 
nextsms -> python setup.py install 

Here is an example on how to send an SMS with this package;

>> import nextsms
>> sender = nextsms('your username', 'your password')
>> sender.sendsms(message='hello', recipients=['25575XXXXX','25565XXXX'], sender_id="NEXTSMS")

Bulky ?

NextSms allows you to predefine all message you would like to send with variety of sender IDs and does the rest on how to successful send to all.

Here an Example how you would do that with this package

>> import nextsms
>> sender = nextsms('KalebuJordan', 'kalebu@opensource') 
>> messages = [
    {'from':'NEXTSMS', 'to':'255757294146', 'text':'hello'},
    {'from':'NEXTSMS', 'to':'255754205561', 'text':'hello'}]           
>> sender.send_bulk(messages)

Environment

By default as you can create a nextsms instance it configure the environment to use production urls, If you wanna do on test sandbox here how;

>> import nextsms
>> sender = nextsms('KalebuJordan', 'kalebu@opensource')
>> sender.sandbox = True 

Wanna Contribute ?

Just

  • Fork it
  • Create a new branch
  • Do your changes
  • Make a Pull request
  • You're merged congrats .!!!

Give it a star

Was this useful to you ? Cool then give it a big star !

Connect with me

I use a lot of twitter , let's connect on twitter .

Issues

Encountered issues while using the package, raise an issue and then we gonna work to fix it as soon as it takes

More features coming soon

All the Credits to kalebu

Metadata

Release files for nextsms 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextsms 0.4
File Size Uploaded
nextsms-0.4.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nextsms 0.4
File Interpreter ABI Platform
nextsms-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / nextsms-0.4.tar.gz

Download URL nextsms-0.4.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b6e3ba5540b7c63ee6aea66cee9468cec7b8364439f5e3c683e39905b76a6953
BLAKE2b-256 checksum
How to use checksums
ff8582160b9a180857cf4e6c5cf1d16939c2529570a36187da5f76dc28bc2017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / nextsms-0.4-py3-none-any.whl

Download URL nextsms-0.4-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e389d8e2bfedb631ac6ad0059c81edd67049a35418e11b97f9d7c634a6baee83
BLAKE2b-256 checksum
How to use checksums
829d486ea7ee2a8b906f17c4ed536050c45b26b59606ab09ad4bc7dd1139f503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page