homework


Namehomework JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryA package to create programming assignments
upload_time2025-01-26 15:30:07
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT
keywords homework assignments
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # homework
This library lets you easily set up programing homeworks.

Let's say you are teaching about neural networks and you wnat your students to implement gradient descent on their own. You could write the solution code in a file called `./source/gradient_descent.py` as follows:

```python
## homework:replace:on
#.dw = 
#.w = 
dw = compute_gradients()
w -= alpha * dw
## homework:replace:off
```

then, call `homework ./source` and it will generate a new folder `source_homework`, where the file `./source_homework/gradient_descent.py` has be rewriten as:

```python
## homework:start
dw = 
w = 
## homework:end
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "homework",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": "Sebastian Rodriguez Colina <srcolinas@gmail.com>",
    "keywords": "homework, assignments",
    "author": null,
    "author_email": "Sebastian Rodriguez Colina <srcolinas@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a1/62/62fecc6b8ac39cfc4ba8788f768296c7032480594c73c0e9323278a42a12/homework-0.1.2.tar.gz",
    "platform": null,
    "description": "# homework\nThis library lets you easily set up programing homeworks.\n\nLet's say you are teaching about neural networks and you wnat your students to implement gradient descent on their own. You could write the solution code in a file called `./source/gradient_descent.py` as follows:\n\n```python\n## homework:replace:on\n#.dw = \n#.w = \ndw = compute_gradients()\nw -= alpha * dw\n## homework:replace:off\n```\n\nthen, call `homework ./source` and it will generate a new folder `source_homework`, where the file `./source_homework/gradient_descent.py` has be rewriten as:\n\n```python\n## homework:start\ndw = \nw = \n## homework:end\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A package to create programming assignments",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/srcolinas/homework"
    },
    "split_keywords": [
        "homework",
        " assignments"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e38674ff6a0e53435e0607271d52a77518b7ef464d840c7561d37c5aa2198ec7",
                "md5": "17d095fd6024f798b02c3484a01cf905",
                "sha256": "eff159fce8e0e77c3a3492b92caf40fae64344f20ea9c22643a41b0d93fadbd3"
            },
            "downloads": -1,
            "filename": "homework-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "17d095fd6024f798b02c3484a01cf905",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 3306,
            "upload_time": "2025-01-26T15:30:06",
            "upload_time_iso_8601": "2025-01-26T15:30:06.176065Z",
            "url": "https://files.pythonhosted.org/packages/e3/86/74ff6a0e53435e0607271d52a77518b7ef464d840c7561d37c5aa2198ec7/homework-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a16262fecc6b8ac39cfc4ba8788f768296c7032480594c73c0e9323278a42a12",
                "md5": "b6758db833f842532735e99c6708b33c",
                "sha256": "814d24350fb98c5c876f80fceb84ca950084b71d77045323dbb3ca618b11b872"
            },
            "downloads": -1,
            "filename": "homework-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b6758db833f842532735e99c6708b33c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 3244,
            "upload_time": "2025-01-26T15:30:07",
            "upload_time_iso_8601": "2025-01-26T15:30:07.950653Z",
            "url": "https://files.pythonhosted.org/packages/a1/62/62fecc6b8ac39cfc4ba8788f768296c7032480594c73c0e9323278a42a12/homework-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-26 15:30:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "srcolinas",
    "github_project": "homework",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "homework"
}
        
Elapsed time: 0.37728s