Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 2.12 KB

README.md

File metadata and controls

66 lines (47 loc) · 2.12 KB
aiuda logo

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 and PDB, Aiuda provides advanced pretty-printing, formatting, and various utility functions, all powered by AI via LangChain. Whether you need to print objects more effectively, get AI assistance in debugging, or analyze variables, Aiuda has you covered.

aiuda logo

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:

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 🛠️

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
>>> 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 file for more information.