Metadata-Version: 2.4
Name: hprof-parser
Version: 0.1.0
Summary: Hobby Project Profiler — track time, progress, and stats across your side projects
Project-URL: Homepage, https://github.com/brnv/hprof-parser
Author-email: Artem <brnv@canva.com>
License-Expression: MIT
License-File: LICENSE
Keywords: hobby,profiler,projects,side-project,time,tracker
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# hprof-parser

**H**obby **Prof**iler — track time, progress, and stats across your side projects.

## Installation

```bash
pip install hprof-parser
```

## Usage

```python
from hprof_parser import Tracker, Project, Report

tracker = Tracker(storage_path="~/.hprof.json")

# Add projects
tracker.add_project(Project(name="rust-raytracer", tags=["rust", "graphics"]))
tracker.add_project(Project(name="arduino-plant-watering", tags=["hardware"]))

# Track time
tracker.start_session("rust-raytracer", "implementing BVH")
# ... work ...
tracker.stop_session()

# Goals
p = tracker.get_project("rust-raytracer")
p.add_goal("Basic sphere rendering")
p.add_goal("BVH acceleration")
p.add_goal("Materials & textures")
p.check_goal(0)  # done!

# Reports
report = Report(tracker)
print(report.weekly())
print(report.project_report("rust-raytracer"))
print(report.graveyard())  # RIP abandoned projects
print(report.completion_rate())
print(tracker.streak())  # consecutive days
```

## CLI

```bash
hprof add "rust-raytracer" --tags rust graphics
hprof start rust-raytracer --desc "BVH implementation"
hprof stop
hprof status
hprof goal rust-raytracer "Add texture support"
hprof check rust-raytracer 0
hprof weekly
hprof report rust-raytracer
hprof set-status rust-raytracer complete
hprof graveyard
```

## License

MIT
