clerk-timestamp
A clerk extension to append timestamps to your journal
Setup
Install clerk-timestamp in the venv that clerk is installed in
$ pipx runpip josephhaaga-clerk install josephhaaga-clerk-timestamp
Then, in your clerk.conf config file:
...
[hooks]
JOURNAL_OPENED =
timestamp
For more information, see clerk hooks documentation
Configuration
As of v0.0.3, clerk-timestamp supports the following configuration options.
formatspecifies your timestamp format (used indatetime.strftime)prefixspecifies the timestamp prefixsuffixspecifies the timestamp suffix
Add them to your clerk.conf config file, as show in this example:
[DEFAULT]
...
[hooks]
JOURNAL_OPENED=
timestamp
[timestamp]
format=%%Y-%%m-%%d %%I:%%M:%%S %%p
prefix=
[
suffix=]
which results in a newline character, and square brackets around the timestamp in our specified format every time a journal is opened
# existing journal document <EOF>
[2021-06-22 09:47:23 PM]
Metadata
Release files for josephhaaga-clerk-timestamp 0.0.3
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 |
|---|---|---|---|---|
| josephhaaga-clerk-timestamp-0.0.3.tar.gz | 2.0 kB | Without provenance | Details for josephhaaga-clerk-timestamp-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| josephhaaga_clerk_timestamp-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for josephhaaga_clerk_timestamp-0.0.3-py3-none-any.whl |
Total release size: 4.7 kB
Release files / josephhaaga-clerk-timestamp-0.0.3.tar.gz
| Download URL | josephhaaga-clerk-timestamp-0.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d830c726a3b0e69aca91036c6494b1c08bd22a13c9c01f0f817d2e4814c1d46
|
|
BLAKE2b-256 checksum How to use checksums |
dcec9cd127e740ca0c473ddb6171709e41205fe521457e7cc6c4828658eebfe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / josephhaaga_clerk_timestamp-0.0.3-py3-none-any.whl
| Download URL | josephhaaga_clerk_timestamp-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1187a2af47609b36bab0f5f950420611db2d1ef9fdb5cc0e3d8740232ee53473
|
|
BLAKE2b-256 checksum How to use checksums |
15b0c426d40c4ba2e931f9ff92b43302674e01e1599e040706bd51e2d1b28d8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for josephhaaga-clerk-timestamp 0.0.3
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.