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 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)

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_matcher-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

toollend_matcher-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file toollend_matcher-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for toollend_matcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa7c1d02dc28012869d2677be2330a461ade82103ade7cc4648da1632510902f
MD5 9fc9be0572f6db8833558a7e769ae659
BLAKE2b-256 4efb42e7a1ed56b09a214e3e5c4d3725a4724af364fba8ff8aee95e7294cb916

See more details on using hashes here.

File details

Details for the file toollend_matcher-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for toollend_matcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f06ee03108e136f54caa2d74d448a8d131dd8671ce67d869327e6e80d16a9a23
MD5 8b4c3543ad09334a3a5b2edff3108bb5
BLAKE2b-256 b4b27c6fd6797b2e9fad53144af68287e1bc9ef0ca9ad2afa2431a7bae5e05c8

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