Skip to main content

Hobby Project Profiler — track time, progress, and stats across your side projects

Project description

hprof-parser

Hobby Profiler — track time, progress, and stats across your side projects.

Installation

pip install hprof-parser

Usage

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

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

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

hprof_parser-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hprof_parser-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file hprof_parser-0.1.0.tar.gz.

File metadata

  • Download URL: hprof_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hprof_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44bba3777ef039ab07f8f2fb1f6ff3e1e6e5c00189e98945f2c6bffdc734111c
MD5 76a512b9872bafc101c96028c4085896
BLAKE2b-256 0cc53f7ca3cae970cffe65d9e02f72bcc39ec6e7b025ced0a61cd742a94798bc

See more details on using hashes here.

File details

Details for the file hprof_parser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hprof_parser-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hprof_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b49cc03e4bb0d6acb1bd5dffe0a3f7eaf5195b80f267295f3ab81c9c0fd2e017
MD5 ec13677a1bd315b6aced7e2d23430331
BLAKE2b-256 eed9ec47ef4b96e86961c92fe4b077f019f6b72c5165ab597c552122881a60db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page