pypipa


Namepypipa JSON
Version 0.0.6 PyPI version JSON
download
home_pageNone
SummaryPlatform Integrated Performance Analytics, PIPA
upload_time2024-06-22 13:15:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords analytics integrated observability performance pipa platform
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PIPA

PIPA (Platform Integrated Performance Analytics) is a platform that aggregates a complete toolchain of performance data collection, processing, and analysis.

<img src="asset/logo.png" width="200" height="200">

PIPA (枇杷, loquat) is a local fruit of Zhejiang, China.
PIPA consists of three parts: loquat tree, flower and fruit, which represent the collecting & processing, analysis and conclusion of performance data respectively.

PIPA is still in the active development process, and the current development focus is on the loquat tree.

## Features

- **Data Collecting**: PIPA can collect data from a variety of sources, using tools like perf, sar, and more. It supports multiple platforms including x86_64, ARM, and RISC-V, making it versatile and adaptable. Currently PIPA is capable of collecting and parsing perf and sar data, providing detailed performance metrics.
- **Script Generation**: To reduce the noise generated by the Python runtime, PIPA can generate scripts that collect performance data. 
- **Data Processing**: PIPA can process the collected performance data, including alignment and segmentation, to serve meaningful analysis.
- **Data Visualization**: PIPA can visualize based on the performance data collected to provide intuitive insights.
- **Data Analytics**: PIPA will integrate SPAIL's performance methodology and models to provide meaningful analysis and reveal software and hardware bottlenecks.

## Installation

PIPA can be easily installed using pip:

```sh
pip install PyPIPA
```


## Quickstart

After installation, you can start using PIPA to collect, integrate, and analyze your data. 

To generate a script that collect performance data, you only need to use:

```sh
pipa generate
```
Then you can complete the interaction through the CLI to provide the necessary parameters. You can choose to start the workload with perf, or you can choose to observe the system directly.

Or you can use python interface:

```py
from pipa.service.run import run_and_collect_all

sar_df_list, perf_stat_df, perf_script_df = run_and_collect_all(
        "perf bench futex hash"
)
```

## Build

To build PIPA, you can use the `python` command with the `build` module:  `python -m build`, we use `hatchling` as the build backend.

## LICENSE

PIPA is distributed under the terms of the [MIT License](LICENSE).


## Contributing

Contributions to PIPA are always welcome. Whether it's feature enhancements, bug fixes, or documentation, your contributions are greatly appreciated.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pypipa",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "analytics, integrated, observability, performance, pipa, platform",
    "author": null,
    "author_email": "Benard Jiang <bernardjiang5@outlook.com>",
    "download_url": "https://files.pythonhosted.org/packages/31/f1/dbb3c336ad0505ab5fd04214c3a649696f1d57119568f2d596feaf96366e/pypipa-0.0.6.tar.gz",
    "platform": null,
    "description": "# PIPA\n\nPIPA (Platform Integrated Performance Analytics) is a platform that aggregates a complete toolchain of performance data collection, processing, and analysis.\n\n<img src=\"asset/logo.png\" width=\"200\" height=\"200\">\n\nPIPA (\u6787\u6777, loquat) is a local fruit of Zhejiang, China.\nPIPA consists of three parts: loquat tree, flower and fruit, which represent the collecting & processing, analysis and conclusion of performance data respectively.\n\nPIPA is still in the active development process, and the current development focus is on the loquat tree.\n\n## Features\n\n- **Data Collecting**: PIPA can collect data from a variety of sources, using tools like perf, sar, and more. It supports multiple platforms including x86_64, ARM, and RISC-V, making it versatile and adaptable. Currently PIPA is capable of collecting and parsing perf and sar data, providing detailed performance metrics.\n- **Script Generation**: To reduce the noise generated by the Python runtime, PIPA can generate scripts that collect performance data. \n- **Data Processing**: PIPA can process the collected performance data, including alignment and segmentation, to serve meaningful analysis.\n- **Data Visualization**: PIPA can visualize based on the performance data collected to provide intuitive insights.\n- **Data Analytics**: PIPA will integrate SPAIL's performance methodology and models to provide meaningful analysis and reveal software and hardware bottlenecks.\n\n## Installation\n\nPIPA can be easily installed using pip:\n\n```sh\npip install PyPIPA\n```\n\n\n## Quickstart\n\nAfter installation, you can start using PIPA to collect, integrate, and analyze your data. \n\nTo generate a script that collect performance data, you only need to use:\n\n```sh\npipa generate\n```\nThen you can complete the interaction through the CLI to provide the necessary parameters. You can choose to start the workload with perf, or you can choose to observe the system directly.\n\nOr you can use python interface:\n\n```py\nfrom pipa.service.run import run_and_collect_all\n\nsar_df_list, perf_stat_df, perf_script_df = run_and_collect_all(\n        \"perf bench futex hash\"\n)\n```\n\n## Build\n\nTo build PIPA, you can use the `python` command with the `build` module:  `python -m build`, we use `hatchling` as the build backend.\n\n## LICENSE\n\nPIPA is distributed under the terms of the [MIT License](LICENSE).\n\n\n## Contributing\n\nContributions to PIPA are always welcome. Whether it's feature enhancements, bug fixes, or documentation, your contributions are greatly appreciated.",
    "bugtrack_url": null,
    "license": null,
    "summary": "Platform Integrated Performance Analytics, PIPA",
    "version": "0.0.6",
    "project_urls": {
        "Documentation": "https://github.com/ZJU-SPAIL/pipa#readme",
        "Issues": "https://github.com/ZJU-SPAIL/pipa/issues",
        "Source": "https://github.com/ZJU-SPAIL/pipa"
    },
    "split_keywords": [
        "analytics",
        " integrated",
        " observability",
        " performance",
        " pipa",
        " platform"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c92409f8a21e64f2fd02c5a07c391e859beafe6a62f2ee9a61ba2319677111db",
                "md5": "00156104c9547e3c5081c5e7a6047bbc",
                "sha256": "bff92143de65310512d59d45c5d382d2f2b6ec48cd57978ba17c943a8957b11a"
            },
            "downloads": -1,
            "filename": "pypipa-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00156104c9547e3c5081c5e7a6047bbc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 22746,
            "upload_time": "2024-06-22T13:15:45",
            "upload_time_iso_8601": "2024-06-22T13:15:45.511037Z",
            "url": "https://files.pythonhosted.org/packages/c9/24/09f8a21e64f2fd02c5a07c391e859beafe6a62f2ee9a61ba2319677111db/pypipa-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31f1dbb3c336ad0505ab5fd04214c3a649696f1d57119568f2d596feaf96366e",
                "md5": "d73eef6ddec1cef1cacf39e3c63e398e",
                "sha256": "4cca6454dcf681e889ad525071cde954e0ad449134baca716bf5d5666931870e"
            },
            "downloads": -1,
            "filename": "pypipa-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "d73eef6ddec1cef1cacf39e3c63e398e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 1513705,
            "upload_time": "2024-06-22T13:15:48",
            "upload_time_iso_8601": "2024-06-22T13:15:48.857189Z",
            "url": "https://files.pythonhosted.org/packages/31/f1/dbb3c336ad0505ab5fd04214c3a649696f1d57119568f2d596feaf96366e/pypipa-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-22 13:15:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ZJU-SPAIL",
    "github_project": "pipa#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pypipa"
}
        
Elapsed time: 0.27117s