Metadata-Version: 2.4
Name: fruxon
Version: 0.2.0
Summary: The Fruxon SDK is a lightweight Python client for integrating with the Fruxon platform.
Author-email: Hagai Cohen <hagai@fruxon.com>
Maintainer-email: Hagai Cohen <hagai@fruxon.com>
License: MIT
Project-URL: bugs, https://github.com/fruxon-ai/fruxon-sdk/issues
Project-URL: changelog, https://github.com/fruxon-ai/fruxon-sdk/blob/main/HISTORY.md
Project-URL: homepage, https://github.com/fruxon-ai/fruxon-sdk
Classifier: Development Status :: 3 - Alpha
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
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer
Provides-Extra: test
Requires-Dist: coverage; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: ruff; extra == "test"
Requires-Dist: ty; extra == "test"
Requires-Dist: ipdb; extra == "test"
Dynamic: license-file

# fruxon

![PyPI version](https://img.shields.io/pypi/v/fruxon.svg)

The Fruxon SDK is a lightweight Python client for integrating with the [Fruxon](https://fruxon.com) platform.

* PyPI package: https://pypi.org/project/fruxon/
* Free software: MIT License

## Installation

```bash
pip install fruxon
```

## Features

### `fruxon export` — Consolidate multi-file agents

Export a multi-file Python agent project into a single file for importing into Fruxon.

Works with any Python framework: LangChain, LangGraph, CrewAI, Google ADK, AutoGen, and more.

```bash
# Auto-detect agent and copy to clipboard
fruxon export --copy

# Auto-detect and print to stdout
fruxon export

# Write to file
fruxon export -o export.py

# Explicit entry point (if auto-detect picks the wrong file)
fruxon export graph.py --copy
```

**How it works:**
1. Scans your project for agent framework imports (LangGraph, CrewAI, etc.)
2. Auto-detects the entry point — if multiple agents exist, prompts you to choose
3. Traces all local imports using Python's AST (skips third-party packages)
4. Outputs a single consolidated file with all local code and source markers

## Credits

Built by [Fruxon](https://fruxon.com).
