Skip to main content

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.

Metadata

Release files for discosnow 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discosnow 0.0.5
File Size Uploaded Provenance Actions
discosnow-0.0.5.tar.gz 2.0 kB Without provenance Details for discosnow-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for discosnow 0.0.5
File Interpreter ABI Platform Actions
discosnow-0.0.5-py3-none-any.whl Python 3 none any Details for discosnow-0.0.5-py3-none-any.whl

Total release size: 5.1 kB

Release files / discosnow-0.0.5.tar.gz

Download URL discosnow-0.0.5.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7ba6aab87d24013a0d62009c97484ede58e49fafa88ea0cdafea7a481ed2d02f
BLAKE2b-256 checksum
How to use checksums
f2f9e7bb6f688402024222245f470cd3e03e01a0292cf1a42a7158ad4a10c5f8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / discosnow-0.0.5-py3-none-any.whl

Download URL discosnow-0.0.5-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2762e44b8c1aa132d29f26d3d69ac27b6345c7929bba5e428f30e41a5e45f736
BLAKE2b-256 checksum
How to use checksums
86fc3b6d46b2104f88556a19af5c3bec02ef6aed58cc43118e73471b0d83fab7
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for discosnow 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page