Skip to main content

PATTAN-MONGO-SURVEY

Support a surveyJS frontend with a mongodb backend.

Configuration

crete an instance of a the pattan-mongo-survey class with a dictionary containing the following keys.

  1. MONGDB_USER
  2. MONGDB_PASSWD
  3. MONGDB_HOST
  4. MONGDB_DB
  5. MONGDB_SURVEY_COLLECTION - collection used to store survey questions
  6. MONGDB_DB_RESPONSE_COLLECTION - collection used to store survey responses

Documentation

Docs

Logging

pattan-mongo-survey creates its own logger (of the same name) which the calling application can configure.

from pattan_mongo_survey import MongoSurveyService
import logging

mongo_logger = logging.getLogger('pattan_mongo_survey')
mongo_logger.addHandler(logging.FileHandler('example.log'))
mongo_logger.setLevel(logging.DEBUG)

Metadata

Release files for pattan-mongo-survey 1.1.2

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

Source distribution (sdist)

Source distribution for pattan-mongo-survey 1.1.2
File Size Uploaded Provenance Actions
pattan_mongo_survey-1.1.2.tar.gz 6.1 kB Without provenance Details for pattan_mongo_survey-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pattan-mongo-survey 1.1.2
File Interpreter ABI Platform Actions
pattan_mongo_survey-1.1.2-py3-none-any.whl Python 3 none any Details for pattan_mongo_survey-1.1.2-py3-none-any.whl

Total release size: 12.0 kB

Release files / pattan_mongo_survey-1.1.2.tar.gz

Download URL pattan_mongo_survey-1.1.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
af990315e111f09506e2836968dc5b55caa10180bdf1165560f0b146b3fc4504
BLAKE2b-256 checksum
How to use checksums
38ebe86916c297fe399d6f27b114f259099f8c0e715c87b4663464f91172983e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / pattan_mongo_survey-1.1.2-py3-none-any.whl

Download URL pattan_mongo_survey-1.1.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ecbb1cf1f52629a2685ca5aee2ffbacb575215ed969f58d338ee6b7a751722d
BLAKE2b-256 checksum
How to use checksums
db241d75e821b9a134257521553cf734f1fee2de70ee0079f9d9043cbeebe4ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Security for pattan-mongo-survey 1.1.2

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.

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