Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

agecheck

Date-of-birth / age-threshold utility with timezone-correct date math.

agecompliancedate-of-birthdobtimezone
Published22 Jul 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

agecheck

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.

Install

pip install agecheck

Usage

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

Roadmap

This is an early 0.1.0 release with active development planned:

  • Jurisdiction preset table (US states, EU defaults)
  • Optional document-level verification helpers
  • Stricter input parsing modes

Author

Coldbricks — coldbricks@gmail.com

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
agecheck-0.1.0-py3-none-any.whl

bdist_wheel · 3.89 KB · Python py3

Source file
agecheck-0.1.0.tar.gz

sdist · 3.26 KB · Python source

Source file

Repository

PENDING
coldbricks/agecheck

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:22 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8fe12ec662f10a809660b40ccab43bff9a3dc8528c19f9d67b8fccf6a4c7946e

Other collected versions

View all collected versions →