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.1.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.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toollend_matcher-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 718aa9098eb70c626af00c56c377ed96097c056a5d4e085e61a87107e998116d
MD5 0727ec3e9bced0c8eb9bf19583bc6c36
BLAKE2b-256 c80fd6a0f1a5e6ff552ad0d01dd5c96ffafe5dc5670494c696f8d9c3a86233b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toollend_matcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5844e4f036825456174c2b8e023e39a120d2f9005addb213181bd332e19a2c3
MD5 6e6f7072c394d36e545cdc2f4020a565
BLAKE2b-256 00e97635d80152a278c440535fcee9bd7b444f10b5b47b89a801d977ac8e7e9e

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