igrek51/wat: Deep inspection of Python objects #850
Labels
AI-Agents
Autonomous AI agents using LLMs
ai-platform
model hosts and APIs
Algorithms
Sorting, Learning or Classifying. All algorithms go here.
Code-Interpreter
OpenAI Code-Interpreter
data-validation
Validating data structures and formats
embeddings
vector embeddings and related tools
finetuning
Tools for finetuning of LLMs e.g. SFT or RLHF
github
gh tools like cli, Actions, Issues, Pages
MachineLearning
ML Models, Training and Inference
openai
OpenAI APIs, LLMs, Recipes and Evals
prompt
Collection of llm prompts and notes
python
Python code, tools, info
source-code
Code snippets
igrek51/wat: Deep inspection of Python objects
"WAT Inspector
Deep inspection of Python objects.
WAT is a powerful inspection tool that allows you to delve into and examine unknown objects at runtime.
"Wat" is a variant of the English word "what" that is often used to express confusion or disgust. If you find yourself deep within the Python console, feeling dazed and confused, wondering "WAT? What's that thing?", that's where the wat inspector comes in handy.
Start the Python Interpreter (or attach to one) and execute
wat / object
on any object to investigate its type, formatted value, variables, methods, parent types, signature, documentation, and even its source code. Alternatively, you can usewat(object)
syntax.Import
Insta-Load
If you want to quickly debug something, you can use this inspector without installing anything, in the same session.
Load it on the fly by pasting this snippet to your Python interpreter:
The text was updated successfully, but these errors were encountered: