Non-GeoJSON formats are read by Mapnik. streamFeaturesFromFile accepts a filePath argument and returns a readable object-mode stream of GeoJSON features derived from the provided file.
How to boost app performance with Python 3.15's lazy import ...