semvec/pypi-packages huggingface dataset:
fluanisotropyanalysis 1.0.2
Read and analyse data from fluorescence anisotropy assays.
Requires Python: >=3.8

# Fluorescence Anisotropy Analysis

[![build](https://github.com/mariuszlas/fluanisotropyanalysis/actions/workflows/python-package-test.yml/badge.svg)](https://github.com/mariuszlas/fluanisotropyanalysis/actions/workflows/python-package-test.yml)

Read and analyse data from fluorescence anisotropy assays.

The pacakge is best used within the interactive environment of [Jupyter Notebook](https://jupyter.org/) (accessible via [Anaconda](https://www.anaconda.com/products/individual)).

## Documentation
The documentation of the `fluanisotropyanalysis` package can be accessed [here](https://mariuszlas.github.io/fluanisotropyanalysis/).

A demonstrational Jupyter Notebook file with a step-by-step guide presenting the functionality and typical workflow can be accessed [here](https://github.com/mariuszlas/fluanisotropyanalysis/tree/main/docs/demo).

## Installation
The package can be installed globally from the PyPI repository. Jupyter Notebook must already be installed as it is not included as a dependecy of this package.
`pip install fluanisotropyanalysis`

#### Dependencies
[platemapping](https://github.com/lawrencecollins/platemapping) version 2.0 or higher (automatically installed)
bot-storage 1.0.1
Storage for bots that allows you to save the states and data of users.
Requires Python: >=3.6

# bot-storage
##### _Storage - an object that allows you to save the states and data of users._
##### _The storage.py file describes the abstract class BaseStorage, inheriting from which, you can implement your own storage (eg DBStorage or JSONStorage)._
##### _Such storages, however, will obviously not be more efficient than the already implemented RedisStorage._


## Installation:
```sh
pip install bot-storage
```

## Setting up
`YourProject/tbot/storage.py`
```python
from os import getenv

from bot_storage.storage import RedisStorage


storage = RedisStorage(
    host=getenv('REDIS_HOST', 'localhost'),
    username=getenv('REDIS_USER', None),
    password=getenv('REDIS_PASSWORD', None)
)

```

`YourProject/settings.py`
```python
from tbot.storage import storage


# Your storage for user states & data
BOT_STORAGE = storage
```

## Start Redis
```sh
redis-server
```

## Usage
### For example YourProject/tbot/handlers.py

```python
from telebot import types
from telebot.apihelper import ApiTelegramException
from tbot_base.bot import tbot

from .storage import storage as st


@tbot.message_handler(
    func=lambda msg: st.get_user_state(msg.from_user.id) == 'some_state#'
)
def send_faq_search(msg: types.Message):
    tbot.send_message(chat_id=msg.from_user.id, text='Hello!')
```