Extension to Python libraries