-
I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?
-
HTTPX is a nice Python HTTP client. Here is a comparison of HTTPX synchronous and asynchronous clients.
-
There is a CLI module buried in the Python Streamlit package that can be used to run a Streamlit app from within Python code. Not sure if its use is officially supported but this seems to be the only way to run a Streamlit app from within Python code. https://gavinw.me/notes/python/streamlit-cli.html #Python #Streamlit