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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.4.tar.gz
Algorithm Hash digest
SHA256 54a0adcbf691c241f21840cba84cefd9288d9640945b2fd0cae4716d323c3014
MD5 d71610376295bde9e03b0f936e4a16b3
BLAKE2b-256 966953a0429858cad1b3a4663e7121e72b3884b7e3c782263700bc6f0f164d72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ab47232511bf42d371f794ad46ba4c817f2eab8950bf5da105fec8f3ad0d38ea
MD5 28e4a912eaef02c4e7fa3f254c7eef5c
BLAKE2b-256 0c96f245213e4a1247199d772c91503d90ec5666a90a9097dfef734aee7a2a80

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