Skip to main content

A reusable library for matching borrowers to tools by location and category

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toollend_tool_matcher-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toollend_tool_matcher-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file toollend_tool_matcher-1.0.0.tar.gz.

File metadata

  • Download URL: toollend_tool_matcher-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for toollend_tool_matcher-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e48d355913ffb7c4ffac229b19d6401cd52f581c93ff7c0138e8b9a870a604d3
MD5 aad1493cb21080033ed09d855799ab4c
BLAKE2b-256 37f10f02cbcc746858379702e9d0810110c348de0db8d9dbfdc1c702ce9ef29d

See more details on using hashes here.

File details

Details for the file toollend_tool_matcher-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for toollend_tool_matcher-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf133edbf5cd98ec4d4af3dab08e99eb1924c1f77051c4950ad449a2d3d15713
MD5 264c6333beab61bea65e0872b44bda75
BLAKE2b-256 ecdc953b83ee990055a1e2df318326eeadea79a7798361792b949122aa47dd46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page