mirror of
https://github.com/Haidra-Org/AI-Horde.git
synced 2026-11-06 05:17:31 +00:00
- horde/kudos_archive.py writes zstd-compressed archive objects with manifests to an S3-compatible bucket under a normalized deployment prefix, keeps statistic dumps within a byte budget by evicting only that tier, and verifies a read-back against the manifest - KudosArchive.from_environment returns None unless the KUDOS_ARCHIVE_* endpoint, bucket and both token variables are set - zstandard is a runtime dependency; kudos_archive and kudos_retention are under strict mypy - The managed Garage test store and the CI test stack create a kudos-archive bucket and export the KUDOS_ARCHIVE_* variables - tests/unit/test_kudos_archive.py covers the codec, manifests, budget eviction and restore verification
44 lines
778 B
Plaintext
44 lines
778 B
Plaintext
# SPDX-FileCopyrightText: 2024 db0
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
werkzeug~=2.2.2
|
|
Flask~=2.2.2
|
|
flask-restx
|
|
flask_limiter~=3.0
|
|
Flask-Caching
|
|
waitress~=2.1.2
|
|
requests >= 2.27
|
|
pycurl>=7.45.7,<8
|
|
Markdown~=3.4.1
|
|
flask-dance[sqla]
|
|
blinker
|
|
python-dotenv
|
|
loguru
|
|
bleach~=5.0.1
|
|
alt-profanity-check
|
|
safetext
|
|
python-dateutil~=2.8.2
|
|
redis~=4.3.5
|
|
pillow>=10.0.1
|
|
flask_sqlalchemy~=3.1.1
|
|
oauthlib~=3.2.2
|
|
SQLAlchemy~=2.0.35
|
|
psycopg2-binary
|
|
boto3>=1.33.7
|
|
zstandard>=0.23
|
|
regex
|
|
unidecode
|
|
git+https://github.com/Patreon/patreon-python.git
|
|
emoji
|
|
semver >= 3.0.2
|
|
numpy
|
|
horde_sdk~=0.31.0
|
|
horde_model_reference>=8.4.0,<9.0.0
|
|
markdownify
|
|
stripe>=15,<16
|
|
environs
|
|
setuptools<82
|
|
logfire[flask,sqlalchemy,redis]==4.32.1
|
|
opentelemetry-instrumentation-requests
|