Messente SMS API
Project description
messente-python
Messente SMS API library for Python 3.6+.
Full documentation: https://messente.com/documentation
Installation
The library can be installed/upgraded via pip:
pip install messente-python==2.0.1
or by using setuptools:
python setup.py build
python setup.py install
Examples
You can find sample scripts in the 'examples' directory.
Configuration parameters
Configuration parameters can passed via:
- keyword arguments in constructor
- configuration file (*.ini)
Authentication parameters can also be set in environment instead:
- MESSENTE_API_USERNAME
- MESSENTE_API_PASSWORD
Configuration file
Configuration can be stored in a *.ini file (please see config.sample.ini). The path to the file can be passed to a contructor as "ini_path" keyword argument:
from messente.api.sms import Messente
api = messente.Messente(ini_path="some/path/filename.ini")
Configuration file is divided into following sections:
- default
- sms
- delivery
- credit
- pricing
- number-verification
All the module specific sections can override any of the parameters in the "default" section.
Logging configuration
The library uses logging module from standard python library, and logging should be configured by the application that uses this library. For more information, please visit: https://docs.python.org/3/howto/logging.html
LICENSE
Apache Licence, Version 2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file messente-python-2.0.1.tar.gz
.
File metadata
- Download URL: messente-python-2.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f561398a70dad5ad01897db34f7968be9bfebebb46cfe9996b30028bcf529391 |
|
MD5 | 765a386da3638e5a5a51f63bca564834 |
|
BLAKE2b-256 | 6ddc1a627eac06d90cbc8a5285b182b848eb4697ad75ebce7db69ac2ff09eff3 |
File details
Details for the file messente_python-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: messente_python-2.0.1-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31b61ecf5948b187979f46c0d3fdfbc6c749bf337e1e491aafe9c3b4e8d9ff9 |
|
MD5 | 5a45ff1af1011efa6d5544611666d012 |
|
BLAKE2b-256 | 54665f81524c9e5b80b507458d8f951634e0ad0dbb78cd4727660830df508675 |