Skip to main content

A unified core kernel containing MQTT (v2), IoTDB, Sanic, and utility modules for Syunity projects.

Project description

Syunity Core

PyPI version Python 3.13 License: MIT

syunity-core 是一个高度集成的 Python 核心功能库,旨在简化物联网 (IoT) 及 Web 后端服务的开发。

⚠️ 重要提示: 本项目专为 Python 3.13 环境设计,并使用 paho-mqtt v2.1.0 (MQTT 5.0 协议栈)。

核心功能 (13 Modules)

  1. 线程管理: 统一线程池封装
  2. MQTT总线: 基于 paho-mqtt v2.1.0 的发布/订阅封装
  3. 日志管理: Loguru 集成
  4. SQLite: 轻量级数据库管理
  5. IoTDB: Apache IoTDB 时序数据库管理
  6. 气象管理: 气象数据接口封装
  7. 平台管理: 系统资源监控 (CPU/Mem/Disk)
  8. 日期组件: 基于 Pendulum 的时间处理
  9. 用户权限: RBAC 基础模型
  10. 加密管理: AES/RSA/Hash 工具集
  11. 配置管理: YAML/Env 统一加载
  12. JWT登录: Token 签发与验证
  13. Sanic服务: 异步 Web 服务脚手架

安装

pip install syunity-core


#### v0.0.1  
基于gemini3 pro 生成的代码
准备发布pypi
根据绍兴项目对代码适用性进行验证

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

syunity_core-0.0.1.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

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

syunity_core-0.0.1-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file syunity_core-0.0.1.tar.gz.

File metadata

  • Download URL: syunity_core-0.0.1.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for syunity_core-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dc362b600d18da76c8451c3f255d8664940289b5ec5db80434ce3f03d69f6ef3
MD5 dd07813a8db5cb95e7239e06995fcfba
BLAKE2b-256 c2fc7ed3b9ef8df0673d3d993a29c0a1457997009b5d63a71167a0043f06b6a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: syunity_core-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for syunity_core-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 157d32b61bb61d4b61704f2eb34df60901643f31ff7a329952e6d130e7d1ac76
MD5 32cceb10e079f400d533dd18d3a537ec
BLAKE2b-256 946956be3e680c5eaecea95cfa8be3703d360750a875d611c19843d0367ce99a

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