頻繁に利用する処理を集めたライブラリ
Project description
reelib
頻繁に利用する処理を集めたライブラリ
インストール方法
pip install reelib
ライブラリの内容
Timestamp
from reelib import timestamp
# 現在時刻のタイムスタンプを取得
ts = timestamp.get_timestamp()
# ex) 20191025164844890916
# タイムスタンプをdatetimeに変換
t = timestamp.conv_time_from_timestamp(ts)
# ex) datetime.datetime(2019, 10, 25, 16, 48, 44, 890916, tzinfo=datetime.timezone(datetime.timedelta(0, 32400)))
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
reelib-1.0.0.tar.gz
(1.7 kB
view hashes)
Built Distribution
reelib-1.0.0-py3-none-any.whl
(2.9 kB
view hashes)