semvec/pypi-packages huggingface dataset:
laplace-blivedm 0.0.6
Fork of blivedm with additional events support
Requires Python: >=3.10

# laplace-blivedm

Fork of [blivedm](https://github.com/xfgryujk/blivedm) with additional events support

## Install

```bash
pip install laplace-blivedm
```

## Usage

See `sample.py`

## License

MIT
pi-blink 1.0.3
Simple event library built on top of Blinker
Requires Python: <4.0,>=3.10

# Event Handling with Blink

Event handling library built on top of [Blinker](https://github.com/pallets-eco/blinker).


## Why use it instead of blink
Pi-Blink is a different pardigm and a different way of handling events. So if Blink makes more sense then you should certainly use it. In the Pi-Blink paradigm events are created which can be listened, and modified, across your application. 

Some other benefits are Priority-Based Event Handling: This script introduces the concept of event priorities, allowing you to specify the order in which event listeners should be executed. This can be useful when you have multiple listeners for the same event and need to control their execution sequence.

## Installation

You can install `pi-blink` via pip:

```bash
pip install pi-blink
```

## Basic Usage
Import
```python
from pi_blink import blink
```

Create an event to listen to. This can be a class or primitive though classes are encouraged.
```python
class MathEvent:
    def __init__(self, value: int):
        self.value = value
```

Set up listeners for the event. 
```python
@blink.listener(MathEvent)
def add3(event: MathEvent):
    event.value += 3


@blink.listener(MathEvent)
def multiply2(event: MathEvent):
    event.value *= 2
```

Create and send an event
```python
e = MathEvent(1)
blink.send(e)
assert e.value == 8
```



## Examples

### Basic Example
```python
from pi_blink import blink

class EventA:
    def __init__(self):
        self.order = []


@blink.listener(EventA)
def handle_event_a1(event : EventA):
    event.order.append("a1")


@blink.listener(EventA)
def handle_event_a2(event : EventA):
    event.order.append("a2")


if __name__ == "__main__":
    event_a = EventA()
    blink.send(event_a)
    assert event_a.order == ["a1", "a2"]
```

### Basic Example with Priority
```python
from pi_blink import blink

class EventA:
    def __init__(self):
        self.order = []


@blink.listener(EventA)
def handle_event_a1(event : EventA):
    event.order.append("a1")


@blink.listener(EventA, EventPriority.EARLY)
def handle_event_a2(event : EventA):
    event.order.append("a2")


if __name__ == "__main__":
    event_a = EventA()
    blink.send(event_a)
    assert event_a.order == ["a2", "a1"]
```
free-libretranslate-api 0.0.2
Бесплатный API LibreTranslate
Requires Python: >=3.8

# FreeLibreTranslateAPI

FreeLibreTranslateAPI - бесплатный API LibreTranslate. Данная библиотека является бесплатным решением API без использования API-ключа.

## Установка

Вы можете установить библиотеку с помощью `pip`:
```bash

pip install free-libretranslate-api

```

Или из исходников:
```bash

git clone https://codeberg.org/Ktoto/FreeLibreTranslateAPI

cd FreeLibreTranslateAPI

pip install .

```

## Использование

Пример использования библиотеки:

```python
from libre_translate_api import translate


answer = translate(
    query="Hello, world!", # Текст, который нужно перевести
    source_lang="auto", # Язык текста (auto - определить автоматически)
    target_lang="ru", # На какой язык перевести
    alternatives=3 # Кол-во альтернативных переводов (max = 3)
    )


print(answer.translated_text)  # Выведет переведенный текст
print(answer.alternatives) # Выведет список альтернативных вариантов
print(answer.detectedLanguage) # Информация об обнаруженном языке, если она доступна.  Может быть `None`, если информация об обнаруженном языке отсутствует. (Не None при source_lang = "auto")
```
my-plotly-package 0.1.1
Objetivo da criação dessas funções são para que reduza o tempo na contrução e estilização de indicadores para Futuros Dashboards utilizando poucas linhas de codigo.
Requires Python: >=3.6

# MyPlotlyPackage

Uma breve descriÃ§Ã£o do seu pacote.

## InstalaÃ§Ã£o

```bash
pip install my_plotly_package
diogo-plotly 0.1.1
Objetivo da criação dessas funções são para que reduza o tempo na contrução e estilização de indicadores para Futuros Dashboards utilizando poucas linhas de codigo.
Requires Python: >=3.6

# MyPlotlyPackage

Uma breve descriÃ§Ã£o do seu pacote.

## InstalaÃ§Ã£o

```bash
pip install my_plotly_package
stonfi 0.11
Async Python SDK for StonFi DEX

<br/>
<p align="center">
  <a>
    <img src="https://static.ston.fi/favicon/android-chrome-512x512.png" alt="Logo" width="80" height="80">
  </a>
  <h3 align="center">StonFi Python SDK</h3>
</p>



### Testnet

- Faucet: https://t.me/testgiver_ton_bot
- Explorer: https://testnet.tonviewer.com/
- Proxy Ton Address: [kQAcOvXSnnOhCdLYc6up2ECYwtNNTzlmOlidBeCs5cFPV7AM](https://testnet.tonviewer.com/kQAcOvXSnnOhCdLYc6up2ECYwtNNTzlmOlidBeCs5cFPV7AM)
- StonFi Router Address: [kQBsGx9ArADUrREB34W-ghgsCgBShvfUr4Jvlu-0KGc33a1n](https://testnet.tonviewer.com/kQBsGx9ArADUrREB34W-ghgsCgBShvfUr4Jvlu-0KGc33a1n)
sqlalchemy-telethon-session 0.0.1
SQLAlchemy backend for Telethon session storage
Requires Python: ~=3.5

Telethon SQLAlchemy session
===========================

A `Telethon`_ session storage implementation backed by `SQLAlchemy`_.

.. _Telethon: https://github.com/LonamiWebs/Telethon
.. _SQLAlchemy: https://www.sqlalchemy.org/

Installation
------------
`telethon-session-sqlalchemy`_ @ PyPI

.. code-block:: shell

    pip install telethon-session-sqlalchemy

.. _telethon-session-sqlalchemy: https://pypi.python.org/pypi/telethon-session-sqlalchemy

Usage
-----
This session implementation can store multiple Sessions in the same database,
but to do this, each session instance needs to have access to the same models
and database session.

To get started, you need to create an ``AlchemySessionContainer`` which will
contain that shared data. The simplest way to use ``AlchemySessionContainer``
is to simply pass it the database URL:

.. code-block:: python

    from alchemysession import AlchemySessionContainer
    container = AlchemySessionContainer('postgres://user:pass@localhost/telethon')

If you already have SQLAlchemy set up for your own project, you can also pass
the engine separately:

.. code-block:: python

    my_sqlalchemy_engine = sqlalchemy.create_engine('...')
    container = AlchemySessionContainer(engine=my_sqlalchemy_engine)

By default, the session container will manage table creation/schema updates/etc
automatically. If you want to manage everything yourself, you can pass your
SQLAlchemy Session and ``declarative_base`` instances and set ``manage_tables``
to ``False``:

.. code-block:: python

    from sqlalchemy.ext.declarative import declarative_base
    from sqlalchemy import orm
    import sqlalchemy
    ...
    session_factory = orm.sessionmaker(bind=my_sqlalchemy_engine)
    session = session_factory()
    my_base = declarative_base()
    ...
    container = AlchemySessionContainer(
        session=session, table_base=my_base, manage_tables=False
    )

You always need to provide either ``engine`` or ``session`` to the container.
If you set ``manage_tables=False`` and provide a ``session``, ``engine`` is not
needed. In any other case, ``engine`` is always required.

After you have your ``AlchemySessionContainer`` instance created, you can
create new sessions by calling ``new_session``:

.. code-block:: python

    session = container.new_session('some session id')
    client = TelegramClient(session)

where ``some session id`` is an unique identifier for the session.