Skip to main content

crashbytes-dateutils

Zero-dependency datetime business helpers — business days, fiscal quarters, relative strings.

Install

pip install crashbytes-dateutils

Usage

from datetime import date
from crashbytes_dateutils import (
    add_business_days, business_days_between, to_relative_string,
    fiscal_quarter, age, start_of_month, end_of_month,
)

add_business_days(date(2024, 6, 14), 1)           # date(2024, 6, 17) — skips weekend
business_days_between(date(2024, 6, 17), date(2024, 6, 21))  # 4
to_relative_string(date(2024, 6, 12), today=date(2024, 6, 15))  # "3 days ago"
fiscal_quarter(date(2024, 7, 15), start_month=7)   # 1
age(date(1990, 6, 15), today=date(2024, 6, 15))    # 34

License

MIT

Metadata

Release files for crashbytes-dateutils 1.1.11

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

Source distribution (sdist)

Source distribution for crashbytes-dateutils 1.1.11
File Size Uploaded Provenance Actions
crashbytes_dateutils-1.1.11.tar.gz 52.4 kB With provenance Details for crashbytes_dateutils-1.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crashbytes-dateutils 1.1.11
File Interpreter ABI Platform Actions
crashbytes_dateutils-1.1.11-py3-none-any.whl Python 3 none any Details for crashbytes_dateutils-1.1.11-py3-none-any.whl

Total release size: 57.0 kB

Release files / crashbytes_dateutils-1.1.11.tar.gz

Download URL crashbytes_dateutils-1.1.11.tar.gz
Size 52.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b876b667aeb4dd012a798afa7df6267183a5294f3b95262209aebd36196b34c0
BLAKE2b-256 checksum
How to use checksums
3246835cb3e2c30e0e6f63bc1cb7a1bfdaa63a964c44316c9da2e7c6bb5da377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / crashbytes_dateutils-1.1.11-py3-none-any.whl

Download URL crashbytes_dateutils-1.1.11-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69858d71827049b7635da29bd60c140e884741ad119b8a9af5498f925b5a5b2d
BLAKE2b-256 checksum
How to use checksums
be6473fd5ef0758b67fb73e0c1d57ea29ea3afb06995ea9cb24784a4dd83cd36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Security for crashbytes-dateutils 1.1.11

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for crashbytes_dateutils-1.1.11.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

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.

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