geopmdpy


Namegeopmdpy JSON
Version 3.1.0 PyPI version JSON
download
home_pageNone
SummaryGEOPM - Global Extensible Open Power Manager Daemon
upload_time2024-05-29 18:49:30
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseCopyright (c) 2015 - 2024 Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords service hardware telemetry configuration
VCS
bugtrack_url
requirements setuptools_scm build
Travis-CI No Travis.
coveralls test coverage No coveralls.
            geopmdpy
========
This directory contains source code for the `geopmdpy` Python package, which
provides python bindings for `libgeopmd`, as well as the `geopmd` daemon,
`geopmaccess` tool for administrators, and the `geopmsession` tool for end
users.

Subdirectories include:

* [debian](debian): Configuration files for debian packaging scripts
* [geopmdpy](geopmdpy): Source code for modules in this package
* [test](test): Test code for this package

Set Up a Development Environment
--------------------------------
Run `pip install .` to install this package. Optionally use the `-e`
installation option to install in editable mode (so you don't need to reinstall
between updating python source code and re-running tests). The install command
will also install the python execution-time dependencies of this package.

Also run `pip install -f requirements.txt` to install additional development
dependencies. If you follow these steps, then you do not need to modify your
`PYTHONPATH` variable when executing tests.

The `geopmdpy` package wraps `libgeopmd`. Be sure to follow the build
instructions in the directory for that library as part of setting up a geopmdpy
development environment. Either install that builds somewhere on your path, or
manually add it to your `LD_LIBRARY_PATH` (examples in the next section).

Executing Tests
---------------
Run `LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/../libgeopmd/.libs" python3 test`
from this directory to launch the entire test suite. Some of the tests depend
on `libgeopmd`, so it should be built before running tests.  Alternatively, run
`LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/../libgeopmd/.libs" python3 -m unittest discover -p 'Test*.py'`

Execute a single test case with
`LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/../libgeopm/.libs" python -m unittest <one.or.more.test.modules.or.classes.or.functions>`.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "geopmdpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Christopher Cantalupo <christopher.m.cantalupo@intel.com>, Brad Geltz <brad.geltz@intel.com>",
    "keywords": "service, hardware, telemetry, configuration",
    "author": null,
    "author_email": "Christopher Cantalupo <christopher.m.cantalupo@intel.com>, Brad Geltz <brad.geltz@intel.com>",
    "download_url": "https://files.pythonhosted.org/packages/83/29/4c1b996533b70aa93c43193576a04add8f968650e265491108cdbec0373a/geopmdpy-3.1.0.tar.gz",
    "platform": null,
    "description": "geopmdpy\n========\nThis directory contains source code for the `geopmdpy` Python package, which\nprovides python bindings for `libgeopmd`, as well as the `geopmd` daemon,\n`geopmaccess` tool for administrators, and the `geopmsession` tool for end\nusers.\n\nSubdirectories include:\n\n* [debian](debian): Configuration files for debian packaging scripts\n* [geopmdpy](geopmdpy): Source code for modules in this package\n* [test](test): Test code for this package\n\nSet Up a Development Environment\n--------------------------------\nRun `pip install .` to install this package. Optionally use the `-e`\ninstallation option to install in editable mode (so you don't need to reinstall\nbetween updating python source code and re-running tests). The install command\nwill also install the python execution-time dependencies of this package.\n\nAlso run `pip install -f requirements.txt` to install additional development\ndependencies. If you follow these steps, then you do not need to modify your\n`PYTHONPATH` variable when executing tests.\n\nThe `geopmdpy` package wraps `libgeopmd`. Be sure to follow the build\ninstructions in the directory for that library as part of setting up a geopmdpy\ndevelopment environment. Either install that builds somewhere on your path, or\nmanually add it to your `LD_LIBRARY_PATH` (examples in the next section).\n\nExecuting Tests\n---------------\nRun `LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:$PWD/../libgeopmd/.libs\" python3 test`\nfrom this directory to launch the entire test suite. Some of the tests depend\non `libgeopmd`, so it should be built before running tests.  Alternatively, run\n`LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:$PWD/../libgeopmd/.libs\" python3 -m unittest discover -p 'Test*.py'`\n\nExecute a single test case with\n`LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:$PWD/../libgeopm/.libs\" python -m unittest <one.or.more.test.modules.or.classes.or.functions>`.\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2015 - 2024 Intel Corporation  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "GEOPM - Global Extensible Open Power Manager Daemon",
    "version": "3.1.0",
    "project_urls": {
        "Documentation": "https://geopm.github.io/geopmdpy.7.html",
        "Homepage": "https://geopm.github.io",
        "Source": "https://github.com/geopm/geopm/"
    },
    "split_keywords": [
        "service",
        " hardware",
        " telemetry",
        " configuration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26aba8296ac20254c76fe5f64778c7bac827de7324b4d5b521b00021964e69e4",
                "md5": "d54a737bbf1e088ddeab28b420933ea8",
                "sha256": "17a57d2c22b491a4974cc99ec10563fa13d418ab8e462f9ab8e5a11c42883aad"
            },
            "downloads": -1,
            "filename": "geopmdpy-3.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d54a737bbf1e088ddeab28b420933ea8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 55215,
            "upload_time": "2024-05-29T18:49:28",
            "upload_time_iso_8601": "2024-05-29T18:49:28.120540Z",
            "url": "https://files.pythonhosted.org/packages/26/ab/a8296ac20254c76fe5f64778c7bac827de7324b4d5b521b00021964e69e4/geopmdpy-3.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83294c1b996533b70aa93c43193576a04add8f968650e265491108cdbec0373a",
                "md5": "516fb740b2fa49b4102297db2c5d6e55",
                "sha256": "bedddf695b0da100ba050bf918c9e3eebc5102d44177ee11cef5c3bbb362be5e"
            },
            "downloads": -1,
            "filename": "geopmdpy-3.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "516fb740b2fa49b4102297db2c5d6e55",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 80679,
            "upload_time": "2024-05-29T18:49:30",
            "upload_time_iso_8601": "2024-05-29T18:49:30.043580Z",
            "url": "https://files.pythonhosted.org/packages/83/29/4c1b996533b70aa93c43193576a04add8f968650e265491108cdbec0373a/geopmdpy-3.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-29 18:49:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "geopm",
    "github_project": "geopm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "setuptools_scm",
            "specs": [
                [
                    ">=",
                    "6.4.2"
                ]
            ]
        },
        {
            "name": "build",
            "specs": [
                [
                    ">=",
                    "0.9.0"
                ]
            ]
        }
    ],
    "lcname": "geopmdpy"
}
        
Elapsed time: 2.46587s