semvec/pypi-packages huggingface dataset:
clevertools 0.2.4b5
Clevertools is a utility library providing practical tools for common workflows.
Requires Python: >=3.10

# clevertools

`clevertools` is a Python utility library focused on practical workflow helpers.
It provides reusable modules for file handling, cleaning operations, logging, and centralized error handling.

This repository contains the local source code, local integration test runner, and documentation.

## Project Goals
- Reduce repeated utility boilerplate in application code.
- Provide consistent validation and error handling behavior.
- Keep module usage simple while allowing global customization.
- Support realistic local verification through a config-driven test mini-program.

## Main Modules
- `error_handling`
  - structured results
  - action and policy handling
  - validation helpers
  - custom exception support
- `file_handling`
  - create file/folder
  - read/write JSON
  - read/write TOML
  - read/write YAML
- `cleaning`
  - clean file
  - clean folder content
  - clean pycache artifacts
- `logger`
  - simple process/level/message logging
- `messages`
  - centralized message templates for all modules

## Quick Start
Install dependencies:

```bash
python -m pip install -r requirements.txt
```

Run local test mini-program:

```bash
python tests/start.py
```

## Documentation
Detailed documentation is in `docs/`:
- `docs/README.md`
- `docs/error_handling_overview.md`
- `docs/error_handling_validation.md`
- `docs/error_handling_status.md`
- `docs/file_handling.md`
- `docs/cleaning.md`
- `docs/logger.md`
- `docs/messages.md`
- `docs/test_program.md`

## Repository Structure
- `src/clevertools/`: library source code
- `tests/`: config-driven local test mini-program
- `docs/`: detailed module and testing documentation

## Legal Notices
Please read:
- `LICENSE`
- `NOTICE`
- `CONTRIBUTORS`

By using, copying, or redistributing this project, you agree to their terms.
montage-cli 0.1.0
Python launcher package for the Montage CLI
Requires Python: >=3.9

# montage-cli (Python)

Python distribution channel for the `montage` command.

This package is a launcher. It delegates execution to a Montage CLI binary so the command behavior stays identical across npm, pip/pipx, and conda installs.

## Install (planned release channel)

```bash
pipx install montage-cli
# or
pip install montage-cli
```

## Development usage in this repository

Until signed binaries are wired into release CI, local development can point to the Node CLI build:

```bash
cd montage-app
npm run build:cli
MONTAGE_CLI_NODE_ENTRY="$PWD/packages/cli/dist/cli.js" python3 -m montage_cli --help
```

Or point directly to a binary:

```bash
MONTAGE_CLI_BIN=/absolute/path/to/montage python3 -m montage_cli status
```

## Runtime resolution order

1. `MONTAGE_CLI_BIN` (explicit binary override)
2. Bundled platform binary inside this package (`montage_cli/bin/<platform-arch>/`)
3. `MONTAGE_CLI_NODE_ENTRY` fallback for local development

If none are available, the launcher exits with a clear setup message.

## Current platform note

`windows-arm64` is intentionally excluded until release binaries are published for that target.

## Building a release wheel with bundled binaries

Release CI should:
1. Build SEA artifacts per supported target.
2. Download them into an `artifacts/` directory with target subdirectories.
3. Run:

```bash
cd packages/python-cli
python3 -m pip install --upgrade build
./scripts/build_wheel_with_binaries.sh ../artifacts
```