Skip to content

tmr232/lazy-import-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy Import Hack

A terrible hack around wrapt.lazy_import to allow writing lazy imports as follows:

from lazy import json
# Or
from lazy.json import dumps

Try it out!

One-off

uv run --isolated --with https://github.com/tmr232/lazy-import-hack.git python

Or install it

uv add https://github.com/tmr232/lazy-import-hack.git

Extra Reading

About

Terrible hack for Python lazy imports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages