tirsvadCLI-quiz-engine-4-trivia


NametirsvadCLI-quiz-engine-4-trivia JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/TirsvadCLI
SummaryNone
upload_time2024-05-21 12:14:55
maintainerNone
docs_urlNone
authorJens Tirsvad Nielsen
requires_python>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
<!-- REPLACE -->


<!-- PROJECT LOGO -->
<br />
<div align="center">
    <a href="https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/">
        <img src="images/logo.png" alt="Logo" width="80" height="80">
    </a>
    <h3 align="center">Quiz Engine for Trivia</h3>
    <p align="center">
    <!-- PROJECT DESCRIPTION -->
    <br />
    <br />
    <!-- PROJECT SCREENSHOTS -->
    <!--
    <a href="https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/blob/main/images/screenshot01.png">
        <img src="images/screenshot01.png" alt="screenshot" width="120" height="120">
    </a>
    -->
    <br />
    <a href="https://github.com/TirsvadCLI/Python.QuizEngine4Trivia"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues/new?labels=bug&template=bug-report---.md">Report Bug</a>
    ·
    <a href="https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>

  </p>
</div>

# Quiz Engine for Trivia

<!-- PROJECT DESCRIPTION -->

# Getting Started

Quiz Engine for Trivia module

Easy to create a quiz game by using this module.

## Prerequisites

You have python 3 installed.

## Use

In a terminal do following
```commandline
pip install tirsvadCLI-quiz_engine_4_trivia
```

```python
from main import QuizEngine

quiz = QuizEngine()

while quiz.still_has_questions():
    print(f"Your score : {quiz.score}")
    q_text = quiz.next_question()
    user_answer = input(f"Q.{quiz.question_number}: {q_text}")
    if quiz.check_answer(user_answer):
        print("You are right")
    else:
        print("You are wrong")
```

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any
contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also
simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

Fork the Project

<ol>
    <li>Fork the Project</li>
    <li>Create your Feature Branch</li>
    <li>Commit your Changes</li>
    <li>Push to the Branch</li>
    <li>Open a Pull Request</li>
</ol>

Example

```commandline
git checkout -b feature
git commit -m 'Add my feature enhance to project'
git push origin feature
```

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->

[contributors-shield]: https://img.shields.io/github/contributors/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge

[contributors-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/graphs/contributors

[forks-shield]: https://img.shields.io/github/forks/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge

[forks-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/network/members

[stars-shield]: https://img.shields.io/github/stars/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge

[stars-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/stargazers

[issues-shield]: https://img.shields.io/github/issues/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge

[issues-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues

[license-shield]: https://img.shields.io/github/license/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge

[license-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/blob/master/LICENSE

[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555

[linkedin-url]: https://www.linkedin.com/in/jens-tirsvad-nielsen-13b795b9/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TirsvadCLI",
    "name": "tirsvadCLI-quiz-engine-4-trivia",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Jens Tirsvad Nielsen",
    "author_email": "jenstirsvad@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/76/88/25a5d11a53e81a1b7e6944210b6921ed1bcf33eade3798862447df7f66a0/tirsvadcli_quiz_engine_4_trivia-0.0.4.tar.gz",
    "platform": null,
    "description": "[![Contributors][contributors-shield]][contributors-url]\r\n[![Forks][forks-shield]][forks-url]\r\n[![Stargazers][stars-shield]][stars-url]\r\n[![Issues][issues-shield]][issues-url]\r\n[![MIT License][license-shield]][license-url]\r\n[![LinkedIn][linkedin-shield]][linkedin-url]\r\n<!-- REPLACE -->\r\n\r\n\r\n<!-- PROJECT LOGO -->\r\n<br />\r\n<div align=\"center\">\r\n    <a href=\"https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/\">\r\n        <img src=\"images/logo.png\" alt=\"Logo\" width=\"80\" height=\"80\">\r\n    </a>\r\n    <h3 align=\"center\">Quiz Engine for Trivia</h3>\r\n    <p align=\"center\">\r\n    <!-- PROJECT DESCRIPTION -->\r\n    <br />\r\n    <br />\r\n    <!-- PROJECT SCREENSHOTS -->\r\n    <!--\r\n    <a href=\"https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/blob/main/images/screenshot01.png\">\r\n        <img src=\"images/screenshot01.png\" alt=\"screenshot\" width=\"120\" height=\"120\">\r\n    </a>\r\n    -->\r\n    <br />\r\n    <a href=\"https://github.com/TirsvadCLI/Python.QuizEngine4Trivia\"><strong>Explore the docs \u00c2\u00bb</strong></a>\r\n    <br />\r\n    <br />\r\n    <a href=\"https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues/new?labels=bug&template=bug-report---.md\">Report Bug</a>\r\n    \u00c2\u00b7\r\n    <a href=\"https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues/new?labels=enhancement&template=feature-request---.md\">Request Feature</a>\r\n\r\n  </p>\r\n</div>\r\n\r\n# Quiz Engine for Trivia\r\n\r\n<!-- PROJECT DESCRIPTION -->\r\n\r\n# Getting Started\r\n\r\nQuiz Engine for Trivia module\r\n\r\nEasy to create a quiz game by using this module.\r\n\r\n## Prerequisites\r\n\r\nYou have python 3 installed.\r\n\r\n## Use\r\n\r\nIn a terminal do following\r\n```commandline\r\npip install tirsvadCLI-quiz_engine_4_trivia\r\n```\r\n\r\n```python\r\nfrom main import QuizEngine\r\n\r\nquiz = QuizEngine()\r\n\r\nwhile quiz.still_has_questions():\r\n    print(f\"Your score : {quiz.score}\")\r\n    q_text = quiz.next_question()\r\n    user_answer = input(f\"Q.{quiz.question_number}: {q_text}\")\r\n    if quiz.check_answer(user_answer):\r\n        print(\"You are right\")\r\n    else:\r\n        print(\"You are wrong\")\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any\r\ncontributions you make are greatly appreciated.\r\n\r\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also\r\nsimply open an issue with the tag \"enhancement\". Don't forget to give the project a star! Thanks again!\r\n\r\nFork the Project\r\n\r\n<ol>\r\n    <li>Fork the Project</li>\r\n    <li>Create your Feature Branch</li>\r\n    <li>Commit your Changes</li>\r\n    <li>Push to the Branch</li>\r\n    <li>Open a Pull Request</li>\r\n</ol>\r\n\r\nExample\r\n\r\n```commandline\r\ngit checkout -b feature\r\ngit commit -m 'Add my feature enhance to project'\r\ngit push origin feature\r\n```\r\n\r\n<!-- MARKDOWN LINKS & IMAGES -->\r\n<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->\r\n\r\n[contributors-shield]: https://img.shields.io/github/contributors/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge\r\n\r\n[contributors-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/graphs/contributors\r\n\r\n[forks-shield]: https://img.shields.io/github/forks/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge\r\n\r\n[forks-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/network/members\r\n\r\n[stars-shield]: https://img.shields.io/github/stars/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge\r\n\r\n[stars-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/stargazers\r\n\r\n[issues-shield]: https://img.shields.io/github/issues/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge\r\n\r\n[issues-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/issues\r\n\r\n[license-shield]: https://img.shields.io/github/license/TirsvadCLI/Python.QuizEngine4Trivia?style=for-the-badge\r\n\r\n[license-url]: https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/blob/master/LICENSE\r\n\r\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555\r\n\r\n[linkedin-url]: https://www.linkedin.com/in/jens-tirsvad-nielsen-13b795b9/\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.0.4",
    "project_urls": {
        "Download": "https://github.com/TirsvadCLI/Python.QuizEngine4Trivia/releases/download/v0.0.1a2/tirsvadcli_quiz_engine_4_trivia-0.0.1a2.tar.gz",
        "Homepage": "https://github.com/TirsvadCLI"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e07c3b093b56ba99ba9131b847a8781b4c6ac04f09c882025715cd5a5c8b3d8",
                "md5": "99913b31a8aebcbb4a320f0302a47f3b",
                "sha256": "78cce26d04405c42b4cb01e3f0e984ef364461dcb4e2318875d326cd54dba9c0"
            },
            "downloads": -1,
            "filename": "tirsvadCLI_quiz_engine_4_trivia-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99913b31a8aebcbb4a320f0302a47f3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 18964,
            "upload_time": "2024-05-21T12:14:54",
            "upload_time_iso_8601": "2024-05-21T12:14:54.220159Z",
            "url": "https://files.pythonhosted.org/packages/3e/07/c3b093b56ba99ba9131b847a8781b4c6ac04f09c882025715cd5a5c8b3d8/tirsvadCLI_quiz_engine_4_trivia-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "768825a5d11a53e81a1b7e6944210b6921ed1bcf33eade3798862447df7f66a0",
                "md5": "b96460a66317acec402a08e7968f179c",
                "sha256": "3c24435850afe835a346d4e39fcc4bc8a6e4b6a80b284312fcbef77f1b1d2bd2"
            },
            "downloads": -1,
            "filename": "tirsvadcli_quiz_engine_4_trivia-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b96460a66317acec402a08e7968f179c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 19393,
            "upload_time": "2024-05-21T12:14:55",
            "upload_time_iso_8601": "2024-05-21T12:14:55.480735Z",
            "url": "https://files.pythonhosted.org/packages/76/88/25a5d11a53e81a1b7e6944210b6921ed1bcf33eade3798862447df7f66a0/tirsvadcli_quiz_engine_4_trivia-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-21 12:14:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TirsvadCLI",
    "github_project": "Python.QuizEngine4Trivia",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tirsvadcli-quiz-engine-4-trivia"
}
        
Elapsed time: 0.25233s