Skip to main content

Probe

https://badge.fury.io/py/probe.png https://pypip.in/d/probe/badge.png

Probe lets you ship personal metrics (feelings, energy level, productivity) to external services for analysis.

Features

  • Keep track of numbers, ratings, hours, and yes/no questions.

  • Ship personal metrics to multiple services.

  • Schedule how often you want to collect data, it’ll keep track.

Getting Started

Run probe init after installing. Then look at the “configuration example” below. To anwer questions, run probe answer.

Configuration Example

questions:
  - sleep.hours:
    text: How long did you sleep last night? (in hours)
    unit: hours
    interval: every day

  - energy:
    text: what is your energy level right now?
    unit: rating
    lower: 0
    upper: 10

outputs:
  - stdout:
    level: debug

  - tempodb:
    key: ...
    secret: ...

Save this as ~/.probe_config and run probe, and you’ll get some nice output asking you questions at appropriate times. Run it as many times as you like, the questions will only be asked once per appropriate period.

Available Units:

  • Hours (key: hours) takes upper and lower limit (lower defaults to 0)

  • Rating (key: rating) takes upper and lower limit. (default to 10 and 0, respectively)

  • Number (key: number) keep track of arbitrary floating-point numbers.

  • Yes/No (key: yesno) answers a yes/no question. (accepts yes/no, 0/1, and true/false or shortened versions like t/f.)

Available Outputs:

  • StdOut (key: stdout) accepts a “level” argument - currently info or debug.

  • TempoDB (key: tempodb) accepts any arguments passed to tempodb.Client but you’ll probably only need to know key and secret. Get these for a database in your account.

    You’ll need to install with the “tempodb” extra (pip install probe[tempodb]) for this to work. You could also just install the tempodb client, but installing with the extra ensures you’ll get future dependencies.

History

0.0.1 (2013-10-20)

  • First release on PyPI.

Metadata

Release files for probe 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for probe 0.0.2
File Size Uploaded
probe-0.0.2.tar.gz 8.0 kB Details

Release files / probe-0.0.2.tar.gz

Download URL probe-0.0.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9ab043df522d085a79282dae32dfb1339503d51fcb0619fa28e112b6fbcfb931
BLAKE2b-256 checksum
How to use checksums
2363c471714ff5895a645f49af06a6b2cc29c56b097fe2fb49870147b3de881a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page