Metadata-Version: 2.4
Name: infdate
Version: 0.1.0
Summary: Date object wrapper supporting infinity
Project-URL: Homepage, https://gitlab.com/blackstream-x/infdate
Project-URL: CI, https://gitlab.com/blackstream-x/infdate/-/pipelines
Project-URL: Bug Tracker, https://gitlab.com/blackstream-x/infdate/-/issues
Project-URL: Repository, https://gitlab.com/blackstream-x/infdate.git
Author-email: Rainer Schwarzbach <rainer@blackstream.de>
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# infdate

_Python module for date calculations implementing a concept of infinity_

The **Date** class provided in this package wraps the standard library’s
**datetime.date** class and adds the capability to specify dates in positive
(after everything else) or negative (before everything else) infinity,
and to do calculations (add days, or subtract days or other **Date** instances)
with these objects.

For easier usage, differences are expressed as integers (1 = one day)
or floats (inf and -inf _only_).

These capabilities can come handy when dealing with API representations of dates,
eg. in GitLab’s [Personal Access Tokens API].

* * *
[Personal Access Tokens API]: https://docs.gitlab.com/api/personal_access_tokens/