Skip to main content

Scoring, ranking and search utilities for CollaborativeNotes

Project description

collaborativenotes-utils

Scoring, ranking and search utilities for the CollaborativeNotes Django app.

Install

pip install collaborativenotes-utils

Usage

from collaborativenotes_utils import rank_notes, group_by_collection, search_score

# Rank notes by relevance to a search query + rating + downloads
ranked = rank_notes(notes, query="databases")

# Get a single note's relevance score
score = search_score(note, query="normalisation")

# group uploaded notes by collection name 
grouped = group_by_collection(notes)

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

collaborativenotes_utils-0.1.5.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

collaborativenotes_utils-0.1.5-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file collaborativenotes_utils-0.1.5.tar.gz.

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 641b9dc38ccc28a1edbf13a66dba642fd2b66928b3347990de9865e599addf75
MD5 fcb935c20ff307e4d7295ec7d195701c
BLAKE2b-256 60a64ec34411086d8ac458fee66b28583c34d493a320a46a2175d729c7525364

See more details on using hashes here.

File details

Details for the file collaborativenotes_utils-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c36d9da492e34a4cd3d1fca00106d3c757a77a8759d1d4f2f811b008f24bb190
MD5 7c0c4d108a05ffa41128a17995de2fec
BLAKE2b-256 0e608ca0d154b9973e3eaffc9f566e345f5c61f6b6b66c8d1413607d6f65cc22

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