akitools
Project description
Install
pip install akitools
Example
>>> from akitools import ftime
>>> ftime()
'20191109'
>>> ftime(f=4)
'2019-11-09 13:12:04'
>>> ftime(t=1571940315)
'20191025'
>>> from akitools import ctime
>>> ctime('2017-01-01')
1483200000
名称 | 类型 | 返回值 | 简介 |
---|---|---|---|
HEADER | 常量 | dict | 浏览器UA |
ftime | 函数 | str | 时间戳转换成日期/时间字符串 |
ctime | 函数 | int | 日期/时间字符串转换成时间戳 |
函数 | None | 发送邮件 | |
logs | 函数 | None | 日志写入 |
weather | 函数 | dict | 天气气象信息 |
ip | 函数 | dict | IP地址信息 |
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
akitools-0.0.24.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for akitools-0.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c861a567c21306d45e835b91776bce5edb7cc37a3076bed71462f7fb263532 |
|
MD5 | 5d0bbd13b36b834dbcde703c090da415 |
|
BLAKE2b-256 | cca27626246c508f90e1c16362db6df0d7283ee9b3da0f29ff2c8b6f54e645a5 |