Skip to main content

PixelArray Python开发工具库 - 包含阿里云服务、数据库工具、装饰器、监控等功能

Project description

PixelArrayLib - PixelArray Python开发工具库

PixelArrayLib是一个功能丰富的Python开发工具库,包含阿里云服务、数据库工具、装饰器、监控等功能,同时提供便捷的命令行工具。

安装

pip install pixelarraylib

使用方法

1. Python程序中使用

# 导入pixelarraylib模块
import pixelarraylib

# 使用各种功能模块
from pixelarraylib.aliyun import some_service
from pixelarraylib.db_utils import database_tools
from pixelarraylib.decorators import useful_decorators

2. 命令行工具使用

安装后,你可以在命令行中直接使用 pixelarraylib 命令:

创建测试用例文件

# 一键创建所有测试用例文件
pixelarraylib create_test_case_files

功能特性

  • 阿里云服务集成: 包含CMS、Green、DM、FC、SMS、STS等服务
  • 数据库工具: MySQL、Redis等数据库操作工具
  • Web框架: FastAPI集成
  • 实用工具: 二维码生成、加密解密、XML处理等
  • 命令行工具: 测试用例生成、代码统计等实用脚本

开发

本地开发安装

# 克隆仓库
git clone https://gitlab.com/pixelarrayai/general_pythondevutils_lib.git
cd general_pythondevutils_lib

# 安装开发依赖
pip install -e .

# 测试命令行工具
pixelarraylib --help

添加新的命令行工具

  1. pixelarraylib/scripts/ 目录下创建新的脚本文件
  2. pixelarraylib/__main__.py 中添加新的命令选项
  3. 更新 pixelarraylib/scripts/__init__.py 导出新功能

许可证

MIT License

作者

Lu qi (qi.lu@pixelarrayai.com)

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

pixelarraylib-1.1.0.tar.gz (50.2 kB view details)

Uploaded Source

Built Distribution

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

pixelarraylib-1.1.0-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file pixelarraylib-1.1.0.tar.gz.

File metadata

  • Download URL: pixelarraylib-1.1.0.tar.gz
  • Upload date:
  • Size: 50.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for pixelarraylib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3c0c706a96522e24b97d0225d9c6e0a1f9b68580d89d4fd2e409611acfa3a6b3
MD5 69d034885455c2eab3e290980b94bf28
BLAKE2b-256 3267ba2b15594454c1fff9fcd309d1416cb1c40b2452306236930a93fe743a38

See more details on using hashes here.

File details

Details for the file pixelarraylib-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pixelarraylib-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 62.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for pixelarraylib-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93dbad1e375eba86af1c8a8d8022aef0ceca6a2e16b44368c269cb9c2ea08bd6
MD5 6734bbec8630fe629e0627de1ae285f6
BLAKE2b-256 df2af7b9a2d08db190f06d67f55a357aeebe83d9c2fa8c589015f9cb328ff8f7

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