Amnesia
A collection of common components for Graia Project.
于是明天仍将到来.
每一天都会带来新的邂逅, 纵使最终忘却也不会害怕明天到来.
简述
Amnesia 是一系列共用组件的集合, 包含了以下内容:
- 消息链
MessageChain, 沿袭自 Avilla 实现和 Ariadne 部分方法实现; Element基类和Text消息元素实现;Launch API: 程序生命周期管理, 提供准备(prepare), 主线(mainline) 与 清理(cleanup) 三个时间节点; 支持依赖编排;- 轻量化实现的
Service; - 轻量化的内存缓存实现
Memcache, 原版本由 @ProgramRipper 实现, 沿袭自 Avilla; Transport API: 职权分派, 交互主导的网络通信封装;uvicorn: ASGI Runner;starlette: ASGI Application;aiohttp: Http & WebSocket Client.
通过 Amnesia, 我们希望能更加轻量化第三方库的依赖, 并籍此促进社区的发展.
MessageChain可以让 Avilla, Ariadne, Alconna 等共用统一实现, 并使其泛用性扩大;Launch API可以优化应用的启动流程, 适用于Saya或是单纯的Broadcast Control应用;Service使维护和访问资源的流程更加合理;- ...或许还会有更多?
协议
本项目以 MIT 协议开源.
Metadata
Release files for graia-amnesia 0.11.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graia_amnesia-0.11.6.tar.gz | 21.1 kB | Without provenance | Details for graia_amnesia-0.11.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graia_amnesia-0.11.6-py3-none-any.whl | Python 3 | none | any | Details for graia_amnesia-0.11.6-py3-none-any.whl |
Total release size: 48.3 kB
Release files / graia_amnesia-0.11.6.tar.gz
| Download URL | graia_amnesia-0.11.6.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56969bdcdc29b96a76a253d4330f57e9e4cf120eac3b4661ec1eb09862b522b7
|
|
BLAKE2b-256 checksum How to use checksums |
247255c7b64d4c420b36dace78a5c9c3ee08eaa46539376a1e0496058399913a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / graia_amnesia-0.11.6-py3-none-any.whl
| Download URL | graia_amnesia-0.11.6-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af678c15f21e8a5e209fd7925af6366ac340d1e7cddee17abd40eef37eafb2a8
|
|
BLAKE2b-256 checksum How to use checksums |
1185d994bd88ef584f79d8d65c804ea750361b5a9827e4a6e3237ccbf99a73ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for graia-amnesia 0.11.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.