Metadata-Version: 2.4
Name: logseq-tmsh
Version: 0.1.0
Summary: Extract time-tracking data from LogSeq journal CLOCK entries
Project-URL: Homepage, https://github.com/xdoko01/logseq-tmsh
Project-URL: Repository, https://github.com/xdoko01/logseq-tmsh
Author-email: Otakar Dokoupil <Otakar.Dokoupil@oriflame.com>
License: MIT License
        
        Copyright (c) 2026 Otakar Dokoupil
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: cli,logseq,productivity,time-tracking
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Requires-Dist: tomli>=2.0.1; python_version < '3.11'
Requires-Dist: typer>=0.12.0
Description-Content-Type: text/markdown

# logseq-tmsh

Extract time-tracking data from [LogSeq](https://logseq.com/) journal CLOCK entries.

logseq-tmsh reads your LogSeq graph's daily journal files and sums up time from org-mode `CLOCK:` blocks, letting you query what you worked on today, this week, or any date range.

## Install

```bash
pip install logseq-tmsh
# or
uv tool install logseq-tmsh
```

## Quick Start

```bash
# Configure once
ltmsh configure

# Show today's work
ltmsh today

# Show this week
ltmsh week

# Show a custom range (dates in YYYY-MM-DD format)
ltmsh range --from 2024-01-01 --to 2024-01-31

# Human-readable output
ltmsh today --pretty

# Filter by tag (AND logic)
ltmsh today --tag ori --tag meeting

# Pretty-print JSON
ltmsh today --indent 2
```

## Output Fields

`title`, `status`, `time_period`, `time_total`, `time_override`, `started`, `completed`, `tags`, `refs`, `has_running_clock`, `description`, `source_file`, `source_date`

## Configuration

`~/.logseq-tmsh/config.toml` — created by `ltmsh configure`.

## License

MIT
