Name | pattan-mongo-survey JSON |
Version |
1.1.1
JSON |
| download |
home_page | None |
Summary | Support a surveyJS frontend with a mongodb backend |
upload_time | 2024-08-26 15:40:59 |
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/s1300/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/0c/45/620b12588908f432bd8827190a7bad7cca098b0d86b11de5ee12d8ac7a63/pattan_mongo_survey-1.1.1.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/s1300/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.1",
"project_urls": {
"Documentatin": "https://github.com/pattan-net/pattan-mongo-survey/tree/s1300/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": "",
"digests": {
"blake2b_256": "0256ab8e2b5682df35255b08357145c7ad4ed551fe4d9eaf993f715ead20a26b",
"md5": "757102847fe11f7688bfd6bbbbd824e3",
"sha256": "d50b881c823605b0eeb6a9082a07824fa5085126e370fba1071cfe39219c09a0"
},
"downloads": -1,
"filename": "pattan_mongo_survey-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "757102847fe11f7688bfd6bbbbd824e3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5961,
"upload_time": "2024-08-26T15:40:58",
"upload_time_iso_8601": "2024-08-26T15:40:58.512540Z",
"url": "https://files.pythonhosted.org/packages/02/56/ab8e2b5682df35255b08357145c7ad4ed551fe4d9eaf993f715ead20a26b/pattan_mongo_survey-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0c45620b12588908f432bd8827190a7bad7cca098b0d86b11de5ee12d8ac7a63",
"md5": "773ff31ec50079fed987707d66e0636c",
"sha256": "2b1c09c7e8dbf896da67df8d8b6f391e66ff5e5b87c9850b7ebadc3e3f89c84e"
},
"downloads": -1,
"filename": "pattan_mongo_survey-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "773ff31ec50079fed987707d66e0636c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6204,
"upload_time": "2024-08-26T15:40:59",
"upload_time_iso_8601": "2024-08-26T15:40:59.972880Z",
"url": "https://files.pythonhosted.org/packages/0c/45/620b12588908f432bd8827190a7bad7cca098b0d86b11de5ee12d8ac7a63/pattan_mongo_survey-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-26 15:40:59",
"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"
}