pub fn try_float(value: &PyAny) -> PyResult<Option<Literal<String>>>