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:
pip install sigmoid_check
To get check the homework of the lesson_10 for the Python Odyssey bootcamp, you can use the following code:
from sigmoid_check.python_odyssey.lesson_10 import Lesson_10
Afterwards, you have to initiate a session with the following code:
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):
session.check_task_1(task_1)
To actually print the if the task is correct or not, you can use the following code:
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:
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 file or visit this link.
Metadata
Release files for sigmoid-check 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sigmoid_check-0.1.5.tar.gz | 81.8 kB | Without provenance | Details for sigmoid_check-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sigmoid_check-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for sigmoid_check-0.1.5-py3-none-any.whl |
Total release size: 169.1 kB
Release files / sigmoid_check-0.1.5.tar.gz
| Download URL | sigmoid_check-0.1.5.tar.gz |
|---|---|
| Size | 81.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
280218954365b10c8bfd6aae3c286b6af67cb9cd64bec021f7aa1b8675ec5d1f
|
|
BLAKE2b-256 checksum How to use checksums |
0973ea6f34b12d7e0ee0d9e10ef2239e880b8d37d8986fb4d5d13159d7ddef20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / sigmoid_check-0.1.5-py3-none-any.whl
| Download URL | sigmoid_check-0.1.5-py3-none-any.whl |
|---|---|
| Size | 87.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cdf2eae7aac893c15e00e944134d6e7e1e3e74edd440758764f82e0e8a9b8f6
|
|
BLAKE2b-256 checksum How to use checksums |
ac57470a21c7410138ae41f3b8c2f8e1ed88ae1b38807f2d049f9e3b5a9d61d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Security for sigmoid-check 0.1.5
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.