explore-1.0.0


توضیحات

Scoring and best match picking.
ویژگی مقدار
سیستم عامل -
نام فایل explore-1.0.0
نام explore
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/Exahilosys/explore
آدرس اینترنتی https://pypi.org/project/explore/
مجوز MIT
Installing ---------- .. code-block:: bash pip3 install explore Quick Usage ----------- .. code-block:: py import explore # yummy foods to choose from foods = ('pasta', 'glazed ham', 'salted broccoli', 'raw anchovy', 'peking duck') # choosing during a keyboard stroke food = explore.pick(foods, 'borlcoki') More Complex ------------ .. code-block:: py import explore # lots of yummy food info foods = food_api.get_all() # match according to these attributes fetch = lambda food: (food.id, food.name, food.color) # generator of (food, score) pairs pairs = explore.generic(fetch, values, 'gween peepr') # best matching one food = explore.lead(pairs) Links ----- - `Documentation <https://explore.readthedocs.io>`_


نحوه نصب


نصب پکیج whl explore-1.0.0:

    pip install explore-1.0.0.whl


نصب پکیج tar.gz explore-1.0.0:

    pip install explore-1.0.0.tar.gz