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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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