Metadata-Version: 2.1
Name: nonebot-plugin-datastore
Version: 0.0.2
Summary: 适用于 Nonebot2 的数据存储插件
Home-page: https://github.com/he0119/nonebot-plugin-datastore
License: MIT
Author: hemengyang
Author-email: hmy0119@gmail.com
Requires-Python: >=3.7.3,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: aiosqlite (>=0.17.0,<0.18.0)
Requires-Dist: nonebot-plugin-localstore (>=0.1.0,<0.2.0)
Requires-Dist: nonebot2[httpx] (>=2.0.0-beta.1,<3.0.0)
Requires-Dist: sqlmodel (>=0.0.6,<0.0.7)
Project-URL: Documentation, https://github.com/he0119/nonebot-plugin-datastore#readme
Project-URL: Repository, https://github.com/he0119/nonebot-plugin-datastore
Description-Content-Type: text/markdown

<!-- markdownlint-disable MD033 MD036 MD041 -->

<p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# nonebot-plugin-datastore

_✨ NoneBot 数据存储插件 ✨_

</div>

<p align="center">
  <a href="https://raw.githubusercontent.com/he0119/nonebot-plugin-datastore/master/LICENSE">
    <img src="https://img.shields.io/github/license/he0119/nonebot-plugin-datastore.svg" alt="license">
  </a>
  <a href="https://pypi.python.org/pypi/nonebot-plugin-datastore">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-datastore.svg" alt="pypi">
  </a>
  <img src="https://img.shields.io/badge/python-3.7.3+-blue.svg" alt="python">
</p>

## 使用方式

~待会儿写~

## 配置项

配置方式：直接在 NoneBot 全局配置文件中添加以下配置项即可。

### cache_dir

- 类型: `str`
- 默认: [nonebot_plugin_localstore](https://github.com/nonebot/plugin-localstore) 插件提供的缓存目录
- 说明: 缓存目录

### config_dir

- 类型: `str`
- 默认: [nonebot_plugin_localstore](https://github.com/nonebot/plugin-localstore) 插件提供的配置目录
- 说明: 配置目录

### data_dir

- 类型: `str`
- 默认: [nonebot_plugin_localstore](https://github.com/nonebot/plugin-localstore) 插件提供的数据目录
- 说明: 数据目录

### database_url

- 类型: `str`
- 默认: `sqlite+aiosqlite:///data_dir/data.db`
- 说明: 数据库连接字符串

