Access REST endpoints in "object" dot-notation and pandas-like index-notation in Python.
Example usage:
Posts = RemoteDataProvider(
list_all=lambda: requests.get("https://jsonplaceholder.typicode.com/posts").json(),
get_one=lambda x: requests.get(f"https://jsonplaceholder.typicode.com/post/{x}").json(),
)
Posts[0]
Posts[Posts.id == 1]
Posts[Posts.title == Posts[10].title]