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, calculate_weighted_rating, 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.1.tar.gz (2.1 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.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 65c01febbdf74bc08609229e565868c00273143fc54e139f20c47374a7d7ba56
MD5 efa1760290ae93cc94717d6edf72c65c
BLAKE2b-256 6bf5443aaf82e9aa421b367f4fd6143540dd75fb8f63470808a137b034afef1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f4052df694863bced07e2cd2a37bee0bc2f7fe946db62af71974052d71ce1bd
MD5 22d6a77be8c3eac2b6234ff88c88f643
BLAKE2b-256 134d476c916108f3c23f6d123f88b519d7fe394b49ae94dbe002819aee392841

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