Metadata-Version: 2.4
Name: toollend-tool-matcher
Version: 1.0.0
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 tool search, filtering, and ranking in the ToolLend neighbour tool lending platform.

## Installation

pip install toollend-matcher

## Usage

from toollend_matcher import search_tools, filter_by_status, rank_by_date, get_tool_summary

results = search_tools('drill', tools)
available = filter_by_status(tools, 'available')
ranked = rank_by_date(tools)
summary = get_tool_summary(tool)

## Functions

search_tools(query, tools) - Search tools by keyword in name, description or location
filter_by_status(tools, status) - Filter tools by availability status
rank_by_date(tools) - Rank tools by creation date, newest first
get_tool_summary(tool) - Return a concise summary of a tool
