ipython-autotime
Time everything in IPython
What it is and what it does
ipython-autotime is a lightweight IPython extension that hooks into your interactive session and automatically times every command or code block you execute. Once loaded with %load_ext autotime, it prints the elapsed time and timestamp after each input, whether it succeeds or raises an exception. It depends on ipython and monotonic for reliable timing measurement.
The extension is designed for exploratory work, data science notebooks, and interactive debugging where you want to spot slow operations without manually wrapping code in timing calls. You can unload it with %unload_ext autotime when you no longer need it.
Use it for:
- Identify slow cells or commands during interactive data analysis without adding timing code to every operation.
- Debug performance issues in Jupyter notebooks by seeing which cells take longer than expected.
- Profile exploratory code during development to catch inefficient operations early in the REPL.
- Track execution time across a long interactive session to spot cumulative bottlenecks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
IPython extension that automatically measures and displays the execution time of every command you run in an interactive session.
Yes, if you spend significant time in IPython or Jupyter and want automatic execution timing without code changes. Low install friction and permissive license make it low-risk. However, maintenance is dormant (last update 2023-11-01); verify compatibility with your current IPython version before relying on it.
Install
ipython-autotime on PyPI
pip
pip install ipython-autotimeuv
uv add ipython-autotimepoetry
poetry add ipython-autotimeInstalling ipython-autotime
Before you install
Low friction install with two runtime dependencies. Maintenance is dormant—last commit 2023-11-01—but the repository remains active and the package has been stable since 2016.
License in practice
Licensed under Apache (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.
Quickstart
pip install ipython-autotime
In IPython:
%load_ext autotime
x = 1
%unload_ext autotime
Verify before relying
- Whether the package works with current IPython versions and modern Python releases, given the dormant maintenance status.
Package facts
| License | Apache (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — ipython, monotonic |
| Maintenance | dormant — 1,017 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 120,276/month — #12,037 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ipython_autotime-0.3.2-py2.py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
line-profilerline_profiler measures execution time on a…
permissive · top 5,000 on PyPI
temporaProvides utilities, constants, and routines for…
permissive · top 5,000 on PyPI
jupyterlab-execute-timeA JupyterLab extension that displays the…
permissive · top 15,000 on PyPI
pytest-durationsA pytest plugin that measures and reports…
permissive · top 5,000 on PyPI
pyinstrumentPyinstrument is a statistical call-stack…
permissive · top 5,000 on PyPI
timing-asgiTiming-asgi is an ASGI middleware that…
unclear · top 15,000 on PyPI
watermarkWatermark is an IPython magic extension that…
permissive · top 15,000 on PyPI
jinja2-timeJinja2 extension that adds template tags for…
permissive · top 5,000 on PyPI
timelibParses natural-language date and time…
permissive · top 15,000 on PyPI
metomi-isodatetimeParses and manipulates ISO 8601 date-time…
copyleft · top 15,000 on PyPI