https://github.com/samthinkgit/aiuda
AI tools for runtime python. Such as pretty-printing, debugging/analysis and some random utils
https://github.com/samthinkgit/aiuda
ai artificial-intelligence debugging langchain library python tools
Last synced: 5 months ago
JSON representation
AI tools for runtime python. Such as pretty-printing, debugging/analysis and some random utils
- Host: GitHub
- URL: https://github.com/samthinkgit/aiuda
- Owner: SamthinkGit
- License: mit
- Created: 2024-06-08T18:54:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T19:15:38.000Z (over 1 year ago)
- Last Synced: 2025-09-30T01:14:22.974Z (9 months ago)
- Topics: ai, artificial-intelligence, debugging, langchain, library, python, tools
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aiuda: AI-Powered Tools for Python Development
**aiuda** is a Python library that leverages AI to enhance your programming workflow. Inspired by tools like [icecream](https://github.com/gruns/icecream) and PDB, Aiuda provides advanced pretty-printing, formatting, and various utility functions, all powered by AI via [LangChain](https://www.langchain.com/). Whether you need to print objects more effectively, get AI assistance in debugging, or analyze variables, Aiuda has you covered.
## Features ✨
- **Advanced Pretty-Printing:** Enhance the readability of your objects with AI-powered pretty-printing.
- **AI-Assisted Debugging (In progress):** Leverage AI to debug and analyze your code more effectively.
- **Utility Functions (In progress):** A collection of AI-driven utility functions to streamline your daily Python programming tasks.
## Installation 🚀
You can install **aiuda** using pip:
```powershell
pip install aiuda
```
> Note: You can install the last-last version (maybe unstable) by cloning and using pip install directly in the repo :D
## Usage 🛠️
```python
from aiuda import aiuda
# Suppose we have a complex object, sometimes the str() method is not clear
my_dict = {'name': 'Alice', 'age': 30, 'city': 'Wonderland'}
print(my_dict) # meh
aiuda.tree(my_dict) # better :D
```
```powershell
>>> print(my_dict)
{'name': 'Alice', 'age': 30, 'city': 'Wonderland'}
>>> aiuda.tree(prompt)
[aiuda][tree]
(name: dict)
├─.name: 'Alice'
├─.age: 30
└─.city: 'Wonderland'
```
## License 📄
Aiuda is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.