Skip to main content

CLI app for generating timestamps for use in Discord chats.

Project description

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

Install using pipx or uv:

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

# Show the config file location.
dstamp show-config

See the help messages for full usage information:

dstamp -h
dstamp -h get

Configuration

Dstamp supports configuration by TOML file. See dstamp -h show-config for full information.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dstamp-3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dstamp-3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file dstamp-3.tar.gz.

File metadata

  • Download URL: dstamp-3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for dstamp-3.tar.gz
Algorithm Hash digest
SHA256 b8ce9d4878379c469ce9f521c3e4984a5db62fb5fe8ce8d3885cb70658592a47
MD5 b330aad0c4238db4fd10642fbc300088
BLAKE2b-256 bb951d7d21540b727f82d8053dc61486add35924b8aefae5de0304417866263c

See more details on using hashes here.

File details

Details for the file dstamp-3-py3-none-any.whl.

File metadata

  • Download URL: dstamp-3-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for dstamp-3-py3-none-any.whl
Algorithm Hash digest
SHA256 491331ba73a53a599dda7ddf414a3e837ebc2d38fed75a1cbe9260c7b31a3ad7
MD5 c99fa5539b2d319c6a343e58b82f8f4f
BLAKE2b-256 47d0c6dc3060747349bf440f17fe001626410b26bdd87daefce794b2a7f08005

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page