PinPoint Aws Pinpoint SMS/Mail Client Python package
Project description
PinPointClient Python PyPackage
PinPoint is Aws Sms Service. PinPointClient is a Python library to access services quickly.
Installation
Use the package manager pip to install foobar.
pip install PinPointClient
Environment Variables
REGION: aws region
PINPOINT_MESSAGE_TYPE: message type
PINPOINT_APPLICATION_ID: application id
AWS_ACCESS: aws access key id
AWS_SECRET: aws secret access key
CHANNEL_TYPE: channel type
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 pinpoint import GsmService
kwargs = {
# you can also set region from environment.
'region': 'region', # Default value : 'eu-central-1'
# you can also set message type from environment.
'message_type': 'message type', # Default value : 'TRANSACTIONAL'
# you can also set channel type from environment.
'channel_type': 'channel type', # Default value : 'SMS'
# you can also set application id type from environment.
'applicationId': 'application id', # Default value : None
# you can also set aws access key id type from environment.
'aws_access': 'aws access key id', # Default value : None
# you can also set aws secret access key type from environment.
'aws_secret': 'aws secret access key', # Default value : None
}
gsm_service = GsmService(**kwargs)
gsm_service.send(phone='Phone Number (+905551234567)', message='Your Message')
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PinPointClient-0.0.6.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file PinPointClient-0.0.6.tar.gz
.
File metadata
- Download URL: PinPointClient-0.0.6.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71c9376f3946233301ed34b3070446fd5022d56d2f006a5173251d8569f497d1 |
|
MD5 | 3165832e49c868068cf4e5bf0d4c2f87 |
|
BLAKE2b-256 | 95e089ba6890485867b179f4b12410d6a91a3e2abae66adcf01d0f7dd6dca4a8 |
File details
Details for the file PinPointClient-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: PinPointClient-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8ca54d39da3a6551e4d4e6b6beb4fc0712da61cc2d275aa9e7e86b97091b68 |
|
MD5 | 853289b4a593669aff1e9e88e6048210 |
|
BLAKE2b-256 | e2753f3d6b94709571997ebef37107e4354bc613090d4eaedd6623ce393970ee |