Serdar Yegulalp
Senior Writer

Python pick: Monkeytype automates type hints

news analysis
14 Jun 20242 mins
Programming LanguagesPythonSoftware Development

This half-month report includes a way to add type hints automatically to untyped Python code, getting started with Django 5, and a deep dive into CPython garbage collection and memory management.

Plush monkey toy with a laptop.
Credit: Sofia Voronkova/Shutterstock

What’s new this (half-)month in Python and elsewhere? First up is Monkeytype, an Instagram-created library with a somewhat silly name. What’s not silly is using it to add type hints automatically to untyped Python code. We also have five lesser-known tools for data science, a chance to go feet-first into Django 5 without getting swamped, and another look at Python 3.13, whose second beta has arrived. Sadly, you still gotta compile it from source to try out the bleeding-edge goodies.

Top picks for Python readers on InfoWorld

Auto-generate Python type hints with Monkeytype Sick of those no-type-hinted-Python-code blues? Monkeytype sweeps them away with automatically generated type hints.

5 newer data science tools you should be using with Python There’s more to Python data science than NumPy and Pandas. At least one of these five data science libraries belongs in your collection.

Django tutorial: Get started with Django 5.0 Django 5 is the biggest, most comprehensive Python web framework library available. This deep dive will get you wet without drowning.

The best new features and fixes in Python 3.13 It’s all about the JITs, baby—well, and the no-GIL, and better errors, and throwing out dead batteries, and more.

Python updates elsewhere

Polars news: Faster CSV writer, dead expression elimination, and more One of the niftiest Python data science libraries keeps getting niftier (no 1.0 yet, though).

Lynn Conway (IBM, Xerox, DARPA) dies at 86 Conway was a pioneer in microprocessor technology and an advocate for transgender rights and women in STEM. “Why not question everything?” was one of her guiding philosophies.

CPython Garbage Collection: The Internal Mechanics and Algorithms The deepest of deep dives into Python’s deep dark memory management mysteries.

Wait—JupyterLab has a desktop application edition? Hate on Electron all you like, but it makes little miracles like this possible.

Serdar Yegulalp
Senior Writer

Serdar Yegulalp is a senior writer at InfoWorld, covering software development and operations tools, machine learning, containerization, and reviews of products in those categories. Before joining InfoWorld, Serdar wrote for the original Windows Magazine, InformationWeek, the briefly resurrected Byte, and a slew of other publications. When he's not covering IT, he's writing SF and fantasy published under his own personal imprint, Infinimata Press.

More from this author

Exit mobile version