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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.2.tar.gz
Algorithm Hash digest
SHA256 969771d183335a9821af12b3858d41819b3137d4729a78610b3ad2a571699025
MD5 62b336bc46835d50eefdc1e55018dd53
BLAKE2b-256 003b5d2a819a765f2d623963e1cc697a97c0438ff6695138fc10e9f8e0a47980

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2448d51f00523086882af94d699977240ed6318261bfb279c96ced886e0e9b9
MD5 8a5b8eca4a1ad0d40e369bb64121aff8
BLAKE2b-256 ceb7e30c4ef0c8433dcb43e07a117e61de9520be51c7b16f49c43eca6552680a

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