# kaplanmeier
[](https://img.shields.io/pypi/pyversions/kaplanmeier)
[](https://pypi.org/project/kaplanmeier/)
[](https://github.com/erdogant/kaplanmeier/blob/master/LICENSE)
[](https://github.com/erdogant/kaplanmeier/network)
[](https://github.com/erdogant/kaplanmeier/issues)
[](http://www.repostatus.org/#active)
[](https://pepy.tech/project/kaplanmeier/)
[](https://pepy.tech/project/kaplanmeier)
[](https://erdogant.github.io/kaplanmeier/)
<!---[](https://www.buymeacoffee.com/erdogant)-->
<!---[](https://erdogant.github.io/donate/?currency=USD&amount=5)-->
``kaplanmeier`` is a Python package to compute the kaplan meier curves, log-rank test, and make the plots.
#
**⭐️ Star this repo if you like it ⭐️**
#
#### Install kaplanmeier from PyPI
```bash
pip install kaplanmeier
```
#### Import kaplanmeier package
```python
import kaplanmeier as km
```
#
### [Documentation pages](https://erdogant.github.io/kaplanmeier/)
On the [documentation pages](https://erdogant.github.io/kaplanmeier/) you can find detailed information about the working of the ``kaplanmeier`` with many examples.
<hr>
### Examples
#
* [Example: Create Kaplan meier plot](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html)
<p align="left">
<a href="https://erdogant.github.io/kaplanmeier/pages/html/Examples.html">
<img src="https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig2.png" width="600" />
</a>
</p>
#
* [Example: Remove the Confidence intervals from plot](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#custom-colormap)
<p align="left">
<a href="https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#custom-colormap">
<img src="https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig1.png" width="600" />
</a>
</p>
#
* [Example: Change colormap and confidence intervals the confidence interval](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#change-colormap-and-confidence-intervals)
<p align="left">
<a href="https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#change-colormap-and-confidence-intervals">
<img src="https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig3.png" width="600" />
</a>
</p>
#
* [Example: Use custom colormap](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#id1)
<p align="left">
<a href="https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#id1">
<img src="https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig4.png" width="600" />
</a>
</p>
<hr>
### Maintainer
* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)
* Contributions are welcome.
* If you wish to buy me a <a href="https://www.buymeacoffee.com/erdogant">Coffee</a> for this work, it is very appreciated :)
Raw data
{
"_id": null,
"home_page": "https://erdogant.github.io/kaplanmeier",
"name": "kaplanmeier",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": null,
"author": "Erdogan Taskesen",
"author_email": "erdogant@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/95/ec/f4732d8d086e2ce63429b32137d800da271537ff9147dbb9f52979bfe67a/kaplanmeier-0.2.0.tar.gz",
"platform": null,
"description": "# kaplanmeier\r\n\r\n[](https://img.shields.io/pypi/pyversions/kaplanmeier)\r\n[](https://pypi.org/project/kaplanmeier/)\r\n[](https://github.com/erdogant/kaplanmeier/blob/master/LICENSE)\r\n[](https://github.com/erdogant/kaplanmeier/network)\r\n[](https://github.com/erdogant/kaplanmeier/issues)\r\n[](http://www.repostatus.org/#active)\r\n[](https://pepy.tech/project/kaplanmeier/)\r\n[](https://pepy.tech/project/kaplanmeier)\r\n[](https://erdogant.github.io/kaplanmeier/)\r\n<!---[](https://www.buymeacoffee.com/erdogant)-->\r\n<!---[](https://erdogant.github.io/donate/?currency=USD&amount=5)-->\r\n\r\n``kaplanmeier`` is a Python package to compute the kaplan meier curves, log-rank test, and make the plots.\r\n\r\n\r\n# \r\n**\u2b50\ufe0f Star this repo if you like it \u2b50\ufe0f**\r\n#\r\n\r\n#### Install kaplanmeier from PyPI\r\n\r\n```bash\r\npip install kaplanmeier\r\n```\r\n\r\n#### Import kaplanmeier package\r\n\r\n```python\r\n\r\nimport kaplanmeier as km\r\n\r\n```\r\n# \r\n\r\n\r\n### [Documentation pages](https://erdogant.github.io/kaplanmeier/)\r\n\r\nOn the [documentation pages](https://erdogant.github.io/kaplanmeier/) you can find detailed information about the working of the ``kaplanmeier`` with many examples. \r\n\r\n<hr> \r\n\r\n### Examples\r\n\r\n# \r\n\r\n* [Example: Create Kaplan meier plot](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html)\r\n\r\n<p align=\"left\">\r\n <a href=\"https://erdogant.github.io/kaplanmeier/pages/html/Examples.html\">\r\n <img src=\"https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig2.png\" width=\"600\" />\r\n </a>\r\n</p>\r\n\r\n\r\n# \r\n\r\n* [Example: Remove the Confidence intervals from plot](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#custom-colormap)\r\n\r\n<p align=\"left\">\r\n <a href=\"https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#custom-colormap\">\r\n <img src=\"https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig1.png\" width=\"600\" />\r\n </a>\r\n</p>\r\n\r\n\r\n# \r\n\r\n* [Example: Change colormap and confidence intervals the confidence interval](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#change-colormap-and-confidence-intervals)\r\n\r\n<p align=\"left\">\r\n <a href=\"https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#change-colormap-and-confidence-intervals\">\r\n <img src=\"https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig3.png\" width=\"600\" />\r\n </a>\r\n</p>\r\n\r\n# \r\n\r\n* [Example: Use custom colormap](https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#id1)\r\n\r\n<p align=\"left\">\r\n <a href=\"https://erdogant.github.io/kaplanmeier/pages/html/Examples.html#id1\">\r\n <img src=\"https://github.com/erdogant/kaplanmeier/blob/master/docs/figs/fig4.png\" width=\"600\" />\r\n </a>\r\n</p>\r\n\r\n\r\n<hr>\r\n\r\n\r\n### Maintainer\r\n* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)\r\n* Contributions are welcome.\r\n* If you wish to buy me a <a href=\"https://www.buymeacoffee.com/erdogant\">Coffee</a> for this work, it is very appreciated :)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Create survival curves using kaplanmeier, the log-rank test and making plots.",
"version": "0.2.0",
"project_urls": {
"Download": "https://github.com/erdogant/kaplanmeier/archive/0.2.0.tar.gz",
"Homepage": "https://erdogant.github.io/kaplanmeier"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c4bc9bb4a574f31e4d155b706754084cf0890c4e5aa1d800aaa031e28df2b336",
"md5": "eecc6cc7ef5addb9e8660de42efeaaf5",
"sha256": "2cf36793d6346c780375c8e6c2c14081ae95b36a53a354f75bb6c4b8a44e12e6"
},
"downloads": -1,
"filename": "kaplanmeier-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eecc6cc7ef5addb9e8660de42efeaaf5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 10766,
"upload_time": "2024-06-23T18:29:30",
"upload_time_iso_8601": "2024-06-23T18:29:30.095362Z",
"url": "https://files.pythonhosted.org/packages/c4/bc/9bb4a574f31e4d155b706754084cf0890c4e5aa1d800aaa031e28df2b336/kaplanmeier-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "95ecf4732d8d086e2ce63429b32137d800da271537ff9147dbb9f52979bfe67a",
"md5": "ad23d61bdda4001132254bd6a141c733",
"sha256": "aad6e6b0851b3e63dad03e9895289fbe76d989b92a530ca998c392ad1352ff3a"
},
"downloads": -1,
"filename": "kaplanmeier-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "ad23d61bdda4001132254bd6a141c733",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 11055,
"upload_time": "2024-06-23T18:29:31",
"upload_time_iso_8601": "2024-06-23T18:29:31.955548Z",
"url": "https://files.pythonhosted.org/packages/95/ec/f4732d8d086e2ce63429b32137d800da271537ff9147dbb9f52979bfe67a/kaplanmeier-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-23 18:29:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "erdogant",
"github_project": "kaplanmeier",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "matplotlib",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "seaborn",
"specs": []
},
{
"name": "lifelines",
"specs": []
}
],
"lcname": "kaplanmeier"
}