Skip to main content

Timey-wimey

A simple CLI tool to generate dates from plain English.

Usage

You can pass in a string using natural language and it'll parse it.

❯ timey-wimey "two hours ago utc"
2023-05-19T00:13:27.866775+00:00

If you want a range of dates you can use the --to flag to get it. You use the --interval flag to set the interval it increments by. The interval should be in the format: integer unit so like: 3 days or 1 hour.

❯ timey-wimey "two hours ago utc" --to "three hours utc" --interval "30 minutes"         
2023-05-19T00:15:30.469480+00:00
2023-05-19T00:15:30.469480+00:00
2023-05-18T23:45:30.469480+00:00

Instal

pipx install timey-wimey

Metadata

Release files for timey-wimey 0.1.2

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

Source distribution (sdist)

Source distribution for timey-wimey 0.1.2
File Size Uploaded
timey_wimey-0.1.2.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for timey-wimey 0.1.2
File Interpreter ABI Platform
timey_wimey-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / timey_wimey-0.1.2.tar.gz

Download URL timey_wimey-0.1.2.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
acb0172bea34446574a9c3395dbb5766479f5106774c52018b91fc83f54433a4
BLAKE2b-256 checksum
How to use checksums
d39aae25c245ede8555f5db42c1b56f13da396e3ed8166753030404130a6c129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.2.0

Release files / timey_wimey-0.1.2-py3-none-any.whl

Download URL timey_wimey-0.1.2-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b92ee4f9c95e8b06b1124a6c75bea9174893c6a891242ec2c5acc34f2e34a71
BLAKE2b-256 checksum
How to use checksums
e2620fc1879be60c631a9b681344bd14906447489db4982b16e1a8335de8c885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.2.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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