Name | pattan-mongo-survey JSON |
Version |
1.1.2
JSON |
| download |
home_page | None |
Summary | Support a surveyJS frontend with a mongodb backend |
upload_time | 2025-01-21 21:43:58 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
mongo
surveyjs
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
### 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](https://github.com/pattan-net/pattan-mongo-survey/tree/main/docs)
## Logging
pattan-mongo-survey creates its own logger (of the same name) which the calling application can configure.
```python
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)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pattan-mongo-survey",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Markus Weltin <mweltin@pattan.net>",
"keywords": "mongo, surveyJS",
"author": null,
"author_email": "Markus Weltin <mweltin@pattan.net>",
"download_url": "https://files.pythonhosted.org/packages/38/eb/e86916c297fe399d6f27b114f259099f8c0e715c87b4663464f91172983e/pattan_mongo_survey-1.1.2.tar.gz",
"platform": null,
"description": "### PATTAN-MONGO-SURVEY\n\nSupport a surveyJS frontend with a mongodb backend.\n\n## Configuration\n \n# crete an instance of a the pattan-mongo-survey class with a dictionary containing the following keys.\n1. MONGDB_USER\n2. MONGDB_PASSWD\n3. MONGDB_HOST\n4. MONGDB_DB\n5. MONGDB_SURVEY_COLLECTION - collection used to store survey questions\n6. MONGDB_DB_RESPONSE_COLLECTION - collection used to store survey responses\n\n## Documentation\n[Docs](https://github.com/pattan-net/pattan-mongo-survey/tree/main/docs)\n\n## Logging\npattan-mongo-survey creates its own logger (of the same name) which the calling application can configure.\n\n```python\nfrom pattan_mongo_survey import MongoSurveyService\nimport logging\n\nmongo_logger = logging.getLogger('pattan_mongo_survey')\nmongo_logger.addHandler(logging.FileHandler('example.log'))\nmongo_logger.setLevel(logging.DEBUG)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Support a surveyJS frontend with a mongodb backend",
"version": "1.1.2",
"project_urls": {
"Documentation": "https://github.com/pattan-net/pattan-mongo-survey/tree/main/docs",
"Homepage": "https://github.com/pattan-net/pattan-mongo-survey",
"Important": "https://www.youtube.com/watch?v=xvFZjo5PgG0"
},
"split_keywords": [
"mongo",
" surveyjs"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "db241d75e821b9a134257521553cf734f1fee2de70ee0079f9d9043cbeebe4ec",
"md5": "1fd2f35d7f902b5f80a08b0e0df29938",
"sha256": "9ecbb1cf1f52629a2685ca5aee2ffbacb575215ed969f58d338ee6b7a751722d"
},
"downloads": -1,
"filename": "pattan_mongo_survey-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1fd2f35d7f902b5f80a08b0e0df29938",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5959,
"upload_time": "2025-01-21T21:43:57",
"upload_time_iso_8601": "2025-01-21T21:43:57.109486Z",
"url": "https://files.pythonhosted.org/packages/db/24/1d75e821b9a134257521553cf734f1fee2de70ee0079f9d9043cbeebe4ec/pattan_mongo_survey-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "38ebe86916c297fe399d6f27b114f259099f8c0e715c87b4663464f91172983e",
"md5": "6fa91bc9dc92d45ff8c2e08e4d5d17f3",
"sha256": "af990315e111f09506e2836968dc5b55caa10180bdf1165560f0b146b3fc4504"
},
"downloads": -1,
"filename": "pattan_mongo_survey-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "6fa91bc9dc92d45ff8c2e08e4d5d17f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6072,
"upload_time": "2025-01-21T21:43:58",
"upload_time_iso_8601": "2025-01-21T21:43:58.745858Z",
"url": "https://files.pythonhosted.org/packages/38/eb/e86916c297fe399d6f27b114f259099f8c0e715c87b4663464f91172983e/pattan_mongo_survey-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-21 21:43:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pattan-net",
"github_project": "pattan-mongo-survey",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pattan-mongo-survey"
}