Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Python Package to easy the integration with nextsms SMS Gateway
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")
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)
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
Just
Was this useful to you ? Cool then give it a big star !
I use a lot of twitter , let's connect on twitter .
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
FAQs
Python package to easy integration with NextSms API for bulksms
We found that nextsms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.