discord-timestamps
discord-timestamps generates properly-formatted dynamic timestamps for Discord messages, with support for Arrow objects.
>>> format_timestamp(datetime(2021, 11, 20, 12, 0, 0))
'<t:1637409600>'
>>> format_timestamp(datetime(...), TimestampType.RELATIVE)
'<t:1637409600:R>'
Installation
discord-timestamps is available on PyPI:
$ pip install discord-timestamps
discord-timestamps officially supports Python 3.6+.
API Reference
See the wiki for discord-timestamps's documentation.
Metadata
Release files for discord-timestamps 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| discord_timestamps-1.0.2.tar.gz | 5.2 kB | Without provenance | Details for discord_timestamps-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discord_timestamps-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for discord_timestamps-1.0.2-py3-none-any.whl |
Total release size: 8.7 kB
Release files / discord_timestamps-1.0.2.tar.gz
| Download URL | discord_timestamps-1.0.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e32100b845a867dbc741baa0a29f9935f2ed715595ef9b46015146b519cc505c
|
|
BLAKE2b-256 checksum How to use checksums |
4aa467d197d2aa29bc69707075f8eab1635ccdbc6363bb48e4d489668432cf52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / discord_timestamps-1.0.2-py3-none-any.whl
| Download URL | discord_timestamps-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
104327cb142f4d5c4064b46b9d09862d08ffb62591d20e3cb82324416c03ba74
|
|
BLAKE2b-256 checksum How to use checksums |
12eb35b4b3430b897fdd33e5d879c493c3dd7ad0839e9a7ffe802c5a41451d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for discord-timestamps 1.0.2
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.