historieklokka
A history clock for the terminal. Military time HH:MM becomes a historical year, with a curated fact from that year — fetched live from historieklokka.no.
15:23 → year 1523 → "Luther publishes 'On Secular Authority', laying the groundwork for separation of church and state."
Install
pip install historieklokka
Usage
historieklokka # uses historieklokka.no
historieklokka --api http://localhost:8421/api/v1 # against a local instance
Press Ctrl+C to exit.
What it shows
- Current time as a year (e.g. 16:45 → 1645)
- The historical era that year belongs to
- A Wikipedia-sourced fact from that year, rewritten as vivid prose by an LLM
- Future years (after the current year) show curated speculative events
Publishing to PyPI
# One-time setup
pip install hatch
# Build
cd cli/
hatch build # creates dist/historieklokka-*.whl and .tar.gz
# Publish (requires PyPI account + API token at https://pypi.org/manage/account/token/)
hatch publish # prompts for username (__token__) and token
Set HATCH_INDEX_USER=__token__ and HATCH_INDEX_AUTH=pypi-... as environment variables
to skip the prompts.
License
GPL-3.0-only — see LICENSE.
Metadata
Release files for historieklokka 0.1.1
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 | Actions |
|---|---|---|---|---|
| historieklokka-0.1.1.tar.gz | 16.5 kB | Without provenance | Details for historieklokka-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| historieklokka-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for historieklokka-0.1.1-py3-none-any.whl |
Total release size: 33.7 kB
Release files / historieklokka-0.1.1.tar.gz
| Download URL | historieklokka-0.1.1.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2a7e9a7adea168ee580529fafcb2a802f99fdf67b9129554d0be2da891ba736
|
|
BLAKE2b-256 checksum How to use checksums |
d6d96b53c134d4cabbd288d217e75341194075cb95f22622b3f968c104b233a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
|
Release files / historieklokka-0.1.1-py3-none-any.whl
| Download URL | historieklokka-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81ef920d50798784564c0986df8d2694e949a4719e69ed2c4567da3f16b5c45f
|
|
BLAKE2b-256 checksum How to use checksums |
5565283e8c287c7d85f219ef1264c2a90189f900a1616a7d9eec10e9b4360083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
|
Security for historieklokka 0.1.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.