Class for working with time slots that have an arbitrary start and end
34.63 KB
built 2026-10-17 14:32:13 GMT
Description
Completes the Python datetime module: datetime (a time), time delta
(a duration), timezone (an offset), timeslot (a range/interval).
Supports operations such as: overlaps, intersects, contains, intersection,
adjacent, gap, union.
Initially developed as part of aw-core, and inspired by a similar library for
.NET.
You might also be interested in pandas.Interval.
Dependencies
13 totalRequires12
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(poetry-core) >= 1
- python3dist(pytest)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides1
- python3-timeslot = 0.1.2^20240509.af35445-11.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| python-timeslot.spec | 3.49 KB |
| timeslot-af35445.tar.gz | 8.47 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
