# dstamp
CLI app for generating timestamps for use in Discord chats.
## Example usage
```bash
# For the current time
dstamp get
# Two hours in the future
dstamp get --offset 2h
# Round to the nearest hour
dstamp get -o 2h --round --precision h
# Copy to clipboard
dstamp --copy-to-clipboard
# Show active configuration
dstamp show-config
```
For full documentation see the help messages:
```bash
dstamp --help
dstamp get --help
dstamp show-config --help
```
## Configuration
Run `show-config` with no arguments to find the default config location:
```bash
dstamp show-config
```
The config file should be in `.toml` format. The defaults are equivalent to the
following:
```toml
copy_to_clipboard = false
output_format = "relative"
round = false
rounding_precision = "10m"
```
These settings will be in effect unless overriden by CLI options.
## Contributing
If you'd like to see something added to dstamp or if you would like to add something
yourself, please see [CONTRIBUTING](./CONTRIBUTING.md)!
Please also see the above if you have a bug to report.
Raw data
{
"_id": null,
"home_page": "https://github.com/mariusz-tang/dstamp",
"name": "dstamp",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.13",
"maintainer_email": null,
"keywords": "discord, timestamp, generator",
"author": "Mariusz Tang",
"author_email": "dev@mariusztang.com",
"download_url": "https://files.pythonhosted.org/packages/27/91/9d01281c2c29232533fde38d51a8a2bbb9d266f205bff2592d29f799c8a9/dstamp-1.0.0.tar.gz",
"platform": null,
"description": "# dstamp\n\nCLI app for generating timestamps for use in Discord chats.\n\n## Example usage\n\n```bash\n# For the current time\ndstamp get\n\n# Two hours in the future\ndstamp get --offset 2h\n\n# Round to the nearest hour\ndstamp get -o 2h --round --precision h\n\n# Copy to clipboard\ndstamp --copy-to-clipboard\n\n# Show active configuration\ndstamp show-config\n```\n\nFor full documentation see the help messages:\n\n```bash\ndstamp --help\ndstamp get --help\ndstamp show-config --help\n```\n\n## Configuration\n\nRun `show-config` with no arguments to find the default config location:\n\n```bash\ndstamp show-config\n```\n\nThe config file should be in `.toml` format. The defaults are equivalent to the\nfollowing:\n\n```toml\ncopy_to_clipboard = false\noutput_format = \"relative\"\nround = false\nrounding_precision = \"10m\"\n```\n\nThese settings will be in effect unless overriden by CLI options.\n\n## Contributing\n\nIf you'd like to see something added to dstamp or if you would like to add something\nyourself, please see [CONTRIBUTING](./CONTRIBUTING.md)!\n\nPlease also see the above if you have a bug to report.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CLI app for generating timestamps for use in Discord chats.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/mariusz-tang/dstamp",
"Issues": "https://github.com/mariusz-tang/dstamp/issues",
"Repository": "https://github.com/mariusz-tang/dstamp"
},
"split_keywords": [
"discord",
" timestamp",
" generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "789adecaa113ffc361facd57cc89cf29dc6974288999e2de5a430c1791fe5705",
"md5": "d328c27c231889f6c6d7069f7b9244ea",
"sha256": "214f57912f31a25c1b6e531748cfb1f4d00705aae4c3e8247d87ac2bf75d4652"
},
"downloads": -1,
"filename": "dstamp-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d328c27c231889f6c6d7069f7b9244ea",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.13",
"size": 10527,
"upload_time": "2025-07-22T10:40:30",
"upload_time_iso_8601": "2025-07-22T10:40:30.610839Z",
"url": "https://files.pythonhosted.org/packages/78/9a/decaa113ffc361facd57cc89cf29dc6974288999e2de5a430c1791fe5705/dstamp-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "27919d01281c2c29232533fde38d51a8a2bbb9d266f205bff2592d29f799c8a9",
"md5": "94df2915199ada3570e0a92e037017fb",
"sha256": "d839597b48dfefc4ae17a5b50ae1bca3ef9637350d192f4ec07a94cfd32e6905"
},
"downloads": -1,
"filename": "dstamp-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "94df2915199ada3570e0a92e037017fb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.13",
"size": 7906,
"upload_time": "2025-07-22T10:40:31",
"upload_time_iso_8601": "2025-07-22T10:40:31.853691Z",
"url": "https://files.pythonhosted.org/packages/27/91/9d01281c2c29232533fde38d51a8a2bbb9d266f205bff2592d29f799c8a9/dstamp-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-22 10:40:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mariusz-tang",
"github_project": "dstamp",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dstamp"
}