semvec/pypi-packages huggingface dataset:
paper-color 0.0.3
Get colors easily

1. Run the following script to install `paper_color`:
```bibtex
pip install paper-color
```
2. Get the color in your python program using `paper_color`:
```python
from paper_color import paper_color
paper_color.get_color()
# ['#3366FF', '#6AB520', '#0CA6FF', '#FFBF1E', '#FF4E2B']
```
3. You can also get a ladder color array:
```python
from paper_color import paper_color
colors = paper_color.ladder_colors(html_color='#31655f')
# ['#000000', '#040a09', '#091413', '#0e1e1c', '#132826', '#18322f', '#1d3c39', '#224642', '#27504c', '#2c5a55', '#31655f', '#45746f', '#5a837f', '#6e938f', '#83a29f', '#98b2af', '#acc1bf', '#c1d0cf', '#d5e0df', '#eaefef', '#ffffff']
```

<div style="background-color:#000000;width:20px;height:100px;float:left"></div>
<div style="background-color:#040a09;width:20px;height:100px;float:left"></div>
<div style="background-color:#091413;width:20px;height:100px;float:left"></div>
<div style="background-color:#0e1e1c;width:20px;height:100px;float:left"></div>
<div style="background-color:#132826;width:20px;height:100px;float:left"></div>
<div style="background-color:#18322f;width:20px;height:100px;float:left"></div>
<div style="background-color:#1d3c39;width:20px;height:100px;float:left"></div>
<div style="background-color:#224642;width:20px;height:100px;float:left"></div>
<div style="background-color:#27504c;width:20px;height:100px;float:left"></div>
<div style="background-color:#2c5a55;width:20px;height:100px;float:left"></div>
<div style="background-color:#31655f;width:20px;height:100px;float:left"></div>
<div style="background-color:#45746f;width:20px;height:100px;float:left"></div>
<div style="background-color:#5a837f;width:20px;height:100px;float:left"></div>
<div style="background-color:#6e938f;width:20px;height:100px;float:left"></div>
<div style="background-color:#83a29f;width:20px;height:100px;float:left"></div>
<div style="background-color:#98b2af;width:20px;height:100px;float:left"></div>
<div style="background-color:#acc1bf;width:20px;height:100px;float:left"></div>
<div style="background-color:#c1d0cf;width:20px;height:100px;float:left"></div>
<div style="background-color:#d5e0df;width:20px;height:100px;float:left"></div>
<div style="background-color:#eaefef;width:20px;height:100px;float:left"></div>
<div style="background-color:#ffffff;width:20px;height:100px;float:left"></div>
edacious 0.0.11
Edacious an Event Derive Architecture framework
Requires Python: >=3.8

# Edacious an Event Derive Architecture framework

Implementing an EDA usually requires a queue mechanism. Currently support Redis streams and Amazon Web Services SQS.

Event must be a dict that contain data to be processed.
Every event must have an event type (str) attribute, reserve key is `event-type`.

To process an event the event type has to be associated to one or more event handlers.

Event handler is a function that receive an event (dict) and process it, here is an example for running event listener based on Amazon Web Services SQS.

    from edacious.sqs import EventListener

    SQS_URL = 'https://sqs.my-region.amazonaws.com/123456789012/my-app-sqs'


    @event_handler(event_type='hello-world')
    def my_handler(event: dict):
        print(event)


    if __name__ == '__main__':

    listener = EventListener(sqs_url=SQS_URL, visibility_timeout=60, max_messages_to_fetch=10)
    listener.set_seconds_to_wait(seconds=2.5)
    listener.run()