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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collaborativenotes_utils-0.1.4.tar.gz.
File metadata
- Download URL: collaborativenotes_utils-0.1.4.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a0adcbf691c241f21840cba84cefd9288d9640945b2fd0cae4716d323c3014
|
|
| MD5 |
d71610376295bde9e03b0f936e4a16b3
|
|
| BLAKE2b-256 |
966953a0429858cad1b3a4663e7121e72b3884b7e3c782263700bc6f0f164d72
|
File details
Details for the file collaborativenotes_utils-0.1.4-py3-none-any.whl.
File metadata
- Download URL: collaborativenotes_utils-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab47232511bf42d371f794ad46ba4c817f2eab8950bf5da105fec8f3ad0d38ea
|
|
| MD5 |
28e4a912eaef02c4e7fa3f254c7eef5c
|
|
| BLAKE2b-256 |
0c96f245213e4a1247199d772c91503d90ec5666a90a9097dfef734aee7a2a80
|