NetGsm Python PyPackage
NetGsm is the most popular sms provider at Turkey. NetGsm client is a Python library to access services quickly.
Installation
Use the package manager pip to install foobar.
pip install NetGsm
Environment Variables
NETGSM_USER_CODE: net gsm user code
NETGSM_USER_PASSWORD: net gsm user password
Note
If you don't want to set this variables from global environment you can pass them to class. You can see usage below
Usage
from netgsm import SmsService
kwargs = {
# you can also set user code from environment.
'user_code': 'net gsm user code', # Default value : None
# you can also set user password from environment.
'user_password': 'net gsm user password', # Default value : None
'api_url': 'net gsm api url' # Default value : 'https://api.netgsm.com.tr/sms/send/get'
}
sms_service = SmsService(**kwargs)
sms_service.send_sms(phone='Phone Number (5551234567)', message='Your Message', header='Your header')
# header default value : None if you don't pass this value your header is your user code
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for NetGsm 0.0.7
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 | Actions |
|---|---|---|---|---|
| NetGsm-0.0.7.tar.gz | 4.3 kB | Without provenance | Details for NetGsm-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NetGsm-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for NetGsm-0.0.7-py3-none-any.whl |
Total release size: 9.2 kB
Release files / NetGsm-0.0.7.tar.gz
| Download URL | NetGsm-0.0.7.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9060a7de87ed01cba080cf5180deb99d834a26688f4287033d4cfe60dd191ce
|
|
BLAKE2b-256 checksum How to use checksums |
a102d644bda5efd76bbae76a27069722837bb078e821be0c56242afe8a22fb1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Release files / NetGsm-0.0.7-py3-none-any.whl
| Download URL | NetGsm-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a20b104e47280351ae513c84d5d19a6ceb38bc3abc6c9ca6508bf3ee76ebba0
|
|
BLAKE2b-256 checksum How to use checksums |
a75dda614d069fa2b766206ecc375fddb95c6b574427e66867cc222b0182469a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Security for NetGsm 0.0.7
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.