# sigmoid_check
sigmoid_check is a library for automation testing of Sigmoid's homeworks. It contains a set of functions that can be used to test the correctness of the homeworks.
This version of the library is designed to work with the homeworks of the bootcamp "Python Odyssey" of Sigmoid.
## How to use sigmoid_check
To use sigmoid_check for a specific homework, you need to import the library and call the functions that are relevant to the homework from the specific event that they are assigned to.
To install sigmoid_check, you can use the following command:
```bash
pip install sigmoid_check
```
# To get check the homework of the lesson_10 for the Python Odyssey bootcamp, you can use the following code:
```python
from sigmoid_check.python_odyssey.lesson_10 import Lesson_10
```
Afterwards, you have to initiate a session with the following code:
```python
session = Lesson_10()
```
Then, you can use the functions of the session object to check the homework of the lesson_10. For example, to check the first task of the homework, you can use the following code (but make sure to first create the function `task_1` in the homework file and then call the function `check_task_1` from the session object):
```python
session.check_task_1(task_1)
```
To actually print the if the task is correct or not, you can use the following code:
```python
print(session.check_task_1(task_1))
```
The above checking of the task has to be done should be done to each task of the homework, otherwise the not considered tasks will be considered as incorrect.
To check the final result of the homework, after running all the tasks, you can use the following code:
```python
print(session.get_completion_percentage())
```
With <3 from Sigmoid!
We are open for feedback. Please send your impressions to balamatiuc2@gmail.com
## License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. You may use the code for non-commercial purposes, but any commercial use is prohibited. For more details, see the [LICENSE](./LICENSE) file or visit [this link](https://creativecommons.org/licenses/by-nc/4.0/).
Raw data
{
"_id": null,
"home_page": null,
"name": "sigmoid-check",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tasks, check, sigmoid, sigmoidai, sigmoid_check",
"author": "SigmoidAI - Balamatiuc Eduard",
"author_email": "balamatiuc2@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2b/4e/41e870d5d561a222e9279343c1c4ce16b92412f58694ff194ea440aa376b/sigmoid_check-0.1.4.tar.gz",
"platform": null,
"description": "# sigmoid_check\n\nsigmoid_check is a library for automation testing of Sigmoid's homeworks. It contains a set of functions that can be used to test the correctness of the homeworks.\n\nThis version of the library is designed to work with the homeworks of the bootcamp \"Python Odyssey\" of Sigmoid.\n\n## How to use sigmoid_check\n\nTo use sigmoid_check for a specific homework, you need to import the library and call the functions that are relevant to the homework from the specific event that they are assigned to.\n\nTo install sigmoid_check, you can use the following command:\n\n```bash\npip install sigmoid_check\n```\n\n# To get check the homework of the lesson_10 for the Python Odyssey bootcamp, you can use the following code:\n\n```python\nfrom sigmoid_check.python_odyssey.lesson_10 import Lesson_10\n```\n\nAfterwards, you have to initiate a session with the following code:\n\n```python\nsession = Lesson_10()\n```\n\nThen, you can use the functions of the session object to check the homework of the lesson_10. For example, to check the first task of the homework, you can use the following code (but make sure to first create the function `task_1` in the homework file and then call the function `check_task_1` from the session object):\n\n```python\nsession.check_task_1(task_1)\n```\n\nTo actually print the if the task is correct or not, you can use the following code:\n\n```python\nprint(session.check_task_1(task_1))\n```\n\nThe above checking of the task has to be done should be done to each task of the homework, otherwise the not considered tasks will be considered as incorrect.\n\nTo check the final result of the homework, after running all the tasks, you can use the following code:\n\n```python\nprint(session.get_completion_percentage())\n```\n\nWith <3 from Sigmoid!\n\nWe are open for feedback. Please send your impressions to balamatiuc2@gmail.com\n\n## License\n\nThis project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. You may use the code for non-commercial purposes, but any commercial use is prohibited. For more details, see the [LICENSE](./LICENSE) file or visit [this link](https://creativecommons.org/licenses/by-nc/4.0/).\n",
"bugtrack_url": null,
"license": "Creative Commons Attribution-NonCommercial 4.0 International License",
"summary": "A package for checking the implementation of tasks in Sigmoid Courses",
"version": "0.1.4",
"project_urls": null,
"split_keywords": [
"tasks",
" check",
" sigmoid",
" sigmoidai",
" sigmoid_check"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c3fa11053979ee421387982679b81810f9c43f9f3424977d1c03b91415508d3",
"md5": "dea4e4043a88d8c9a3eb8f4eef2a0e04",
"sha256": "4c3071461c9eb786792997bdb7bebc1d75854e92723f9b87a04a312a6802f49d"
},
"downloads": -1,
"filename": "sigmoid_check-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dea4e4043a88d8c9a3eb8f4eef2a0e04",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 72177,
"upload_time": "2024-10-19T14:06:41",
"upload_time_iso_8601": "2024-10-19T14:06:41.093151Z",
"url": "https://files.pythonhosted.org/packages/4c/3f/a11053979ee421387982679b81810f9c43f9f3424977d1c03b91415508d3/sigmoid_check-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2b4e41e870d5d561a222e9279343c1c4ce16b92412f58694ff194ea440aa376b",
"md5": "73de7b99f576b3b2002ad4198167c9dc",
"sha256": "4052048bf1434649f0171388637407f60876ccb37cbf6245f9cbabe653dddd03"
},
"downloads": -1,
"filename": "sigmoid_check-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "73de7b99f576b3b2002ad4198167c9dc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 67037,
"upload_time": "2024-10-19T14:06:43",
"upload_time_iso_8601": "2024-10-19T14:06:43.557009Z",
"url": "https://files.pythonhosted.org/packages/2b/4e/41e870d5d561a222e9279343c1c4ce16b92412f58694ff194ea440aa376b/sigmoid_check-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-19 14:06:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sigmoid-check"
}