All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Optimizing Python Imports in HRT's Monorepo with PEP 690

By

davidteather

9mo ago· 8 min readenInsight

Summary

The article discusses Hudson River Trading's (HRT) approach to managing Python imports in a monorepo environment, highlighting the challenges of import proliferation. It explores leveraging PEP 690 to optimize import speeds, emphasizing the benefits for cross-team collaboration and rapid deployment.

Key quotes

· 3 pulled
At Hudson River Trading (HRT), we’ve found that centralizing our codebase facilitates cross-team collaboration and rapid deployment of new projects.
Unfortunately, the convenience of this arrangement has led to a conundrum: a vast proliferation of imports.
In Python, imports occur at runtime. For each imported name, the interpreter must find, load, and evaluate the contents of a corre
Snippet from the RSS feed
At HRT, we’ve found that centralizing our codebase facilitates cross-team collaboration and rapid deployment of new projects. Therefore, the majority of our software development takes place in a monorepo, and our Python ecosystem is set up such that inter

You might also wanna read