LLM-powered automatic test generation for Python
Project description
earlyai-agent
LLM-powered automatic test generation for Python.
Status
🚧 Currently in development - API layer implemented, core functionality in progress.
Installation
Prerequisites
- Python 3.11+
- uv (recommended)
Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
Install earlyai-agent
# Clone the repository
cd /Users/patron/work/py-agent
# Install just (one time)
brew install just
# Install dependencies
just install
Development
We use just as our command runner.
Available commands
just # List all available commands
just test # Run tests
just test-cov # Run tests with coverage
just lint # Lint code
just format # Format code
just check # Type check
just all # Run all checks
just clean # Clean build artifacts
Run a Python script
uv run python your_script.py
Quick Start (WIP)
import asyncio
from py_agent import PyAgent, PyAgentConfig
async def main():
# Create agent
agent = PyAgent()
# Initialize with API key
await agent.init(api_key="your-api-key")
# Get testables (not yet implemented)
# testables = await agent.get_testables("src/**/*.py")
if __name__ == "__main__":
asyncio.run(main())
License
commercial
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
earlyai_agent-0.1.2.tar.gz
(49.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file earlyai_agent-0.1.2.tar.gz.
File metadata
- Download URL: earlyai_agent-0.1.2.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d993af991b0bbd61bb0e1f628c4be968b23d1af78612b4a2e63cf782421cc57
|
|
| MD5 |
e300ba63a345a88900fe8d340500a600
|
|
| BLAKE2b-256 |
8fec8060e2a54967bf18561e384a45e155f1c11d420e1e3e95fdc52f664fa893
|
File details
Details for the file earlyai_agent-0.1.2-py3-none-any.whl.
File metadata
- Download URL: earlyai_agent-0.1.2-py3-none-any.whl
- Upload date:
- Size: 68.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41bdbe9bed4e6705d5acf28eade3ed478eb9b006c4ead185a41779d92dcddfa4
|
|
| MD5 |
00cea1a5ca2191a8b971aee8959a5473
|
|
| BLAKE2b-256 |
5274b169f68269e66121dc55ce0dbbb09f65b4dd3355f7bd537dd3de6d8fd172
|