Skip to main content

PinPointSms Aws Pinpoint Ssm 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
MESSAGE_TYPE: message type
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

MIT

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

PinPointClient-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

PinPointClient-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file PinPointClient-0.0.1.tar.gz.

File metadata

  • Download URL: PinPointClient-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for PinPointClient-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fca5a46a12d1099cd6d003df1a96cb46d60bcfb5a0c9dcbcb675f79941d8908c
MD5 488a7f34d75fc57cc73c1aa693b94385
BLAKE2b-256 ffa03ee992499fe84548b022435e4f80bfa9c23881affeeb4728d9749487e0ca

See more details on using hashes here.

File details

Details for the file PinPointClient-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for PinPointClient-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47108481bbce9604652f07c982e7063f1b5e4bb723f44e24d7b362d6fce28c45
MD5 046ba63a497014d90e395c8f14f69ad6
BLAKE2b-256 2fe76ac652aa0e1ba18dc7d5e5e490831892a178530b95c9f3a23bfae4f3b758

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page