Metadata-Version: 2.4
Name: toollend-matcher
Version: 0.1.2
Summary: A reusable library for matching borrowers to tools by location and category
Author-email: Nalini Panneerselvam <x24296384@student.ncirl.ie>
Project-URL: Homepage, https://github.com/x24296384-netizen/toollend
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# toollend-matcher

A reusable Python library for matching borrowers to available tools based on location and category.

## Installation

pip install toollend-matcher

## Usage

from toollend_matcher.matcher import match_tools, rank_tools_by_availability

tools = [
    {"name": "Hammer", "location": "Dublin", "category": "hand", "status": "available"},
    {"name": "Drill", "location": "Dublin", "category": "power", "status": "available"},
]

matched = match_tools(tools, location="Dublin", category="power")
ranked = rank_tools_by_availability(matched)
