clockwork-cli 0.1.0__tar.gz → 0.1.1__tar.gz
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.
- {clockwork_cli-0.1.0/src/clockwork_cli.egg-info → clockwork_cli-0.1.1}/PKG-INFO +18 -10
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/README.md +17 -9
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/pyproject.toml +1 -1
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli/__init__.py +6 -2
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1/src/clockwork_cli.egg-info}/PKG-INFO +18 -10
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/LICENSE +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/setup.cfg +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli/__main__.py +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli.egg-info/SOURCES.txt +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli.egg-info/dependency_links.txt +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli.egg-info/entry_points.txt +0 -0
- {clockwork_cli-0.1.0 → clockwork_cli-0.1.1}/src/clockwork_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clockwork-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Mine your Claude Code and Codex session logs to estimate active time
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/danielsich/clockwork
|
|
@@ -18,6 +18,10 @@ Dynamic: license-file
|
|
|
18
18
|
|
|
19
19
|
# clockwork
|
|
20
20
|
|
|
21
|
+
[](https://pypi.org/project/clockwork-cli/)
|
|
22
|
+
[](LICENSE)
|
|
23
|
+
[](https://deepwiki.com/danielsich/clockwork)
|
|
24
|
+
|
|
21
25
|
A tiny, dependency-free CLI that mines your **Claude Code** and **Codex**
|
|
22
26
|
session logs to estimate how much *active* time you've actually spent — per
|
|
23
27
|
project, per day — and renders it as ASCII bar charts in your terminal.
|
|
@@ -78,11 +82,19 @@ midnight is credited to each day it spans.
|
|
|
78
82
|
|
|
79
83
|
## Requirements
|
|
80
84
|
|
|
81
|
-
- Python 3.7+ (standard library only — no
|
|
85
|
+
- Python 3.7+ (standard library only — no dependencies)
|
|
82
86
|
|
|
83
87
|
## Install
|
|
84
88
|
|
|
85
|
-
**macOS
|
|
89
|
+
**pip (recommended — works on macOS, Linux, and Windows)**
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pip install clockwork-cli
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
This puts `clockwork` on your PATH. Done.
|
|
96
|
+
|
|
97
|
+
**From source — macOS / Linux**
|
|
86
98
|
|
|
87
99
|
```bash
|
|
88
100
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -96,7 +108,7 @@ ln -s "$PWD/clockwork" ~/.local/bin/clockwork
|
|
|
96
108
|
./clockwork claude all
|
|
97
109
|
```
|
|
98
110
|
|
|
99
|
-
**Windows**
|
|
111
|
+
**From source — Windows**
|
|
100
112
|
|
|
101
113
|
```powershell
|
|
102
114
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -104,14 +116,10 @@ cd clockwork
|
|
|
104
116
|
|
|
105
117
|
# Run directly with Python (the shebang line is ignored on Windows)
|
|
106
118
|
python clockwork claude all
|
|
107
|
-
|
|
108
|
-
# Or add the directory to your PATH and invoke as:
|
|
109
|
-
python -m clockwork claude all # not needed — just call the script
|
|
110
119
|
```
|
|
111
120
|
|
|
112
|
-
> clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
113
|
-
> `~\.claude\projects`.
|
|
114
|
-
> installed.
|
|
121
|
+
> On Windows, clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
122
|
+
> first, then `~\.claude\projects`.
|
|
115
123
|
|
|
116
124
|
## Usage
|
|
117
125
|
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# clockwork
|
|
2
2
|
|
|
3
|
+
[](https://pypi.org/project/clockwork-cli/)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](https://deepwiki.com/danielsich/clockwork)
|
|
6
|
+
|
|
3
7
|
A tiny, dependency-free CLI that mines your **Claude Code** and **Codex**
|
|
4
8
|
session logs to estimate how much *active* time you've actually spent — per
|
|
5
9
|
project, per day — and renders it as ASCII bar charts in your terminal.
|
|
@@ -60,11 +64,19 @@ midnight is credited to each day it spans.
|
|
|
60
64
|
|
|
61
65
|
## Requirements
|
|
62
66
|
|
|
63
|
-
- Python 3.7+ (standard library only — no
|
|
67
|
+
- Python 3.7+ (standard library only — no dependencies)
|
|
64
68
|
|
|
65
69
|
## Install
|
|
66
70
|
|
|
67
|
-
**macOS
|
|
71
|
+
**pip (recommended — works on macOS, Linux, and Windows)**
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install clockwork-cli
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
This puts `clockwork` on your PATH. Done.
|
|
78
|
+
|
|
79
|
+
**From source — macOS / Linux**
|
|
68
80
|
|
|
69
81
|
```bash
|
|
70
82
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -78,7 +90,7 @@ ln -s "$PWD/clockwork" ~/.local/bin/clockwork
|
|
|
78
90
|
./clockwork claude all
|
|
79
91
|
```
|
|
80
92
|
|
|
81
|
-
**Windows**
|
|
93
|
+
**From source — Windows**
|
|
82
94
|
|
|
83
95
|
```powershell
|
|
84
96
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -86,14 +98,10 @@ cd clockwork
|
|
|
86
98
|
|
|
87
99
|
# Run directly with Python (the shebang line is ignored on Windows)
|
|
88
100
|
python clockwork claude all
|
|
89
|
-
|
|
90
|
-
# Or add the directory to your PATH and invoke as:
|
|
91
|
-
python -m clockwork claude all # not needed — just call the script
|
|
92
101
|
```
|
|
93
102
|
|
|
94
|
-
> clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
95
|
-
> `~\.claude\projects`.
|
|
96
|
-
> installed.
|
|
103
|
+
> On Windows, clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
104
|
+
> first, then `~\.claude\projects`.
|
|
97
105
|
|
|
98
106
|
## Usage
|
|
99
107
|
|
|
@@ -55,7 +55,7 @@ import hashlib
|
|
|
55
55
|
from datetime import datetime, timedelta, timezone
|
|
56
56
|
from collections import defaultdict
|
|
57
57
|
|
|
58
|
-
__version__ = "0.1.
|
|
58
|
+
__version__ = "0.1.1"
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
def _resolve_claude_dir():
|
|
@@ -894,7 +894,11 @@ def _parse_args(argv):
|
|
|
894
894
|
|
|
895
895
|
|
|
896
896
|
def main():
|
|
897
|
-
|
|
897
|
+
argv = sys.argv[1:]
|
|
898
|
+
if "-h" in argv or "--help" in argv:
|
|
899
|
+
print(__doc__.strip())
|
|
900
|
+
sys.exit(0)
|
|
901
|
+
positionals, opts = _parse_args(argv)
|
|
898
902
|
if len(positionals) < 2:
|
|
899
903
|
print(__doc__.strip())
|
|
900
904
|
sys.exit(1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clockwork-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Mine your Claude Code and Codex session logs to estimate active time
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/danielsich/clockwork
|
|
@@ -18,6 +18,10 @@ Dynamic: license-file
|
|
|
18
18
|
|
|
19
19
|
# clockwork
|
|
20
20
|
|
|
21
|
+
[](https://pypi.org/project/clockwork-cli/)
|
|
22
|
+
[](LICENSE)
|
|
23
|
+
[](https://deepwiki.com/danielsich/clockwork)
|
|
24
|
+
|
|
21
25
|
A tiny, dependency-free CLI that mines your **Claude Code** and **Codex**
|
|
22
26
|
session logs to estimate how much *active* time you've actually spent — per
|
|
23
27
|
project, per day — and renders it as ASCII bar charts in your terminal.
|
|
@@ -78,11 +82,19 @@ midnight is credited to each day it spans.
|
|
|
78
82
|
|
|
79
83
|
## Requirements
|
|
80
84
|
|
|
81
|
-
- Python 3.7+ (standard library only — no
|
|
85
|
+
- Python 3.7+ (standard library only — no dependencies)
|
|
82
86
|
|
|
83
87
|
## Install
|
|
84
88
|
|
|
85
|
-
**macOS
|
|
89
|
+
**pip (recommended — works on macOS, Linux, and Windows)**
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pip install clockwork-cli
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
This puts `clockwork` on your PATH. Done.
|
|
96
|
+
|
|
97
|
+
**From source — macOS / Linux**
|
|
86
98
|
|
|
87
99
|
```bash
|
|
88
100
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -96,7 +108,7 @@ ln -s "$PWD/clockwork" ~/.local/bin/clockwork
|
|
|
96
108
|
./clockwork claude all
|
|
97
109
|
```
|
|
98
110
|
|
|
99
|
-
**Windows**
|
|
111
|
+
**From source — Windows**
|
|
100
112
|
|
|
101
113
|
```powershell
|
|
102
114
|
git clone https://github.com/danielsich/clockwork.git
|
|
@@ -104,14 +116,10 @@ cd clockwork
|
|
|
104
116
|
|
|
105
117
|
# Run directly with Python (the shebang line is ignored on Windows)
|
|
106
118
|
python clockwork claude all
|
|
107
|
-
|
|
108
|
-
# Or add the directory to your PATH and invoke as:
|
|
109
|
-
python -m clockwork claude all # not needed — just call the script
|
|
110
119
|
```
|
|
111
120
|
|
|
112
|
-
> clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
113
|
-
> `~\.claude\projects`.
|
|
114
|
-
> installed.
|
|
121
|
+
> On Windows, clockwork looks for Claude logs in `%APPDATA%\Claude\projects`
|
|
122
|
+
> first, then `~\.claude\projects`.
|
|
115
123
|
|
|
116
124
|
## Usage
|
|
117
125
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|