Library to aggregate multiple messengers services
Project description
Kami Messenger
Aggregator of Digital Channels For Sending Messages
📝 Table of Contents
🧐 About
Kami Messenger is a tool for aggregating several messaging platforms into a single package in order to facilitate the task of sending mass messages.
It contains three main classes for this purpose:
- Message(A single message that contains a list of recipients to send);
- Contact(A single contact with a list of addresses for different messaging platforms);
- Messenger(An object that instantiates, connects, and provides message push service of a specific platform)
🏁 Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
To run this package you only need a python 3.x compiler and poetry on your dev enviroment.
Installing
pip install kami-messenger
Then, after installing the dependencies, just activate the development environment with the following command:
poetry shell
Ready now you start developing and testing!
🔧 Running the tests
The project already has some of the main unit tests for each of the entities present in the code, but you can add your own tests in the respective directories 'test' of each entity.
Break down into end to end tests
Each entity has its own tests folder with the most elementary unit tests and to run them just run the command below in the entity folder you want to test or in the root folder to test all project codes
task test
Note that when executing this command, before actually testing the code, a code review will be performed using the lint-review task and after the execution of the test, an html file with the full coverage of the test will be available in the htmlcov folder created in the folder where the command was run. was executed
And coding style tests
In addition, the project already has automated tasks for review and correcting the code style following pep8 standards
To just review the code run the command below in the folder you want to analyze:
task lint-review
If you want to automatically review and correct the code, run this command in the desired directory
task lint-fix
🎈 Usage
Add notes about how to use the system.
🚀 Deployment
Add additional notes about how to deploy this on a live system.
⛏️ Built Using
✍️ Authors
- @maicondmenezes - Idea & Initial work
See also the list of contributors who participated in this project.
🎉 Acknowledgements
- The main references for this project can be found in the Python topic of this repository
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kami_messenger-0.3.0.tar.gz
.
File metadata
- Download URL: kami_messenger-0.3.0.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cdacb1283c85d8590a1d3aa1d3b1a614893944463885e65a717673af38ba43c |
|
MD5 | 513813bee2d151d938145ec720470b44 |
|
BLAKE2b-256 | add5afccdbc0ac970ed0300ea011eee23c91d694cd603c2aa7ab29f26dcb6080 |
File details
Details for the file kami_messenger-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kami_messenger-0.3.0-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dbea76f7ac68c62cd34c10796b94140fcf03793f8765554329742e07bace5f0 |
|
MD5 | 7589b6138cae48c485e1180754b6f0da |
|
BLAKE2b-256 | a2fe24aff613d855c07435b0813a1f1d3af761a478e55e8c646a3e7fd38dae6c |