jrpytests


Namejrpytests JSON
Version 0.1.6 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-10-24 20:26:27
maintainerNone
docs_urlNone
authorJumping Rivers
requires_python<4.0,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jrpytests

## Overview

This package contains functions for CI testing of JR python packages and was created using the poetry python package, for more details see

[https://github.com/sdispater/poetry](https://github.com/sdispater/poetry).

jrpytests allows: 

* to run pytest,
* to check coding style (via flake8) in python files, 
* to extract python chunks from Rmd files and check their coding style,
* to check if a directory 'vignettes' exists in appropriate folder and,
* to count pdf files in 'vignettes' and compare to number of Rmd files.

The flake8 configuration file is stored in this package, see

jrpytests/flake8\_config.ini.

## Basic usage

Import the package using

`import jrpytests`.

Run pytest

`jrpytests.runpytests()`.

Run flake8 in python files

`jrpytests.runflake8pythonfiles()`.

Run flake8 in Rmd python chunks

`jrpytests.runflake8rmdpychunks()`.

Check 'vignettes' and number of pdf files in it

`jrpytests.checkvignettespdffiles()`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jrpytests",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Jumping Rivers",
    "author_email": "info@jumpingrivers.com",
    "download_url": "https://files.pythonhosted.org/packages/92/28/3df5da341914859b37f8e1e5c1f1756ba80e6c4294cae594ac5445f8eb0c/jrpytests-0.1.6.tar.gz",
    "platform": null,
    "description": "# jrpytests\n\n## Overview\n\nThis package contains functions for CI testing of JR python packages and was created using the poetry python package, for more details see\n\n[https://github.com/sdispater/poetry](https://github.com/sdispater/poetry).\n\njrpytests allows: \n\n* to run pytest,\n* to check coding style (via flake8) in python files, \n* to extract python chunks from Rmd files and check their coding style,\n* to check if a directory 'vignettes' exists in appropriate folder and,\n* to count pdf files in 'vignettes' and compare to number of Rmd files.\n\nThe flake8 configuration file is stored in this package, see\n\njrpytests/flake8\\_config.ini.\n\n## Basic usage\n\nImport the package using\n\n`import jrpytests`.\n\nRun pytest\n\n`jrpytests.runpytests()`.\n\nRun flake8 in python files\n\n`jrpytests.runflake8pythonfiles()`.\n\nRun flake8 in Rmd python chunks\n\n`jrpytests.runflake8rmdpychunks()`.\n\nCheck 'vignettes' and number of pdf files in it\n\n`jrpytests.checkvignettespdffiles()`.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.1.6",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88a2344f4ef314beea66e6a5d0a50d528bbda6f5861c9ee7a89c520b9229cddf",
                "md5": "d0b35b5005f494118554b80b5cb68791",
                "sha256": "b4a6a777af96986cb9f3b894deb4dbc6c9e49bfc87786d89e770b8d06b0eb36a"
            },
            "downloads": -1,
            "filename": "jrpytests-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d0b35b5005f494118554b80b5cb68791",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 6309,
            "upload_time": "2024-10-24T20:26:26",
            "upload_time_iso_8601": "2024-10-24T20:26:26.251119Z",
            "url": "https://files.pythonhosted.org/packages/88/a2/344f4ef314beea66e6a5d0a50d528bbda6f5861c9ee7a89c520b9229cddf/jrpytests-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92283df5da341914859b37f8e1e5c1f1756ba80e6c4294cae594ac5445f8eb0c",
                "md5": "fd607dc473f9bfc783ebcc89d34770ca",
                "sha256": "5dd4964a7e90e3ed18550cdf2b8fae02756f88cec5b70ca2ce88127efa257731"
            },
            "downloads": -1,
            "filename": "jrpytests-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "fd607dc473f9bfc783ebcc89d34770ca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 5102,
            "upload_time": "2024-10-24T20:26:27",
            "upload_time_iso_8601": "2024-10-24T20:26:27.109361Z",
            "url": "https://files.pythonhosted.org/packages/92/28/3df5da341914859b37f8e1e5c1f1756ba80e6c4294cae594ac5445f8eb0c/jrpytests-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-24 20:26:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "jrpytests"
}
        
Elapsed time: 0.45970s