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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.3.tar.gz
Algorithm Hash digest
SHA256 145f812047ff1eaf76bbb9e8237e2f77d47add8f4f64b06e9f0bead369ee2d8b
MD5 107622d261ddbdaf3bdcec097b1271b8
BLAKE2b-256 92664677f6de17b78c961c7849e7823e759436eaf8eb9f6453a07a4f8084a0be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for collaborativenotes_utils-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e139814b275e923f1f2e2f46af42752495d9bdd3bc7016ea61bc1f626e8bbc
MD5 88930b08a78ffd7218dd6d742a007a93
BLAKE2b-256 8bde0abedb5a127e37dae9e15ee85967e6296ab90e3ed3e2c7e42c5a4ed3a957

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