A simple tools comvert from discord id to datetime
Project description
discord-snowflake
discordの各IDを、datetime型に変換するライブラリ。 d.pyを使うほどではないけれどIDから時間を知りたいときに
DEMO
import discosnow as ds
if __name__ == "__main__":
message_id = 862620603979005962
print(ds.snowflake2time(message_id))
Requirement
- datetime
Usage
https://github.com/being24/discord-snowflake
cd examples
python demo.py
License
"discord-snowflake" is under MIT license.
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
discosnow-0.0.5.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file discosnow-0.0.5.tar.gz
.
File metadata
- Download URL: discosnow-0.0.5.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba6aab87d24013a0d62009c97484ede58e49fafa88ea0cdafea7a481ed2d02f |
|
MD5 | 5bc21279ecbd877d3009cf42a9c62442 |
|
BLAKE2b-256 | f2f9e7bb6f688402024222245f470cd3e03e01a0292cf1a42a7158ad4a10c5f8 |
File details
Details for the file discosnow-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: discosnow-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2762e44b8c1aa132d29f26d3d69ac27b6345c7929bba5e428f30e41a5e45f736 |
|
MD5 | c8df8e1a7dc538285216dd220ef2c5f0 |
|
BLAKE2b-256 | 86fc3b6d46b2104f88556a19af5c3bec02ef6aed58cc43118e73471b0d83fab7 |