A CLI tool to count spacebar presses.
Project description
spacebar-counter
A simple Python CLI tool to count your spacebar presses per day and visualize your stats!
Installation
Install from PyPI:
pip install spacebar-counter
Or install the latest version from GitHub:
pip install git+https://github.com/kalashb/spacebar-counter.git
Usage
Start tracking your spacebar presses:
spacebar-counter start
- This will count your spacebar presses for the current day.
- The count resets automatically at midnight.
- A file named
spacebar_stats.jsonwill be created in the directory where you run this command. - This file stores your daily spacebar stats (date, count, first and last press times).
Generate a dashboard:
spacebar-counter dashboard
- This creates
spacebar_dashboard.htmlin the same directory. - Open it in your browser to see your daily spacebar stats as a dot plot.
Data Storage
spacebar_stats.json: Stores your daily stats. Created/updated when you runstart.spacebar_dashboard.html: The dashboard file. Created/updated when you rundashboard.- Both files are created in the directory where you run the commands.
- Each user has their own local files; your stats are private and not shared.
Requirements
- Python 3.7+
pynputplotlytyper
License
MIT
Tip:
- Add a "Features" section if you want to highlight more.
- Add a "Contributing" section if you want others to help improve your tool.
Would you like me to update your README.md for you? If so, let me know your GitHub username and repo name, or I can leave placeholders for you to fill in!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file spacebar_counter-0.1.2.tar.gz.
File metadata
- Download URL: spacebar_counter-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be3ba29af1b14b018f27d66b3cbdf6a769c5215efa78fd64c32e1f5e9088c347
|
|
| MD5 |
fac3343efce61d1f80f1d633b65d7dcc
|
|
| BLAKE2b-256 |
6ed04540405f23f88bfe5d154f4acde44bb51b9bab8118577170c5cbc427052d
|
File details
Details for the file spacebar_counter-0.1.2-py3-none-any.whl.
File metadata
- Download URL: spacebar_counter-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c39472674330961739d053d593033d414de2054f297c998f9dd7db41322eca1
|
|
| MD5 |
cabd82275ddf34166602233adc6b6324
|
|
| BLAKE2b-256 |
637413d6f3d822c85917344ec3dc67ed5d2fe366c52184994bd6f8309ad96008
|