Skip to content

Python Library for sending SMS with supported SMS service providers

License

Notifications You must be signed in to change notification settings

parsariyahi/prsmsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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)

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