university-trending
A configurable trending engine for the University platform.
This is an optional level two module that depends only on university-core.
- Signals: views, reactions, comments, shares, event registrations, community joins and marketplace orders, taken from ids-only events and kept as hourly buckets with no user ids.
- Scoring combines weighted engagement, velocity (rising now versus earlier) and recency (gravity decay). It never ranks by total likes, and the weights, window, gravity and velocity are all configurable. The algorithm itself can be swapped.
- Anti-gaming: each person counts once per signal per item per window, items need a minimum number of distinct people, and lists cap items per author.
- Permission-aware: every listed item is checked against the viewer (privacy, blocks, audiences, moderation). There are trending lists per type and per scope (for example an institution).
- Feeds: social's ranked "trending" feed uses these scores automatically, through Core's
content.trending_scoreshook.
pip install university-trending
Metadata
Release files for university-trending 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| university_trending-0.1.0.tar.gz | 12.3 kB | With provenance | Details for university_trending-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| university_trending-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for university_trending-0.1.0-py3-none-any.whl |
Total release size: 26.7 kB
Release files / university_trending-0.1.0.tar.gz
| Download URL | university_trending-0.1.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db5709ea77173131f6a856b56aebe49f3aa68424a4789d328a8308f1b9dda20a
|
|
BLAKE2b-256 checksum How to use checksums |
2c7a11567ac46bff9891575331f38423891bc88474671c53b92367c3f2532a67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / university_trending-0.1.0-py3-none-any.whl
| Download URL | university_trending-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd886004f5a7403742a9b8f10c96af57ef00b6dcb118a8f1e371446d8d504e7c
|
|
BLAKE2b-256 checksum How to use checksums |
638921e629ff272598e610a7b1d3782e4416bd51ff01573550f2d2af84b26a71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for university-trending 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for university_trending-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.