worklog-for-claude-code 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- worklog/__init__.py +3 -0
- worklog/cli.py +249 -0
- worklog/collector.py +197 -0
- worklog/config.py +294 -0
- worklog/demo.py +214 -0
- worklog/hooks.py +78 -0
- worklog/identity.py +238 -0
- worklog/parser.py +180 -0
- worklog/redact.py +39 -0
- worklog/report.py +229 -0
- worklog/services.py +139 -0
- worklog/store.py +135 -0
- worklog/web.py +776 -0
- worklog_for_claude_code-0.1.0.dist-info/METADATA +112 -0
- worklog_for_claude_code-0.1.0.dist-info/RECORD +19 -0
- worklog_for_claude_code-0.1.0.dist-info/WHEEL +5 -0
- worklog_for_claude_code-0.1.0.dist-info/entry_points.txt +2 -0
- worklog_for_claude_code-0.1.0.dist-info/licenses/LICENSE +21 -0
- worklog_for_claude_code-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: worklog-for-claude-code
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Daily work log and token report across Claude Code accounts and devices, synced through your own private git repo
|
|
5
|
+
Author: Urvin
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/us-urvin/worklog-for-claude-code
|
|
8
|
+
Project-URL: Source, https://github.com/us-urvin/worklog-for-claude-code
|
|
9
|
+
Project-URL: Issues, https://github.com/us-urvin/worklog-for-claude-code/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/us-urvin/worklog-for-claude-code/blob/main/CHANGELOG.md
|
|
11
|
+
Keywords: claude-code,claude,worklog,time-tracking,token-usage,developer-tools,daily-report
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Environment :: Web Environment
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Topic :: Software Development
|
|
24
|
+
Classifier: Topic :: Utilities
|
|
25
|
+
Requires-Python: >=3.10
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
License-File: LICENSE
|
|
28
|
+
Requires-Dist: tomli>=2.0; python_version < "3.11"
|
|
29
|
+
Provides-Extra: test
|
|
30
|
+
Requires-Dist: pytest>=7; extra == "test"
|
|
31
|
+
Provides-Extra: dev
|
|
32
|
+
Requires-Dist: pytest>=7; extra == "dev"
|
|
33
|
+
Requires-Dist: ruff==0.16.9; extra == "dev"
|
|
34
|
+
Requires-Dist: build; extra == "dev"
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
|
|
37
|
+
# Worklog for Claude Code
|
|
38
|
+
|
|
39
|
+
**See what you did with Claude Code each day, and how many tokens it used. Automatically.**
|
|
40
|
+
|
|
41
|
+
[](https://github.com/us-urvin/worklog-for-claude-code/actions/workflows/ci.yml)
|
|
42
|
+
[](https://pypi.org/project/worklog-for-claude-code/)
|
|
43
|
+
[](LICENSE)
|
|
44
|
+
|
|
45
|
+
> Independent community project, not affiliated with or endorsed by Anthropic.
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
## What is this?
|
|
50
|
+
|
|
51
|
+
You use Claude Code all day. At the end of it, this tool gives you a simple page that shows:
|
|
52
|
+
|
|
53
|
+
- โ
**What you worked on**: a short summary for each project
|
|
54
|
+
- ๐ **How many tokens you used**: per day, per account and per model
|
|
55
|
+
- ๐ป **All in one place**: even if you use several computers or several Claude accounts
|
|
56
|
+
|
|
57
|
+
It works in the background. You don't have to do anything after setup.
|
|
58
|
+
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+
## Try it first (no setup)
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pipx run --spec worklog-for-claude-code claude-worklog demo
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Then open **http://localhost:8766**. It shows fake example data and doesn't touch your files. Press Ctrl+C to stop.
|
|
68
|
+
|
|
69
|
+
## Install
|
|
70
|
+
|
|
71
|
+
You need Linux, Python 3.10+ and [Claude Code](https://code.claude.com/docs).
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# 1. Install
|
|
75
|
+
pipx install worklog-for-claude-code
|
|
76
|
+
|
|
77
|
+
# 2. Create a folder for your data and start the tool
|
|
78
|
+
git init ~/claude-worklog-data
|
|
79
|
+
claude-worklog install-service
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**3.** Open **http://worklog.localhost:8765**, fill in the short setup form, then click **Install hook**.
|
|
83
|
+
|
|
84
|
+
Done. Your work log fills up as you use Claude Code.
|
|
85
|
+
|
|
86
|
+
> Using more than one computer? Put the data folder in a **private** GitHub/GitLab repo so all your machines share it. See [Full setup](docs/GUIDE.md#full-setup).
|
|
87
|
+
|
|
88
|
+
## Is my data private?
|
|
89
|
+
|
|
90
|
+
Yes.
|
|
91
|
+
|
|
92
|
+
- ๐ **Everything stays on your computer**, plus your own private git repo if you set one up. No cloud service, no tracking.
|
|
93
|
+
- โ๏ธ **Only short notes are saved**: your prompts (shortened), token counts, file names and commit messages. Never your code, and never Claude's replies.
|
|
94
|
+
- ๐งน **Secrets are removed**: API keys, passwords, tokens and e-mail addresses are cleaned out before saving.
|
|
95
|
+
- ๐ค **Optional AI summaries** use your own Claude account (`claude -p`). Turn them off in Settings to keep everything fully local.
|
|
96
|
+
|
|
97
|
+
[More about privacy โ](docs/GUIDE.md#privacy)
|
|
98
|
+
|
|
99
|
+
## Good to know
|
|
100
|
+
|
|
101
|
+
- Works with **Claude Code only**, not claude.ai chat.
|
|
102
|
+
- **Linux only** for now (it uses systemd).
|
|
103
|
+
- It reads Claude Code's local log files. Their format isn't official, so a Claude Code update could break it for a while.
|
|
104
|
+
|
|
105
|
+
## More
|
|
106
|
+
|
|
107
|
+
- ๐ [Full guide](docs/GUIDE.md): several computers, several accounts, all commands, uninstalling
|
|
108
|
+
- ๐ [Report a bug](https://github.com/us-urvin/worklog-for-claude-code/issues/new/choose) ยท ๐ [Security](SECURITY.md) ยท ๐ค [Contributing](CONTRIBUTING.md) ยท ๐ [Changelog](CHANGELOG.md)
|
|
109
|
+
|
|
110
|
+
## License
|
|
111
|
+
|
|
112
|
+
[MIT](LICENSE) ยฉ 2026 Urvin
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
worklog/__init__.py,sha256=2zwxuXcEXItSl-dtB9KTVSO0OpMNBl1WSkHHos1P1J8,92
|
|
2
|
+
worklog/cli.py,sha256=WmJaCx8Bot9XJ2-TZZRx9NKqCEAcOPpnJIBorl6pmFQ,10737
|
|
3
|
+
worklog/collector.py,sha256=9rYLd5RImWXOnGQkykPnKHh970ORnxQGEbOxLz5Gw4A,8451
|
|
4
|
+
worklog/config.py,sha256=13cSAU9XYAeyF_ETGrDW1XIXFmh9qkNCooDMdQyYa-s,11426
|
|
5
|
+
worklog/demo.py,sha256=i0ghzfc6yZUgOeQZn2OTvScG3m2SBRiVrKV9fbvacug,11725
|
|
6
|
+
worklog/hooks.py,sha256=1Z2yPCJgMXArBOqA-nsVkOjrlzFR37vzSFA-uJOG8KM,3325
|
|
7
|
+
worklog/identity.py,sha256=XBXVjgnwsY3A77iFnwPUTRcdpWCb0No3idytzMIpP5Y,10101
|
|
8
|
+
worklog/parser.py,sha256=ZC-KTVxcobroyf7-Fbv5zu63S6g9QZLYB0qZEeqD5KE,6549
|
|
9
|
+
worklog/redact.py,sha256=qfq19NAmn370UwP6L53fzX6bo88zYc7ViSQ1pr68ONI,2111
|
|
10
|
+
worklog/report.py,sha256=18Hdi9HGEAi1l5jbtt-JUpFOPS1iplYUCT0KzPKwruw,10512
|
|
11
|
+
worklog/services.py,sha256=qMXsMAstWFXLS82lVgSA_RAwyKRsR4DSvgBMk6ZmnJg,4562
|
|
12
|
+
worklog/store.py,sha256=9oWSM-0WvAGecLfxjOuXbMeRZTW8b6zVHD-BOLj2pKE,5788
|
|
13
|
+
worklog/web.py,sha256=pv7u5EXinszzvpPAovY93qjcpcwj0ZHWgW30Rjash6E,45922
|
|
14
|
+
worklog_for_claude_code-0.1.0.dist-info/licenses/LICENSE,sha256=uE566UoHf7mHEwBfmyfWccLNKJz5qP5v0_Ge3FhRlUM,1062
|
|
15
|
+
worklog_for_claude_code-0.1.0.dist-info/METADATA,sha256=1vezYWh8wU2UjwKdrqjgqnIU5Lg8ZCaeOHJuB8V5Jq8,4972
|
|
16
|
+
worklog_for_claude_code-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
17
|
+
worklog_for_claude_code-0.1.0.dist-info/entry_points.txt,sha256=es456ek1czLf1Ui-d3oJ--tAkp6sXRCNUaRF18PyPb4,52
|
|
18
|
+
worklog_for_claude_code-0.1.0.dist-info/top_level.txt,sha256=cVCQNJEQcxfZkKY1Ssyk2aAF-USixqhBDSsOIjOGb3s,8
|
|
19
|
+
worklog_for_claude_code-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Urvin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
worklog
|