manufacturing


Namemanufacturing JSON
Version 1.3.12 PyPI version JSON
download
home_page
SummarySix-Sigma based analysis of manufacturing data
upload_time2023-11-28 19:21:15
maintainer
docs_urlNone
authorJason R. Jones
requires_python>=3.9,<3.12
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Purpose

To provide analysis tools and metrics useful in manufacturing environments.

Go to the [documentation](https://slightlynybbled.github.io/manufacturing/index.html).

# Project Maturity

Plots and project are reasonably mature at this point.  Calculations have been refined
and are in-line with commonly accepted standards.

A major v2.0 update is coming to control charts and will be available shortly in 
`manufacturing.alt_vis` module.  For instance, instead of using `from manufacturing import x_mr_chart`,
you would use `from manufacturing.alt_vis import x_mr_chart`.  The new API should
allow for a greater degree of flexibility with recalculation points and the ability
to relabel the axes.  Additionally, alternative axis labels will be able to be supplied.
These changes will eventually become "the way", but are to be considered experimental
until the v2.0 update.

# Installation

To install from `pypi`:

    $>pip install manufacturing

To install from source download and install using poetry:

    $>poetry install

# Building

    $>poetry update
    $>poetry build


# Usage

## Cpk Visualization

The most useful feature of the `manufacturing` package is the visualization of Cpk.
As hinted previously, the `ppk_plot()` function is the primary method for display of
Cpk visual information.  First, get your data into a `list`, `numpy.array`, or 
`pandas.Series`; then supply that data, along with the `lower_control_limit` and 
`upper_control_limit` into the `ppk_plot()` function.

    manufacturing.ppk_plot(data, lower_specification_limit=-2, upper_specification_limit=2)
    
![Screenshot](images/example3.png)

In this example, it appears that the manufacturing processes are not up to the task of 
making consistent product within the specified limits.

## Zone Control Visualization

Another useful feature is the zone control visualization.

    manufacturing.control_chart(data)

There are X-MR charts, Xbar-R charts, and Xbar-S charts available as well.  If you call the 
`control_chart()` function, the appropriate sample size will be selected and data grouped as
the dataset requires.  However, if you wish to call a specific type of control chart, use

 - `x_mr_chart`
 - `xbar_r_chart`
 - `xbar_s_chart`
 - `p_chart`

# Contributions

Contributions are welcome!  

## RoadMap

Items marked out were added most recently.

 - ...
 - ~~Add use github actions for deployment~~
 - ~~Transition to `poetry` for releases~~
 - ~~Add `I-MR Chart` (see `examples/imr_chart.py`)~~
 - ~~Add `Xbar-R Chart` (subgroups between 2 and 10)~~
 - ~~Add `Xbar-S Chart` (subgroups of 11 or more)~~
 - ~~Update documentation to reflect recent API changes~~
 - ~~Add `p chart`~~
 - Add `np chart`
 - Add `u chart`
 - Add `c chart`
 - Add automated testing (partially implemented)

# Gallery

![Ppk example](docs/_static/images/ppk_plot.png)

![Cpk example](docs/_static/images/cpk_plot.png)

![X-MR Chart](docs/_static/images/xmr_chart.png)

![Xbar-R Chart](docs/_static/images/xbarr_chart.png)

![Xbar-S Chart](docs/_static/images/xbars_chart.png)


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "manufacturing",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.12",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jason R. Jones",
    "author_email": "slightlynybbled@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/84/7d/56da2cebb8b44ceb6931da9511d7dcf3ec6a8539281b9e3c5832d31f9bc1/manufacturing-1.3.12.tar.gz",
    "platform": null,
    "description": "# Purpose\n\nTo provide analysis tools and metrics useful in manufacturing environments.\n\nGo to the [documentation](https://slightlynybbled.github.io/manufacturing/index.html).\n\n# Project Maturity\n\nPlots and project are reasonably mature at this point.  Calculations have been refined\nand are in-line with commonly accepted standards.\n\nA major v2.0 update is coming to control charts and will be available shortly in \n`manufacturing.alt_vis` module.  For instance, instead of using `from manufacturing import x_mr_chart`,\nyou would use `from manufacturing.alt_vis import x_mr_chart`.  The new API should\nallow for a greater degree of flexibility with recalculation points and the ability\nto relabel the axes.  Additionally, alternative axis labels will be able to be supplied.\nThese changes will eventually become \"the way\", but are to be considered experimental\nuntil the v2.0 update.\n\n# Installation\n\nTo install from `pypi`:\n\n    $>pip install manufacturing\n\nTo install from source download and install using poetry:\n\n    $>poetry install\n\n# Building\n\n    $>poetry update\n    $>poetry build\n\n\n# Usage\n\n## Cpk Visualization\n\nThe most useful feature of the `manufacturing` package is the visualization of Cpk.\nAs hinted previously, the `ppk_plot()` function is the primary method for display of\nCpk visual information.  First, get your data into a `list`, `numpy.array`, or \n`pandas.Series`; then supply that data, along with the `lower_control_limit` and \n`upper_control_limit` into the `ppk_plot()` function.\n\n    manufacturing.ppk_plot(data, lower_specification_limit=-2, upper_specification_limit=2)\n    \n![Screenshot](images/example3.png)\n\nIn this example, it appears that the manufacturing processes are not up to the task of \nmaking consistent product within the specified limits.\n\n## Zone Control Visualization\n\nAnother useful feature is the zone control visualization.\n\n    manufacturing.control_chart(data)\n\nThere are X-MR charts, Xbar-R charts, and Xbar-S charts available as well.  If you call the \n`control_chart()` function, the appropriate sample size will be selected and data grouped as\nthe dataset requires.  However, if you wish to call a specific type of control chart, use\n\n - `x_mr_chart`\n - `xbar_r_chart`\n - `xbar_s_chart`\n - `p_chart`\n\n# Contributions\n\nContributions are welcome!  \n\n## RoadMap\n\nItems marked out were added most recently.\n\n - ...\n - ~~Add use github actions for deployment~~\n - ~~Transition to `poetry` for releases~~\n - ~~Add `I-MR Chart` (see `examples/imr_chart.py`)~~\n - ~~Add `Xbar-R Chart` (subgroups between 2 and 10)~~\n - ~~Add `Xbar-S Chart` (subgroups of 11 or more)~~\n - ~~Update documentation to reflect recent API changes~~\n - ~~Add `p chart`~~\n - Add `np chart`\n - Add `u chart`\n - Add `c chart`\n - Add automated testing (partially implemented)\n\n# Gallery\n\n![Ppk example](docs/_static/images/ppk_plot.png)\n\n![Cpk example](docs/_static/images/cpk_plot.png)\n\n![X-MR Chart](docs/_static/images/xmr_chart.png)\n\n![Xbar-R Chart](docs/_static/images/xbarr_chart.png)\n\n![Xbar-S Chart](docs/_static/images/xbars_chart.png)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Six-Sigma based analysis of manufacturing data",
    "version": "1.3.12",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17aa66d6a2e64c5d759599dd23923756b55072430b64eaaf9063a8e82f44d4a7",
                "md5": "d150bfe1abc3b9ca716f6b120105ede4",
                "sha256": "4e4794abb6b3c5013eaab105f70f8ac425c7666757c4f1f4897ae1fa753d26c0"
            },
            "downloads": -1,
            "filename": "manufacturing-1.3.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d150bfe1abc3b9ca716f6b120105ede4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.12",
            "size": 25305,
            "upload_time": "2023-11-28T19:21:13",
            "upload_time_iso_8601": "2023-11-28T19:21:13.700644Z",
            "url": "https://files.pythonhosted.org/packages/17/aa/66d6a2e64c5d759599dd23923756b55072430b64eaaf9063a8e82f44d4a7/manufacturing-1.3.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "847d56da2cebb8b44ceb6931da9511d7dcf3ec6a8539281b9e3c5832d31f9bc1",
                "md5": "bee4b06aa4fa54641fa8f6ade6ed25b4",
                "sha256": "14fabf1bd1257a81f773ac04951282a30fcdf933e3a5853b42bee34479a1720c"
            },
            "downloads": -1,
            "filename": "manufacturing-1.3.12.tar.gz",
            "has_sig": false,
            "md5_digest": "bee4b06aa4fa54641fa8f6ade6ed25b4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.12",
            "size": 22064,
            "upload_time": "2023-11-28T19:21:15",
            "upload_time_iso_8601": "2023-11-28T19:21:15.959944Z",
            "url": "https://files.pythonhosted.org/packages/84/7d/56da2cebb8b44ceb6931da9511d7dcf3ec6a8539281b9e3c5832d31f9bc1/manufacturing-1.3.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-28 19:21:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "manufacturing"
}
        
Elapsed time: 0.14831s