Metadata-Version: 2.4
Name: mlx-id-token-kit
Version: 0.2.1
Summary: Parse MLX .env credentials and extract workspace, folder, and profile IDs. CLI: mlx-token
Project-URL: Homepage, https://pypi.org/project/mlx-id-token-kit/
Project-URL: Documentation, https://pypi.org/project/mlx-id-token-kit/
Project-URL: Repository, https://github.com/multilogin-automation
Project-URL: Changelog, https://pypi.org/project/mlx-id-token-kit/
Author: mlx-id-token-kit contributors
License-Expression: MIT
License-File: LICENSE
Keywords: launcher-token,mlx-api-token,mlx-credentials,mlx-dotenv,mlx-env-parse,mlx-folder-id,mlx-id-token,mlx-profile-id,mlx-workspace-id,multilogin-token,profile-id-extract,workspace-extract
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Requires-Dist: click>=8.1
Requires-Dist: pydantic>=2.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.8; extra == 'dev'
Description-Content-Type: text/markdown

# mlx-id-token-kit

**MLX ID & token parser** — workspace, folder, profile UUIDs from `.env` and API logs.

[![PyPI version](https://img.shields.io/pypi/v/mlx-id-token-kit.svg)](https://pypi.org/project/mlx-id-token-kit/)
[![Python versions](https://img.shields.io/pypi/pyversions/mlx-id-token-kit.svg)](https://pypi.org/project/mlx-id-token-kit/)
[![License: MIT](https://img.shields.io/pypi/l/mlx-id-token-kit.svg)](https://pypi.org/project/mlx-id-token-kit/)
[![GitHub](https://img.shields.io/badge/org-multilogin--automation-181717?logo=github)](https://github.com/multilogin-automation)

```bash
pip install mlx-id-token-kit
mlx-token validate examples/sample.env
```

CLI: **`mlx-token`** · Python **3.10+** · offline parse only

> **Coupon hubs:** `SAAS50` — [anti-detect.github.io](https://anti-detect.github.io/) · [SaaSVerdict](https://saasverdict.com/). [Affiliate disclosure](docs/AFFILIATE.md).

## Problem

MLX automation scripts fail when `MLX_FOLDER_ID` or tokens are copy-pasted wrong — validate before `farm-runner` or [multilogin-automation](https://github.com/multilogin-automation) SDK demos.

## Install

```bash
pip install mlx-id-token-kit
```

## Quick start

```bash
mlx-token template > .env
mlx-token validate .env
mlx-token extract api-log.txt
```

## CLI

| Command | Purpose |
|---------|---------|
| `mlx-token parse FILE` | Parse `.env` or log for IDs |
| `mlx-token parse FILE --format json` | JSON output (secrets redacted) |
| `mlx-token export FILE -o OUT.json` | Write redacted JSON to file |
| `mlx-token schema FILE --format json` | Field map + gaps (never exits 1) |
| `mlx-token catalog --format json` | Example .env index |
| `mlx-token check .env` | Alias for validate |
| `mlx-token validate .env` | Required field check |
| `mlx-token validate .env --max-gaps N` | Allow up to N gaps before exit 1 |
| `mlx-token extract log.txt` | Pull UUIDs from text |
| `mlx-token extract log.txt --format json` | UUID list as JSON |
| `mlx-token template` | Starter `.env` to stdout |
| `mlx-token template --format json` | Starter keys as JSON |
| `mlx-token init -o .env.mlx` | Write starter file |
| `mlx-token gaps .env` | Tab-separated gap report |
| `mlx-token validate .env --format json` | JSON validation report |
| `mlx-token gaps .env --format json` | JSON gap report with count |
| `mlx-token --show-deal` | Opt-in `SAAS50` |

**Toolkit pipeline:** `mlx-token validate` → `bot-lint` → `proxy-lane` → `farm-runner`

## Limitations

Offline parse only — no Cloud API calls or token refresh.

## Production

`mlx-token validate .env` before [automation-farm-runner](https://pypi.org/project/automation-farm-runner/). [docs/FAQ.md](docs/FAQ.md)

## Related tools (on PyPI)

| Package | CLI | Role |
|---------|-----|------|
| [antibot-profile-lint](https://pypi.org/project/antibot-profile-lint/) | `bot-lint` | Antibot profile lint |
| [automation-farm-runner](https://pypi.org/project/automation-farm-runner/) | `farm-runner` | YAML farm queue |
| [cdp-connect-kit](https://pypi.org/project/cdp-connect-kit/) | `cdp-connect` | CDP attach |
| [ecommerce-warmup-kit](https://pypi.org/project/ecommerce-warmup-kit/) | `shop-warmup` | Marketplace warmup |

## License

MIT

---

**Partner:** Multilogin · `SAAS50` · [github.com/multilogin-automation](https://github.com/multilogin-automation)
