常用插件
Project description
base_handler -- tornado handler 基类
主要提供参数检查,并初始化get、post、delete、option等方法
plugins -- 插件集合
1. OrmClient
-- Sqlalchemy管理器
支持类别:Mysql、Sqlserver、Postgresql。__enter__ 方法返回session 对象
2. MongoClient
-- MongoDB管理器
MongoDB 连接管理器
3. RedisClient
-- Redis管理器
Redis管理器,重写push、set(支持自定义文件夹)、get、delete方法
4. LocalFaker
-- 随机数据生成工具
基于Faker,提供姓名、地址、邮箱、银行、公司、职业、md5、bool、密码、手机、身份证生成工具
5. AlchemyEncoder
-- sqlalchemy 模型转字典
sqlalchemy 模型转字典,特殊类型处理类,使用方式 json.dumps(dict, cls=AlchemyEncoder)
6.CryptoHelper
-- 加密工具
提供md5加密、aes加密、aes解密
7.Tools
-- 常用工具汇总
get_birth_from
make_captcha
transform_unix
transfrom_datetime
make_logger
get_excel_data
save_xls
excel_color
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
air-df-0.1.3.tar.gz
(10.8 kB
view details)
Built Distribution
air_df-0.1.3-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file air-df-0.1.3.tar.gz
.
File metadata
- Download URL: air-df-0.1.3.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5d0f0b4f80ff0cea846486a16047200d410ef305e621eace9f2bcc2aed4621 |
|
MD5 | d2bf803e2289bfa9619bdd5618320a6d |
|
BLAKE2b-256 | 57b3ac5d39ef20d12e255157e569627509319fdbfed1d8d079f6728e8921aac5 |
File details
Details for the file air_df-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: air_df-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3323e7ae70d10bad0f56cea6cf893c223439d96ef606f1cadb858335129eb1a4 |
|
MD5 | 51f1929e827cec0f3f63bd424e035915 |
|
BLAKE2b-256 | 88a39121d1828d74d228d1e498a692f461032559c6d1240798ed909adc128abd |