dstamp
CLI app for generating timestamps for use in Discord chats.
Note: This is a complete rewrite of the original project from the ground up, using the standard argparse module instead of cyclopts.
Installation
pipx install dstamp
uv tool install dstamp
Usage
# Get the current time.
dstamp get
# Get the current time, to the nearest 15 minutes.
dstamp get --precision 15m
# Get the time 20 minutes from now.
dstamp in 20m
# Show the default config file location.
dstamp show-config
See the help messages for full usage information:
dstamp --help
dstamp -h get
dstamp -h in
Configuration
Dstamp supports configuration by TOML file. See dstamp -h show-config for full
information. The config file location can be overridden using the --config
option.
Logs
Dstamp writes logs to a file. Use dstamp show-log to get the file location.
Shell completion
Dstamp supports shell completion using argcomplete. See the argcomplete documentation for setup instructions.
Versioning
This project uses an MAJOR.MINOR versioning scheme. MAJOR is incremented for
significant feature additions or changes. Everything else increments MINOR
only. MINOR is omitted if it is zero.
Contributing
If you'd like to see something added to dstamp or if you would like to add something yourself, please see CONTRIBUTING!
Please also see the above if you have a bug to report.
Metadata
Release files for dstamp 4
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 |
|---|---|---|---|---|
| dstamp-4.tar.gz | 9.6 kB | Without provenance | Details for dstamp-4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dstamp-4-py3-none-any.whl | Python 3 | none | any | Details for dstamp-4-py3-none-any.whl |
Total release size: 22.9 kB
Release files / dstamp-4.tar.gz
| Download URL | dstamp-4.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04144ae95a42d9dee0e9366d24ae5a1dc6e2efba19220ff551ac8a773de04dfb
|
|
BLAKE2b-256 checksum How to use checksums |
5608b61bd62a428e906f693ed2959f82cc484c63d5ad4e13b18c56a448b63043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dstamp-4-py3-none-any.whl
| Download URL | dstamp-4-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
755d2a9980d236ef671eab72b0750c82e230fdb6ca7a6d7c0138a0e24e570105
|
|
BLAKE2b-256 checksum How to use checksums |
1c88f5c8b972dd4f267d71b81bac47b654378bae76637b964dff122c7e7aba33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dstamp 4
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.