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!
Metadata
Release files for spacebar-counter 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| spacebar_counter-0.1.2.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spacebar_counter-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / spacebar_counter-0.1.2.tar.gz
| Download URL | spacebar_counter-0.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be3ba29af1b14b018f27d66b3cbdf6a769c5215efa78fd64c32e1f5e9088c347
|
|
BLAKE2b-256 checksum How to use checksums |
6ed04540405f23f88bfe5d154f4acde44bb51b9bab8118577170c5cbc427052d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|
Release files / spacebar_counter-0.1.2-py3-none-any.whl
| Download URL | spacebar_counter-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c39472674330961739d053d593033d414de2054f297c998f9dd7db41322eca1
|
|
BLAKE2b-256 checksum How to use checksums |
637413d6f3d822c85917344ec3dc67ed5d2fe366c52184994bd6f8309ad96008
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.4
|
Security for spacebar-counter 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.