semvec/pypi-packages huggingface dataset:
claude-code-logger 0.5.3
Export Claude Code trajectories to Harbor ATIF format
Requires Python: >=3.13

# cc-logger

Export and analyse [Claude Code](https://docs.anthropic.com/en/docs/claude-code) sessions.

Reads the JSONL trajectories Claude Code stores in `~/.claude/` and converts them to [Harbor ATIF](https://github.com/codegenresearch/harbor) format for viewing and analysis. Includes cost estimation using Anthropic's model pricing.

## Install

```
pip install claude-code-logger
```

## Usage

```bash
# List sessions
cc-logger list

# Export all sessions (Harbor format by default)
cc-logger export /tmp/cc-export

# View exported sessions in the browser
cc-logger view /tmp/cc-export

# Show analytics (tokens, costs, models, working hours)
cc-logger stats /tmp/cc-export
cc-logger stats /tmp/cc-export --json
cc-logger stats /tmp/cc-export --project myproject

# Refresh model pricing from Anthropic
cc-logger update-pricing
```

## Pricing

Cost estimation uses model pricing bundled in `src/cc_logger/data/pricing.json`, scraped from [platform.claude.com/docs/en/about-claude/pricing](https://platform.claude.com/docs/en/about-claude/pricing).

Run `cc-logger update-pricing` to scrape the latest prices into the repo, then release a new version so users get updated pricing.
datalab-python-sdk 0.2.3
SDK for the Datalab document intelligence API
Requires Python: >=3.10
Keywords: api, datalab, document-intelligence, sdk

# Datalab SDK

A Python SDK for the [Datalab API](https://www.datalab.to) - a document intelligence platform powered by [marker](https://github.com/VikParuchuri/marker) and [surya](https://github.com/VikParuchuri/surya).

See the full documentation at [https://documentation.datalab.to](https://documentation.datalab.to).

## Installation

```bash
pip install datalab-python-sdk
```

## Quick Start

### Authentication

Get your API key from [https://www.datalab.to/app/keys](https://www.datalab.to/app/keys):

```bash
export DATALAB_API_KEY="your_api_key_here"
```

### Basic Usage

```python
from datalab_sdk import DatalabClient

client = DatalabClient() # use env var from above, or pass api_key="your_api_key_here"

# Convert PDF to markdown
result = client.convert("document.pdf")
print(result.markdown)
```

## Workflows

Workflows allow you to chain multiple document processing steps together. Each workflow consists of one or more steps that can depend on previous steps.

**Note:** All workflow operations require authentication. Make sure you have set your `DATALAB_API_KEY` environment variable or pass `api_key` when creating the client (see [Authentication](#authentication) section above).

For more Workflow tips, see our [documentation](https://documentation.datalab.to/docs/recipes/workflows/workflow-concepts).

## CLI Usage

The SDK includes a command-line interface:

```bash
# Convert document to markdown
datalab convert document.pdf

# Workflow commands
datalab create-workflow --help
datalab execute-workflow --help
datalab get-execution-status --help
datalab list-workflows --help
datalab get-workflow --help
datalab visualize-workflow --help
```

## License

MIT License
lockin 0.5.0
CLI focus blocker for macOS — block distracting websites and apps
Requires Python: >=3.11

# Lockin

Focus blocker for macOS. Blocks distracting websites and apps so you can get work done.

```
lockin
```

```
╭──────────────────────────────────────╮
│            LOCKIN v0.3.0             │
│      Focus when it matters most      │
╰──────────────────────────────────────╯

Main Menu
  [1] Start a Focus Session
  [2] Manage Profiles
  [3] Manage Schedules
  [4] Always-Blocked Sites
  [5] View Presets
  [6] Activity Recap
  [7] Settings & Info
  [0] Exit
```

## How it works

- Blocks websites via `/etc/hosts` — works across every browser, no extensions
- Kills distracting apps on launch (Discord, Spotify, etc.)
- Sessions are **tamper-resistant** — once started, they can't be stopped
- A launchd watchdog re-applies blocks every 3 seconds, survives reboots
- Tracks your activity in the background — apps, browser URLs, productivity score
- Menu bar app shows live session countdown and runs the activity tracker
- Periodic screenshot capture (opt-in) for visual activity logging

## Install

Requires **macOS** and **Python 3.11+**.

```bash
pipx install lockin
```

## Setup

```bash
# Launch the interactive menu
lockin

# Or use CLI shortcuts
lockin --status          # Check active session
lockin --recap           # Today's productivity report
lockin --recap weekly    # Weekly summary
```

The interactive menu walks you through everything — creating profiles, starting sessions, configuring settings.

## Key concepts

**Presets** are built-in bundles of sites/apps by category (social, entertainment, news, gaming, communication).

**Profiles** combine presets with custom sites and apps into a blocking configuration.

**Sessions** activate a profile for a set duration. Once started, there's no stopping it.

```
Presets             Profile              Session
─────────           ────────             ────────
social       ─┐     "work"               2h focus
entertainment ┼──>  + slack.com   ────>  96 domains blocked
news         ─┘    + Slack app           3 apps killed
```

## Activity tracking

The menu bar app (`lockin-menubar`) tracks your activity in the background:

- Detects frontmost app and window title every second
- Extracts browser URLs via the Accessibility API
- Categorizes activity as productive / neutral / distracting
- Stores everything in a local SQLite database
- Optional periodic screenshots saved as compressed JPEGs

View your data anytime with `lockin --recap` or through the interactive menu.

## Tamper protection

| Attack | Mitigation |
|--------|------------|
| Edit `/etc/hosts` | Immutable flag; watchdog re-applies |
| Kill the watchdog | launchd auto-respawns it |
| Delete session file | Blocks become permanent |
| Modify session times | HMAC signature invalidates |
| Reboot | Session persists, daemon has `RunAtLoad` |

## Storage

- Config: `~/.config/lockin/config.json`
- Activity DB: `~/.config/lockin/activity.db`
- Screenshots: `~/.config/lockin/screenshots/`
- Sessions: `/var/lockin/session.json`

## License

MIT
modulitiz-nano 1.2.5
Raccolta dei miei moduli - versione nano
Requires Python: >=3.11

# modulitiz-nano

It's a Python library that contains daily use or generic functions.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install:

```bash
pip install -U modulitiz_nano
```
The other required dependencies will be installed automatically.

## Usage

```python
from modulitiz_nano.ModuloStringhe import ModuloStringhe

# returns True
ModuloStringhe.isEmpty(None)
ModuloStringhe.isEmpty("")

# returns False
ModuloStringhe.isEmpty("a")

...
```

## Contributing

If you find any bug you can write me at [sderfo1234@altervista.org](mailto:sderfo1234@altervista.org)

## License

[MIT](https://choosealicense.com/licenses/mit/)