Skip to main content

xiaoapi redis

Project description

xiaoapi-redis

xiaoapi的redis扩展包

安装

pip install xiaoapi-redis

配置

需要在 application/settings 中 添加以下配置:

# Redis 数据库配置
# 格式:"redis://:密码@地址:端口/数据库名称"
REDIS_DB_ENABLE = False
REDIS_DB_URL = "redis://:123456@177.8.0.5:6379/1"

然后在 application/settings 中的 EVENTS 里引入 xiaoapi_redis

EVENTS = [
    "xiaoapi_redis.connect_redis",
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xiaoapi-redis-0.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xiaoapi_redis-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file xiaoapi-redis-0.0.1.tar.gz.

File metadata

  • Download URL: xiaoapi-redis-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for xiaoapi-redis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ad9a5cdb6e1b8d3f96334e66f1ce6a8d9f3a926c3ed9d7ac9bd04c9ee7cf821c
MD5 4ed33a698987864bf6af800fccdabecd
BLAKE2b-256 381b2741c4e8d8b54e7ff2b06627b36eb4acfb804cd773a92801c0b19a26187a

See more details on using hashes here.

File details

Details for the file xiaoapi_redis-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xiaoapi_redis-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for xiaoapi_redis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70532dcb865676f54317399db81cc12446ed11610767b76d0687d82e7d676323
MD5 e3142526d774394f6ed37c235f2c5a5e
BLAKE2b-256 eb157fc4fb969d4907e63280c5d8c3499b025fc3047f7ec7e17e6b0648ce9222

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page