Scripting utilities for PhD students, including logging with email notification, task batching, plotting, and more.
Project description
phdkit - Scripting Utilities for PhD Students
Overview
TODO
Features
Algorithms
Interval Tree
A high-performance Red-Black tree based interval tree implementation for efficiently managing and querying overlapping intervals.
Key Features:
- O(log n) insertion and deletion
- O(log n + k) overlap queries (where k is the number of results)
- Half-open interval semantics [start, end)
- Support for point queries and range queries
- Generic data payload support
Example Usage:
from phdkit.alg import IntervalTree, Interval
# Create intervals
tree = IntervalTree()
tree.insert(Interval(1, 5, "Task A"))
tree.insert(Interval(3, 8, "Task B"))
# Find overlapping intervals
overlaps = tree.search(2, 6) # Returns intervals overlapping [2, 6)
# Find intervals containing a point
containing = tree.query_point(4) # Returns intervals containing point 4
Logging and email notification
TODO
Configuration management
TODO
Task batching
TODO
Declaratively plotting
TODO
Other utilities
TODO
Development
TODO
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phdkit-0.0.3.tar.gz
(29.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
phdkit-0.0.3-py3-none-any.whl
(25.3 kB
view details)
File details
Details for the file phdkit-0.0.3.tar.gz.
File metadata
- Download URL: phdkit-0.0.3.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c1bec4d23c602f8aabb164e1cb8143e375a1bf52e93ea50bb9c9363e9041c2
|
|
| MD5 |
82e04bcf46ab6a0f116d35840250d976
|
|
| BLAKE2b-256 |
f1098f8d8d3a874e7a951398c349fd6b11055f8b8ed89a32db2ce56de4af6a88
|
File details
Details for the file phdkit-0.0.3-py3-none-any.whl.
File metadata
- Download URL: phdkit-0.0.3-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45254ce29663be8fd8ae3822275c52f693d66af378964c0685a742ea400d1723
|
|
| MD5 |
fc5ba57ca7dbb251b4492ed166d62896
|
|
| BLAKE2b-256 |
32303123adbc850da6453c7bcd7d9d1d1a46c9981fdba8bd53a5651763bd5222
|