Current collected state Current
Observed since 20 Oct, 21:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Date-of-birth / age-threshold utility with timezone-correct date math.
Date-of-birth / age-threshold utility with timezone-correct date math. Answer whether someone meets a jurisdiction minimum age using the calendar date in that jurisdiction's timezone.
pip install agecheck
from datetime import date
from agecheck import is_of_age, age_on
dob = date(2000, 6, 15)
assert is_of_age(dob, 18, on=date(2018, 6, 15), tz="UTC") is True
assert is_of_age(dob, 18, on=date(2018, 6, 14), tz="UTC") is False
assert age_on(dob, on=date(2026, 6, 15), tz="UTC") == 26
This is an early 0.1.0 release with active development planned:
Coldbricks — coldbricks@gmail.com
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 22 Jul 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e4e749065e73d71c4bc4bfb24014f7c6aaf71f2523f92d110d6c1f2c03186e92