aya-mixer


Nameaya-mixer JSON
Version 1.0.0 PyPI version JSON
download
home_page
Summarymixing high school tests
upload_time2022-12-11 09:28:53
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords mix test
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mixer09122022


`mixer2` is the version that works. 

`mixer3` is for refactoring attempts.

## mixer2

`test_many.py` is whether the program lives.

it inputs `de_chua_tron_091122.html` and output N (4) tests `de_da_tron_{id}.html` with all the answers written in `cau_tra_loi.docx`

## notes


-    libre to save docx as html (not export) (to preserve all the images of equations and subscripts)
-    python to mix and output the tests (in html) with its answers (`docx`)
-    libre writer to save html as docx, then export to pdf to preserve all the images
- input needs to be formatted in a particular way (as in `de_chua_tron_091122.docx`

## code logic

- input `html` and read into a `BeautifulSoup` document
- get the questions into an array. `shuffle` the array N times
- traverse the question array with a `for` loop: process the question along the way (add bold title, pack images, shuffle answers)
- output to 4 `html` files, output the answers to one file (with timestamp and testID)

## further consideration
 questions with answers are tabulated or not. and are html tags which can be stored in a database for further web app development.
# test
# test

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "aya-mixer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "mix,test",
    "author": "",
    "author_email": "Chi <chinguyen.dev@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c7/e6/d31e89f72852b1ac393ebfa5e404ef1d4222670e14e805b9901fc4364e0d/aya-mixer-1.0.0.tar.gz",
    "platform": null,
    "description": "# mixer09122022\n\n\n`mixer2` is the version that works. \n\n`mixer3` is for refactoring attempts.\n\n## mixer2\n\n`test_many.py` is whether the program lives.\n\nit inputs `de_chua_tron_091122.html` and output N (4) tests `de_da_tron_{id}.html` with all the answers written in `cau_tra_loi.docx`\n\n## notes\n\n\n-    libre to save docx as html (not export) (to preserve all the images of equations and subscripts)\n-    python to mix and output the tests (in html) with its answers (`docx`)\n-    libre writer to save html as docx, then export to pdf to preserve all the images\n- input needs to be formatted in a particular way (as in `de_chua_tron_091122.docx`\n\n## code logic\n\n- input `html` and read into a `BeautifulSoup` document\n- get the questions into an array. `shuffle` the array N times\n- traverse the question array with a `for` loop: process the question along the way (add bold title, pack images, shuffle answers)\n- output to 4 `html` files, output the answers to one file (with timestamp and testID)\n\n## further consideration\n questions with answers are tabulated or not. and are html tags which can be stored in a database for further web app development.\n# test\n# test\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "mixing high school tests",
    "version": "1.0.0",
    "split_keywords": [
        "mix",
        "test"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "d6f4eee1bed50cfc0e2dce179ac000c1",
                "sha256": "2c1810f3a44a41cc036834d8154068abf925a7bc26352cc52f6dfca596ecf4d0"
            },
            "downloads": -1,
            "filename": "aya_mixer-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d6f4eee1bed50cfc0e2dce179ac000c1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4013,
            "upload_time": "2022-12-11T09:28:51",
            "upload_time_iso_8601": "2022-12-11T09:28:51.410317Z",
            "url": "https://files.pythonhosted.org/packages/55/27/42c94fc97ac036ce046ccb33efa9b61197d8f67472fab99c6dfdc6ac410b/aya_mixer-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "30e43446520477368ea354c51b652dad",
                "sha256": "88b6ec75368139bb8ffe80405bde778e9efff040fa565fcd0d397ab08d862d16"
            },
            "downloads": -1,
            "filename": "aya-mixer-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "30e43446520477368ea354c51b652dad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3874,
            "upload_time": "2022-12-11T09:28:53",
            "upload_time_iso_8601": "2022-12-11T09:28:53.665996Z",
            "url": "https://files.pythonhosted.org/packages/c7/e6/d31e89f72852b1ac393ebfa5e404ef1d4222670e14e805b9901fc4364e0d/aya-mixer-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-11 09:28:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "aya-mixer"
}
        
Elapsed time: 0.02275s