Skip to main content

BlueSMS SDK

This is a python SDK for the BlueSMS API. It can be added to your current python-based application so as to interact with the BlueSMS Uganda API in a much simpler way.

Why we created the BlueSMS SDK

We began using BlueSMS in many of our applications and were simply tired of writing code to send SMSes in every Python project we created. So we decided to create a python package that would make it easier for us to send SMSes in our projects.

Installation

pip install bluesms

Usage

from bluesms.sms import SMS 

# initialise the SMS class
sms = SMS()

# send the SMS 
try: 
    sending = sms.send(user="user@example.com", password="password", reciever="0777xxxxxx", sender="sender", message="message")

    print("The SMS sent", sending.text)

except Exception as e:
    print("Error sending SMS:", e)

Development Setup

Clone the repository by running the following command in your terminal:

git clone https://github.com/mwanjajoel/bluesms.git

We use Pipenv to manage our dependencies. To install pipenv, run the following command:

pip install pipenv

Activate the virtual environment by running the following command in your terminal:

pipenv shell

Install the dependencies by running the following command in your terminal:

pipenv install

Run tests

TBD

Code Formatting using Black

black momo

How to submit an issue

Please follow our Bug Report Guide on how to submit your issue.

How to request for a new feature

Please follow our Feature Request Guide on how to submit a feature request

Code of Conduct

We follow a strict code of conduct and you can read it Here

Credits

BlueSMS SDK was designed and built by Mwanja Joel. It is licensed under the MIT license; for the full license please see the LICENSE file.

Please see the AUTHORS file for the full list of contributors.

If you find BlueSMS SDK useful and want to reach out, find me on Twitter: @mrjoelmwanja.

Release files for bluesms 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bluesms 1.1.2
File Size Uploaded
bluesms-1.1.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bluesms 1.1.2
File Interpreter ABI Platform
bluesms-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / bluesms-1.1.2.tar.gz

Download URL bluesms-1.1.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8a20ca7de48cf910f39374f37cec218a190558f759bc2e9eed3205b71e92c7b9
BLAKE2b-256 checksum
How to use checksums
91947580830ba97daf5533e7edad42a78681af452c4110be0d89d30049f04cb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / bluesms-1.1.2-py3-none-any.whl

Download URL bluesms-1.1.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4220749863ef8564c32a37117891d4c106067ea14ccc36b83da88eb4a3da8ae2
BLAKE2b-256 checksum
How to use checksums
877c79095361d6e8cf75c2da436e9743bd718cb7f87bfbc77717bcecf2f45a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.0.2

2 release files

0.1.2

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page