Seed Service Rating
Service Rating is built around two models: Invites and Ratings.
If you want the user to rate the service they received, you first create an Invite for them. The user then gets sent a message to invite them to rate the service they received.
When the user rates the service they received, the feedback they provide is stored in Ratings. A Rating is created for each question they answered, and it stores the question and the answer in the model.
Invite creation typically happens via a POST request to the /invite endpoint.
When a user has completed their service rating by answering all the questions, their Invite field completed should be set to True to prevent sending additional invitations.
A special endpoint /invite/send should be hit in order to send all the invites that need to go out. Hitting this endpoint activates the SendInviteMessages task, which in turn activates the task that sends out the individual invite messages. This can be automated by adding a schedule to the scheduler that hits the endpoint at predetermined times (typically it could hit the endpoint once every weekday)
Some environment variables to take note of (see settings.py):
TOTAL_INVITES_TO_SEND: The number of messages that will be sent to invite users to rate their service.
DAYS_BETWEEN_INVITES: The number of days to wait between sending invite messages to users.
INVITE_TEXT: The invite message to be sent to the user.
Metadata
Release files for seed-service-rating 0.9.1
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 |
|---|---|---|---|---|
| seed-service-rating-0.9.1.tar.gz | 15.6 kB | Without provenance | Details for seed-service-rating-0.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seed_service_rating-0.9.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for seed_service_rating-0.9.1-py2.py3-none-any.whl |
Total release size: 37.3 kB
Release files / seed-service-rating-0.9.1.tar.gz
| Download URL | seed-service-rating-0.9.1.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4254a41afdf6b8b0449d864f08165bdcfa8c610ed5f1124ff5605ad4685fd5b5
|
|
BLAKE2b-256 checksum How to use checksums |
3ef30a6f8af6abcf0e429d4412de7c81a05390f42691cb2ab1cbf05d7c1b6b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / seed_service_rating-0.9.1-py2.py3-none-any.whl
| Download URL | seed_service_rating-0.9.1-py2.py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
97f0dce84242a8a035e80e183df708638153397c63aed98d6ccb0b98a87816ef
|
|
BLAKE2b-256 checksum How to use checksums |
0c3b0fd8c83af0dcae2d68cc450412bfee3283726eb3ec6f0ffe2bd68bc81002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for seed-service-rating 0.9.1
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.