A unified core kernel containing MQTT (v2), IoTDB, Sanic, and utility modules for Syunity projects.
Project description
Syunity Core
syunity-core 是一个高度集成的 Python 核心功能库,旨在简化物联网 (IoT) 及 Web 后端服务的开发。
⚠️ 重要提示: 本项目专为 Python 3.13 环境设计,并使用 paho-mqtt v2.1.0 (MQTT 5.0 协议栈)。
核心功能 (13 Modules)
- 线程管理: 统一线程池封装
- MQTT总线: 基于 paho-mqtt v2.1.0 的发布/订阅封装
- 日志管理: Loguru 集成
- SQLite: 轻量级数据库管理
- IoTDB: Apache IoTDB 时序数据库管理
- 气象管理: 气象数据接口封装
- 平台管理: 系统资源监控 (CPU/Mem/Disk)
- 日期组件: 基于 Pendulum 的时间处理
- 用户权限: RBAC 基础模型
- 加密管理: AES/RSA/Hash 工具集
- 配置管理: YAML/Env 统一加载
- JWT登录: Token 签发与验证
- Sanic服务: 异步 Web 服务脚手架
安装
pip install syunity-core
#### v0.0.1
基于gemini3 pro 生成的代码
准备发布pypi
根据绍兴项目对代码适用性进行验证
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
syunity_core-0.0.2.tar.gz
(33.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syunity_core-0.0.2.tar.gz.
File metadata
- Download URL: syunity_core-0.0.2.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
342ef023e79fc70fc6f947213ef5ce9529463fb2f0a2b9811398efa8196c1e41
|
|
| MD5 |
d0d62044fb96d8f1e8a9797401fbca58
|
|
| BLAKE2b-256 |
7c86bacf84c1c888ab1e4b23cee7b53340eabe7e773eab9b0315898e538e615a
|
File details
Details for the file syunity_core-0.0.2-py3-none-any.whl.
File metadata
- Download URL: syunity_core-0.0.2-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65779500984a2eac65d53a427edcb49e6c5504366639b09125b5ebff1964c9aa
|
|
| MD5 |
fdec1f4e4a6187fa4c5a61c4112bc115
|
|
| BLAKE2b-256 |
420a35017a2a8b2e38f82ac7f60c53bc3b85dec4fcaf99178f7bf375c718d925
|