Skip to main content

Package to work with sms panels

Project description


prsmsp

Description

Python Library for sending SMS with supported SMS service providers, This project works as an API between you and your SMS provider, read more about this project at Read The Docs.


Features

When you use a SMS panel from a provider, you implement it from zero, and if you want to change the panel, you need to refactor all of your code. and for implementing a panel from zero you need time to read their document and try to use it and implement it. this project save you time for implementing panels and for refactoring your code.

Why use this project?

  • You have all the famous and well designed SMS panels ready to go.
  • You can have several SMS panels at the same time.
  • Don't need to build the wheel of your bicycle each time ☺.
  • Fast and Small
  • Easy to implement and use

Supported panels


How to use?

First lets install the package

pip install prsmsp

This block of code is for kavenegar sms panel.

Each of sms panels has its own parameters. Please read their docs first.

from prsmsp import Panel

api_key = "your api key"
panel = Panel.initiate("kavenegar", api_key=api_key)  # auth

receptor = "your receptor"
msg = "your message"
panel.send_sms(receptor, msg)

Docs


How to support this project?

for this project to be better and bigger than what it is now. we need to support more panels and even test a real send sms which needs a subscription for each sms provider if you have subs for any sms panel or docs of any sms panel and you think it would be good for this pacakge to have support that sms panel please open an issue or contact me My email is pany.parsariyahi@gmail.com

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

prsmsp-1.7.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

prsmsp-1.7.2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file prsmsp-1.7.2.tar.gz.

File metadata

  • Download URL: prsmsp-1.7.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for prsmsp-1.7.2.tar.gz
Algorithm Hash digest
SHA256 2553a9b2c5ebb8520defd278d13aa5a69897830b33fbe29f021bb58df6f36bb0
MD5 656fe27b2a9d5138f157f73c08140662
BLAKE2b-256 59c46ddc4a83e26dd06a1e7efe7a2cf6e5581d725c41a2e88a86b1169234ced4

See more details on using hashes here.

File details

Details for the file prsmsp-1.7.2-py3-none-any.whl.

File metadata

  • Download URL: prsmsp-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for prsmsp-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f91d96832e38b0ba302dddea5563c7684ed5a80673c0c2d6fd4a520bd3f3d9fa
MD5 878d986639923fbdddbfe86e290c290d
BLAKE2b-256 fb3bdb1dfed92c54a7383b4afac857fc10b310b7b6e71b0962309adc94373183

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