1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Timeline (event streams)
There are two parts to using event streams. The first is to declare an Event, it looks like this:
from django.contrib.auth.models import User
from timeline.base import EventType
from yourapp.library.models import Item
class AddedToLibrary(EventType):
slug = "added-to-library"
context_shape = {
"user": User,
"item": Item,
}
queryable_by = ["user", "item"]
And then there is querying, all querying is encapsulated in the timeline.base.Stream class. It is used like so:
Stream(request.user)
will return a Stream for all of the events for the request.user.pk User. It can take any number of positional arguments and it will combine their streams.
It also takes a number of keyword arguments. event_type which will return only Events for a given slug. limit a number saying how many Events should be included, defaults to 20. cluster a boolean saying whether the data returned should be clustered, if it is than it yields a list of Events, rather than discrete Events.
Metadata
Release files for django-timeline 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-timeline-0.5.tar.gz | 7.2 kB | Without provenance | Details for django-timeline-0.5.tar.gz |
Release files / django-timeline-0.5.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | django-timeline-0.5.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f06dd38ddba4c18f6a0a6494cf50c438552888c3a44ae3e445a56999ba939e0
|
|
BLAKE2b-256 checksum How to use checksums |
4d9d45c078a6956f8907b1f76264bc1cb8221d46a5a2e779b30fd998b5f0cba9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-timeline 0.5
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.