Skip to main content

questionnaire-kit

Client questionnaires for Python apps, plus an interior-design style quiz.

Form engine (any domain: client intake, site surveys, onboarding):

  • Sections of questions in 10 types: short and long text, single and multiple choice, picture choice (photo or colour swatch), rating 1–5, dropdown, number, date, and photo upload
  • "Show only if" logic: show a question only when an earlier answer matches
  • check_questions() validates a form: unique ids, at least 2 options for choices, conditions point back to earlier questions
  • clean_answers() keeps only valid answers, drops answers to hidden questions, and on submit lists the required questions still unanswered
  • summary_rows() gives (section, question, answer) rows for a PDF, an email or a CRM note

Interior style quiz: 6 questions and 6 style profiles (modern minimalist, warm contemporary, industrial chic, bohemian eclectic, luxury classic, japandi zen), with traits, materials and colour palettes. score_style() ranks the profiles from the client's answers.

Built from the client brief questionnaire and style quiz Hexaspace uses with clients.

Example

from questionnaire_kit import check_questions, clean_answers, summary_rows, quiz_data, score_style

check_questions(sections)                                  # when the form is saved
answers = clean_answers(sections, raw_answers, final=True) # when the client presses Submit
rows = summary_rows(sections, answers)

quiz = quiz_data()
result = score_style([chosen_option_1, chosen_option_2])  # {'primary': 'japandi-zen', 'profile': {...}, ...}

Licence

MIT. Maintained by Hexaspace.

Metadata

Release files for questionnaire-kit 0.1.0

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

Source distribution (sdist)

Source distribution for questionnaire-kit 0.1.0
File Size Uploaded Provenance Actions
questionnaire_kit-0.1.0.tar.gz 8.8 kB With provenance Details for questionnaire_kit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for questionnaire-kit 0.1.0
File Interpreter ABI Platform Actions
questionnaire_kit-0.1.0-py3-none-any.whl Python 3 none any Details for questionnaire_kit-0.1.0-py3-none-any.whl

Total release size: 17.9 kB

Release files / questionnaire_kit-0.1.0.tar.gz

Download URL questionnaire_kit-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5c02bbd61bd3bb100928239a6dfb64f050699efceba0bf33ae8ba979ce12079d
BLAKE2b-256 checksum
How to use checksums
5bfe2c3129fa686b76a25e4e96dda9ce4ceef67e32c139f03b5ef5a36a12c734
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 Nov 27, 2026.

Transparency log

Release files / questionnaire_kit-0.1.0-py3-none-any.whl

Download URL questionnaire_kit-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87f67de752d7d88f862a250c1c7255e1762a23d18186d033d9fb966607528059
BLAKE2b-256 checksum
How to use checksums
8a99d774b6278d27ca4438bfb1602cbabdbc2fc246c5694d10554d6c30ea98f9
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 Nov 27, 2026.

Transparency log

Security for questionnaire-kit 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.

Select from 2 files

Attestation for questionnaire_kit-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 Nov 27, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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