mirror of
https://github.com/vinta/awesome-python.git
synced 2026-06-12 22:57:40 -05:00
[PR #1032] [MERGED] Add IceCream to Debugging Tools/Other. #932
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1032
Author: @gruns
Created: 3/8/2018
Status: ✅ Merged
Merged: 7/5/2018
Merged by: @vinta
Base:
master← Head:master📝 Commits (1)
e655926Add IceCream to Debugging Tools/Other.📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
IceCream is a small Python library that makes it easy to debug variables,
expressions, and code execution with a single, simple function:
ic(). (shortfor IceCream)
With arguments,
ic()inspects itself and prints both its own arguments andthose argument's values.
Prints
Without arguments,
ic()inspects itself and prints the calling filename andline number.
Prints
See more IceCream magic and examples in IceCream's docs, here.
IceCream is well tested, permissively licensed, and supports Python 2, Python 3,
PyPy2, and PyPy3.
What's the difference between this Python project and similar ones?
IceCream's closest cousin is q (https://github.com/zestyping/q), but IceCream is
simpler, customizable, and actively maintained.
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to
it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.