Metadata-Version: 2.4
Name: aiogram-fsm-storage
Version: 0.1.8
Summary: Custom FSM storage backends for Aiogram v3
Author: Twix
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiogram>=3.0.0
Requires-Dist: aiosqlite
Dynamic: license-file

# aiogram-fsm-storage

[![PyPI](https://img.shields.io/pypi/v/aiogram-fsm-storage)](https://pypi.org/project/aiogram-fsm-storage/)
[![Python](https://img.shields.io/badge/python-%3E%3D3.8-blue)](https://pypi.org/project/aiogram-fsm-storage/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

Custom file-based and SQLite-based storage for [Aiogram v3](https://github.com/aiogram/aiogram)

Includes JSON, Pickle, and SQLite backends.  
Requires **no external dependencies**, unless using SQLite (then `aiosqlite` is required).

## Features

- ✅ JSON, Pickle, and SQLite storage implementations
- ✅ Fully async structure
- ✅ Compatible with Dispatcher from Aiogram 3.x
- ✅ Simple and lightweight
- ✅ Production-ready

## Installation

```bash
pip install aiogram-fsm-storage
```

## Usage

```python
from aiogram import Dispatcher
from aiogram_fsm_storage import JSONStorage  # or PickleStorage, SQLiteStorage

dp = Dispatcher(storage=JSONStorage(path="states.json"))
```
