Skip to main content

docassemble.InterviewStats

PyPI version

A docassemble interview that lets you view statistics from other saved interview responses.

Getting Started

  1. Pull this package into your docassemble playground, or install it on your docassemble server.
  2. To generate data that this interview can consume, use the store_variables_snapshot() function in your interview, i.e. store_variables_snapshot(data={'zip': users[0].address.zip}).
  3. Once you have reached the store_variables_snapshot point in your target interview, start the stats interview.
  4. If you're in the playground, run the stats.yml interview.
  5. If you installed the package, go to the /start/InterviewStats/stats/ URL to start the interview.
  6. Select the target interview in the drop down.
  7. You can export the data in a Excel format by clicking the Download link on the stats page.

Anonymous stats

If you would like to provide login-less access to stats for an interview in your dispatch directive, you can do so as follows:

  1. Add a directive in your configuration file, like this:
stats subscriptions:
  - cdc_moratorium: 12345abcedfg17821309
  - 209a: 4859123jkljsafdsf0913132

Where the value on the left corresponds to the key of an entry in your dispatch directive, and the value on the right is an arbitrary password you create. I recommend using something like https://onlinehashtools.com/generate-random-md5-hash to create a random password to control access.

You can add as many unique passwords as you want for each entry you share. This means you can distribute multiple links without sharing the password.

Then, someone can access the link to a specific interview's stats by visiting this url:

/start/InterviewStats/subscribe/?link=cdc_moratorium&auth=12345abcedfg17821309

They will be directed immediately to download an XlSX file containing the statistics.

Contributing

If you have specific feature requests, feel free to open an issue or make a PR!

Authors

  • Quinten Steenhuis
  • Bryce Willey

Metadata

Release files for docassemble.InterviewStats 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docassemble.InterviewStats 0.6.3
File Size Uploaded Provenance Actions
docassemble_interviewstats-0.6.3.tar.gz 20.2 kB With provenance Details for docassemble_interviewstats-0.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docassemble.InterviewStats 0.6.3
File Interpreter ABI Platform Actions
docassemble_interviewstats-0.6.3-py3-none-any.whl Python 3 none any Details for docassemble_interviewstats-0.6.3-py3-none-any.whl

Total release size: 45.8 kB

Release files / docassemble_interviewstats-0.6.3.tar.gz

Download URL docassemble_interviewstats-0.6.3.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7dc6014ab0dbe4ce25a781525a730aeb4594fe63a7f38fefe9c1f05acd5486cd
BLAKE2b-256 checksum
How to use checksums
297b687ee304c8c92e817bc9817808edda8b25fbeaf8c79f6086c358507b226a
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 30, 2026.

Transparency log

Release files / docassemble_interviewstats-0.6.3-py3-none-any.whl

Download URL docassemble_interviewstats-0.6.3-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d2b6c65c7d70e4de361f2f1d0976fd2f87b251695e6626c57b7595fa5e388a4
BLAKE2b-256 checksum
How to use checksums
ef230544c2a070ae35f92b1941eceaef3bceb4f6dff3be4fbaa32754742c6fb7
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 30, 2026.

Transparency log

Security for docassemble.InterviewStats 0.6.3

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for docassemble_interviewstats-0.6.3.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 30, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page