Closed ninowalker closed 2 years ago
I agree!
Though, would you be okay with only supporting JSON? If someone has a comma in their location it will be annoying to deal with CSV, I don't want to go that road.
We'd just import json
, and always json.dumps predict_proba
.
I made sure to print it to json. Would you be okay with that, or do you have a compelling reason for supporting csv :)?
Changes are visible from whereami==0.4.85
onwards.
# also updates subpackages (recommended)
pip install -U whereami
or
# only upgrades whereami
pip uninstall whereami && pip install --no-cache whereami
The system currently prints contents as a Python dictionary, which is a hassle to parse. Adding support for JSON and text outputs.