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-2.0.0.tar.gz (2.4 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-2.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toollend_tool_matcher-2.0.0.tar.gz
  • Upload date:
  • Size: 2.4 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-2.0.0.tar.gz
Algorithm Hash digest
SHA256 183ab330f9f50939928e457cf7c619e0bdfd2fc8d65338a263a381aa7f7ad3f1
MD5 69756ef652bff273b06c4814323e20ad
BLAKE2b-256 b35dab7e3d4a3c55ae950eb8bb9db87011ede9deb849ec84e66da8ff6723b694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toollend_tool_matcher-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3acf4803a1a35c72d02bdba7ca304202594c53ae4ca8246fbd66adfa46559d
MD5 fd3dc08c53c5a0f9ed756808be41fa54
BLAKE2b-256 39619e338cb46f05e412a9183cba774ad205e622a619fe37518306a82dd72ca8

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