Simple example:
from choicelib import choice_in_order
json = choice_in_order(["json", "ujson", "hyperjson", "orjson"])
json # "json"
After installing ujson:
pip install ujson
json # "ujson"
Choice a best similar-interface library from given list
Simple example:
from choicelib import choice_in_order
json = choice_in_order(["json", "ujson", "hyperjson", "orjson"])
json # "json"
After installing ujson:
pip install ujson
json # "ujson"
Choice a best similar-interface library from given list
MIT License