semvec/pypi-packages huggingface dataset:
django-sms-package 1.0
A Django app to conduct web-based polls.
License: MIT
Requires Python: >=3.8

==========
Django Sms
==========

Django Sms is a Python package that simplifies the process of sending SMS messages using various SMS service providers. 
It offers a modular and user-friendly API for sending messages and tracking statistics related to the messages sent.


Quick start
-----------

1. Add "smsapp" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...,
        "smsapp",
    ]

2. Include the apps URLconf in your project urls.py like this::

    path("smsadmin/", include("smsapp.urls")),

3. Run ``python manage.py migrate`` to create the polls models.

4. Use the provided API to send SMS messages. The package abstracts away the complexities of interacting with different provider APIs::

    from .settings import AFRICAS_USERNAME, AFRICAS_API_KEY, SENDER_ID, KMI_ACCESS_KEY, KMI_SECRET_KEY, GEEZ_TOKEN, JAK_USERNAME, JAK_PASSWORD

    from smsapp.providers.kmi_sms import KmiSms
    from smsapp.providers.africastalking_sms import AfricasTalkingSms
    from smsapp.providers.jak_sms import JakSms
    from smsapp.providers.geez_sms import GeezSms

    from smsapp.utils import send_and_save_sms

    providers = [
        KmiSms(access_key=KMI_ACCESS_KEY, secret_key=KMI_SECRET_KEY, sender_id=SENDER_ID, callback_url="https://ad04-196-188-55-159.ngrok-free.app/sms_callback"),
        AfricasTalkingSms(username=AFRICAS_USERNAME, api_key=AFRICAS_API_KEY, sender_id=SENDER_ID),
        JakSms(username=JAK_USERNAME, password=JAK_PASSWORD),
        GeezSms(GEEZ_TOKEN),
    ]

    def send_sms(phone, message):
        send_and_save_sms(phone, message, providers)
    # Then you can use this api to send your sms messages
    ``

4. Start the development server and visit http://127.0.0.1:8000/smsadmin/
   to see an sms statistics dashboard.
pypelined 0.1.5
stream and pipeline processing service
License: MIT
Keywords: pipeline service stream pypeline

++++++++++++++++++++++++++++++++++++++++++++++++++
pypelined - stream and pipeline processing service
++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://readthedocs.org/projects/pypelined/badge/?version=latest
    :target: http://pypelined.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://img.shields.io/github/issues-raw/maxfischer2781/pypelined.svg
   :target: https://github.com/maxfischer2781/pypelined/issues
   :alt: Open Issues

Service and framework for creating and running processing pipelines for data streams, events and chunks.
Pipelines of ``pypelined`` are composed from individual elements using the chainlet_ library.
They are built in Python configuration files, from custom objects or pre-defined plugins.

.. code:: python

    import chainlet
    from pypelined.conf import pipelines

    @chainlet.funclet
    def add_time(chunk):
        chunk['tme'] = time.time()
        return chunk

    process_chain = Socket(10331) >> decode_json() >> stop_if(lambda value: value.get('rcode') == 0) >> \
        add_time() >> Telegraf(address=('localhost', 10332), name='chunky')
    pipelines.append(process_chain)

Once running, ``pypelined`` drives all its processing pipelines in an event driven fashion.

.. _chainlet: http://chainlet.readthedocs.io/en/stable/