lexdays
Legal deadlines and business days you can verify. lexdays computes the last day to act and explains every step, with the statute or court decision it comes from.
- Türkiye (HMK, İİK, CMK, İYUK, VUK, Constitutional Court), US federal courts (FRCP 6), England and Wales (CPR 2.8), the EU Court of Justice and Germany (ZPO)
- Judicial recesses, half-day holidays, deemed service, add-on days for mail, counting back from a hearing, clear days, month ends
- Calculation steps explained in 12 languages
- Disputed points are options with a notice; dates outside the verified holiday data raise an error instead of guessing
- No dependencies, MIT licensed; the TypeScript package (
npm install lexdays) gives identical results
pip install lexdays
import lexdays
r = lexdays.compute("tr/hmk", "2026-07-30", "P2W") # Turkish civil procedure, 2 weeks from service
r.deadline # datetime.date(2026, 9, 8): extended by the judicial recess
print(r.explain("en")) # numbered steps, each with its citation
lexdays.compute("us/frcp", "2025-07-31", "P30D", options={"service": "mail"}).deadline
# datetime.date(2025, 9, 5)
lexdays.compute("gb-eaw/cpr", "2025-10-20", "P3D", direction="before").deadline
# datetime.date(2025, 10, 14): 3 clear days before the hearing
lexdays.compute("de/zpo", "2025-07-15", "P1M", calendar="de-by-catholic").deadline
# datetime.date(2025, 8, 18): 15 August is a holiday at a Munich court
lexdays.calendar("tr").add_business_days("2026-05-22", 3)
# datetime.date(2026, 6, 1): skips the Feast of Sacrifice
Command line:
lexdays deadline tr/hmk 2026-07-30 P2W --lang de
lexdays deadline de/zpo 2025-07-25 P2W --calendar de-by-augsburg
lexdays holidays tr 2026
Documentation, rule sources and the live demo: https://github.com/DoGood-Studio/legal-deadline-calculator
This is an informational tool, not legal advice. Always check a deadline that matters.
Metadata
Release files for lexdays 0.2.0
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 | |
|---|---|---|---|---|
| lexdays-0.2.0.tar.gz | 207.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lexdays-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 333.2 kB
Release files / lexdays-0.2.0.tar.gz
| Download URL | lexdays-0.2.0.tar.gz |
|---|---|
| Size | 207.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b734b824324bd1434835658265f5277cb8fe113156b3a549bdd900794719af13
|
|
BLAKE2b-256 checksum How to use checksums |
4b0da2ded03fbe25f0bbda729d700f608a5a5deec9b6c3f1fcccb1125d2eb1f7
|
| 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 20, 2026.
Transparency logRelease files / lexdays-0.2.0-py3-none-any.whl
| Download URL | lexdays-0.2.0-py3-none-any.whl |
|---|---|
| Size | 125.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
952fb3f19b333962cda89c3cb15574100df0d89f0e7ee063e89a8398da52f1ce
|
|
BLAKE2b-256 checksum How to use checksums |
9fef45131ce78d12a7d0820ec7e77140e00d744259aa27ecaa06f6e5dbd7c26f
|
| 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 20, 2026.
Transparency logSecurity for lexdays 0.2.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for lexdays-0.2.0.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 20, 2026.
Transparency logA 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.