AI Connects Python — Eat Every Python Library → HTTP API
Project description
AICP-EAT
Eat Every Python Library → HTTP API.
pip install aicp-eat
Eat whatever you want
pip install pandas
python eater/eat.py pandas # Standard library — feed it to eat.py
pip install numpy
python eater/eat.py numpy # Standard library — feed it to eat.py
pip install pillow
python eater/eat_pil.py # Nested modules — throw it to AI, let it generate a custom script
pip install langchain-community
python eater/eat_langchain.py # Nested modules — throw it to AI, let it generate a custom script
plugins/
├── pandas.py → 102 functions
├── numpy.py → 460 functions
├── PIL.py → 664 functions
└── langchain_community.py → 7512 functions
────────────────────────────────────────
Total: 8738 functions. 4 files.
and more. Come eat.
Run
# Set your API key in aicp.yaml, or:
export AGGREGATOR_API_KEY="sk-your-key" # Windows: setx AGGREGATOR_API_KEY "sk-your-key"
aicp
curl -X POST http://localhost:9000/api/pandas \
-H "Content-Type: application/json" \
-d '{"function":"array","args":{"data":[1,2,3,4,5]}}'
Return
{
"result": "IntegerArray\n[1, 2, 3, 4, 5]\nLength: 5, dtype: Int64",
"source": "pandas"
}
Open http://localhost:9000, browse the API menu at /api/pandas, /api/numpy, /api/PIL, /api/langchain_community. Each one has a help() with all functions listed.
Why eat the entire Python ecosystem? →
Go calls pandas. Rust calls numpy. Frontend calls LangChain. Any language, HTTP everything.
AI reads help(). AI orchestrates. 80 lines engine.AI-Generated Experiments
AI read the AICP protocol and generated complete systems across seven domains. Each from a single human sentence.
| Experiment | Domain | Human Said |
|---|---|---|
| aicp-os-kernel | OS Kernel | Microkernel OS |
| aicp-quantum | Quantum Computing | Quantum computing simulator |
| aicp-protein | Protein Folding | Protein folding |
| aicp-llm-trainer | LLM Training | LLM distributed training |
| aicp-riemann | Riemann Hypothesis | How to approach and verify the Riemann Hypothesis |
| aicp-ai-chip | AI Chip | AI intelligent chip computing system |
| aicp-raw-experiments | Raw Experiments | More raw experiments |
Dependencies
- Python >= 3.10
- aiohttp >= 3.9
- openai >= 1.0
- pyyaml >= 6.0
Eat it, Eat it, Eat it, Eat it
No one wants to be defeated
Showin' how funky and strong is your fight
It doesn't matter who's wrong or right
Just eat it, eat it
Just eat it, eat it
MIT License · Dvwoo
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
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 aicp_eat-1.1.0.tar.gz.
File metadata
- Download URL: aicp_eat-1.1.0.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
101aab7e6c8f392dee42bfee5411fe8ec2182dfccf5ed295fdd53c1032337ebc
|
|
| MD5 |
0c21533ed2e0f073ea3d3e5f81b7e4d6
|
|
| BLAKE2b-256 |
e9c2c0344e06579650e2711a32a5b667b9f8c3ec16e3f84c10a86e09d76f5834
|
File details
Details for the file aicp_eat-1.1.0-py3-none-any.whl.
File metadata
- Download URL: aicp_eat-1.1.0-py3-none-any.whl
- Upload date:
- Size: 48.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f96cea685b313bc70d30b9718c50046e8a525e17bb46b96103217d3bbd6d521
|
|
| MD5 |
f6c92ebbae086e21a17403bbd61a97aa
|
|
| BLAKE2b-256 |
d5d76d8f13f8284b29cc7fc2172d9561eb00fd13b32a75f9f0af337b64a12960
|