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

Uploaded Python 3

File details

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

File metadata

  • Download URL: toollend_matcher-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e1d33db65ec1f1839821073c912a84328da3892c75394635b1bec4f21d926e9e
MD5 5baa96a13f066f348688e5afbba44c76
BLAKE2b-256 184037f4b18fa7a1bdaee984f87cf3a9308a24a2e39609d7c4d6c37fd22c2c5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for toollend_matcher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a9a70ecf021afd211fa94606f1516656d375fc931fba7021de0ec6ad307666c0
MD5 3c29437ce768b54bb29164f3cfe94824
BLAKE2b-256 60f825394c001c2ec7f6dde53968ef7f0bb9c41aa6e77f05f0ed2c074af51e0c

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