SMSpy
A minimalistic python wrapper for sending free sms via website way2sms.
Installation
$ pip install -U git+git://github.com/guptarohit/smspy.git
Usage
Send SMS
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
w2s.send(MOBILE_NO, MSG)
w2s.logout()
Schedule SMS
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
w2s.schedule(MOBILE_NO, MSG, DATE, TIME)
# DATE should be in format DD/MM/YYYY and TIME in 24h HH:mm
w2s.logout()
Check History of sent messages
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
headers, data = w2s.history(DATE)
# DATE should be in format DD/MM/YYYY
print(headers, data)
w2s.logout()
Check Scheduled messages
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
headers, data = w2s.scheduled_messages(DATE)
# DATE should be in format DD/MM/YYYY
print(headers, data)
w2s.logout()
Check Quota left
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
msgs_remaining=w2s.quota_left()
print(msgs_remaining)
w2s.logout()
Contributing
Feel free to make a pull request! :octocat:
Metadata
Release files for smspy 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| smspy-0.5.0.tar.gz | 5.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smspy-0.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.9 kB
Release files / smspy-0.5.0.tar.gz
| Download URL | smspy-0.5.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88bcc648dd010e2488be216e2a274a314baf95acf4d1f2217301ae0c3c633542
|
|
BLAKE2b-256 checksum How to use checksums |
0bce797e51e27e1c13d2ab182b564aa477bd40807685a0d2109ced843d0ddfd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / smspy-0.5.0-py2.py3-none-any.whl
| Download URL | smspy-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fcfc1893e3044bfb9c15c5f29d2af90dd935c5a26f1fa459f929398201968c94
|
|
BLAKE2b-256 checksum How to use checksums |
ce8e268ae202799f723ee4bd4b8d82534ac3c195915ac4df3f5d86d9da4e9366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for smspy 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.