semvec/pypi-packages huggingface dataset:
uagents-twilio 1.0.7
Use uagents to automate SMS/Whatsapp by twilio
Requires Python: >=3.8.1,<3.12

==============
uagents-twilio
==============

.. image:: https://img.shields.io/pypi/v/uagents-twilio.svg
    :target: https://pypi.org/project/uagents-twilio
    :alt: PyPI version


----

This `uagents <https://github.com/fetchai/uAgents>`_ utlity was generated with `Cookiecutter <https://github.com/cookiecutter/cookiecutter>`_.


Features
--------

* uagents protocols to send SMS or Whatsapp messages using twilio
* supports on_message and on_query methods to receive and send messages


Installation
------------

You can install "uagents-twilio" via `pip <https://pypi.org/project/pip/>`_ from `PyPI <https://pypi.org/project>`_::

    $ pip install uagents-twilio

You can install "uagents_twilio" via poetry::

    $ poetry add uagents-twilio

Usage
-----

* Create .env file in root folder of project::

    AGENT_ADDRESS=""
    ACCOUNT_SID=""
    AUTH_TOKEN=""
    FROM_NUMBER=""
    WP_FROM_NUMBER=""
    TO_NUMBER=""

* Create a uagents in your project

* Import uagents_twilio protocol::

    $ from uagents_twilio.protocols.messages import service_protocol

* Include protocol in uagent::

    $ service_agent.include(service_protocol)

* Use functions::

    from uagents_twilio.models import Message, MessageType

    @service_agent.on_interval(period=2.0)
    async def send_message(ctx: Context):
        await ctx.send(
            AGENT_ADDRESS,
            Message(receiver="<replace_your_number>", msg="hello there bob", type=MessageType.sms),
        )
pyimgbb 0.3.0a0
A simple client for uploading images to imgbb.com

# Imgbb Python Client Library

## Features

- Easy image uploading to Imgbb's servers.
- Supports JPG, PNG, GIF, base64, and URL image sources.
- Automatic retry with configurable retry intervals for robustness.
- Clear and intuitive API for quick integration.

## Installation

its recommended to use a virtual environment to install the package

```bash
pip install imgbb-client
```

## Usage

```python
from imgbb_client import ImgbbClient

client = ImgbbClient("your-api-key")

# Upload image from URL
result = client.upload("https://example.com/image.jpg", name="My Image", expiration=3600)

```

## Changelog

For a list of changes and release notes, see the [CHANGELOG](CHANGELOG.md) file.

## License

For license information, please see [LICENSE](AfricanUnboundLicense.md)

## Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

Built with ❤️ by [Adivhaho Mavhungu](https://twitter.com/adivhaho_dev)