pyarchappl


Namepyarchappl JSON
Version 0.10.5 PyPI version JSON
download
home_pagehttps://github.com/archman/pyarchappl
SummaryPython interface to Archiver Appliance
upload_time2023-06-15 20:36:36
maintainer
docs_urlNone
authorTong Zhang
requires_python
licenseGPL3+
keywords archiver epics ca pva
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyArchAppl

Python client for [Archiver Appliance](https://slacmshankar.github.io/epicsarchiver_docs/index.html).

# Installation

`pip install pyarchappl [--upgrade]`

# User Guide

Command line tool ``pyarchappl-get`` is the best tool that could be used for
data retrieval, read the usage help message by `-h` option.

# Development

## [Optional] Set up Archiver Appliance testing environment

## Data Retrieval Client
```Python
from archappl.client import ArchiverDataClient
import matplotlib.pyplot as plt


plt.style.use('ggplot')

client = ArchiverDataClient()
client.url = 'http://127.0.0.1:17665'  # default url, optional.

pv = 'TST:gaussianNoise'
data = client.get_data(pv)

data.plot()
plt.show()
```
![](tests/data_plot1.png?raw=true)

### Data (PV) Management Client
```Python
from archappl.client import ArchiverMgmtClient


client = ArchiverMgmtClient()
client.url = 'http://127.0.0.1:17665'

all_pvs = client.get_all_pvs()
print(all_pvs)
# [u'TST:fakeGaussianNoise', u'TST:gaussianNoise', u'TST:uniformNoise']
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/archman/pyarchappl",
    "name": "pyarchappl",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Archiver EPICS CA PVA",
    "author": "Tong Zhang",
    "author_email": "zhangt@frib.msu.edu",
    "download_url": "",
    "platform": null,
    "description": "# PyArchAppl\n\nPython client for [Archiver Appliance](https://slacmshankar.github.io/epicsarchiver_docs/index.html).\n\n# Installation\n\n`pip install pyarchappl [--upgrade]`\n\n# User Guide\n\nCommand line tool ``pyarchappl-get`` is the best tool that could be used for\ndata retrieval, read the usage help message by `-h` option.\n\n# Development\n\n## [Optional] Set up Archiver Appliance testing environment\n\n## Data Retrieval Client\n```Python\nfrom archappl.client import ArchiverDataClient\nimport matplotlib.pyplot as plt\n\n\nplt.style.use('ggplot')\n\nclient = ArchiverDataClient()\nclient.url = 'http://127.0.0.1:17665'  # default url, optional.\n\npv = 'TST:gaussianNoise'\ndata = client.get_data(pv)\n\ndata.plot()\nplt.show()\n```\n![](tests/data_plot1.png?raw=true)\n\n### Data (PV) Management Client\n```Python\nfrom archappl.client import ArchiverMgmtClient\n\n\nclient = ArchiverMgmtClient()\nclient.url = 'http://127.0.0.1:17665'\n\nall_pvs = client.get_all_pvs()\nprint(all_pvs)\n# [u'TST:fakeGaussianNoise', u'TST:gaussianNoise', u'TST:uniformNoise']\n```\n\n\n",
    "bugtrack_url": null,
    "license": "GPL3+",
    "summary": "Python interface to Archiver Appliance",
    "version": "0.10.5",
    "project_urls": {
        "Homepage": "https://github.com/archman/pyarchappl"
    },
    "split_keywords": [
        "archiver",
        "epics",
        "ca",
        "pva"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a04a65178be74b43c61de7ef0e8c5795159a7d016a8656baee13c963e668761a",
                "md5": "45a7cc8783fc96d44e80f698cdfbdb45",
                "sha256": "618ca5757d3cc1fef7a8dbbbe1cd26ba708f64cb2b67f125f3ecebb4a7a7c003"
            },
            "downloads": -1,
            "filename": "pyarchappl-0.10.5-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "45a7cc8783fc96d44e80f698cdfbdb45",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 37244,
            "upload_time": "2023-06-15T20:36:36",
            "upload_time_iso_8601": "2023-06-15T20:36:36.079711Z",
            "url": "https://files.pythonhosted.org/packages/a0/4a/65178be74b43c61de7ef0e8c5795159a7d016a8656baee13c963e668761a/pyarchappl-0.10.5-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-15 20:36:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "archman",
    "github_project": "pyarchappl",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pyarchappl"
}
        
Elapsed time: 0.07549s