wekalib


Namewekalib JSON
Version 1.5.0 PyPI version JSON
download
home_pagehttps://github.com/weka/wekalib
SummaryPython Weka JRPC-API utility library
upload_time2024-03-23 17:28:45
maintainerNone
docs_urlNone
authorVince Fleming
requires_pythonNone
licenseLGPLv2.1
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # wekalib

A group of Python modules that implement some handy interfaces to Weka Clusters.

class WekaCluster (wekacluster.py) - a high-level abstraction for a weka cluster.  WekaCluster.call_api() is the method for making API calls.  API calls are distributed across cluster backend hosts.  Error checking and retries automatically handled.

class WekaApi (wekaapi.py) - Low-level API calls to a single cluster backend host.  WekaApi.weka_api_command() is the method for making API calls to a particular backend host.

class simul_threads (sthreads.py) - manage threads (standard threading library threads).  Intended for short-duration threads that all run simultaneously.  Queue up many threads, set how many are to run simultaneously, then run all and wait for them.  If more threads are queued than the number it can run simultaneously, it will automatically start new threads as older ones finish.   simul_threads.run() method does not return until all threads are completed.   Useful for sending lots of API calls to the cluster in a batch.  Used by WekaCluster.

class circular_list (circular.py) - implement a circular linked list.

wekatime.py - a handful of functions that translate Weka 'd' timestamps to/from datetime objects and other formats.

class signal_handling (signals.py) - set up signal handlers commonly used. 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/weka/wekalib",
    "name": "wekalib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Vince Fleming",
    "author_email": "vince@weka.io",
    "download_url": "https://files.pythonhosted.org/packages/c9/04/0f0c6640282429ea37e7cb4b18c2690fc5cc56ffa772e113cd46d67048e9/wekalib-1.5.0.tar.gz",
    "platform": null,
    "description": "# wekalib\n\nA group of Python modules that implement some handy interfaces to Weka Clusters.\n\nclass WekaCluster (wekacluster.py) - a high-level abstraction for a weka cluster.  WekaCluster.call_api() is the method for making API calls.  API calls are distributed across cluster backend hosts.  Error checking and retries automatically handled.\n\nclass WekaApi (wekaapi.py) - Low-level API calls to a single cluster backend host.  WekaApi.weka_api_command() is the method for making API calls to a particular backend host.\n\nclass simul_threads (sthreads.py) - manage threads (standard threading library threads).  Intended for short-duration threads that all run simultaneously.  Queue up many threads, set how many are to run simultaneously, then run all and wait for them.  If more threads are queued than the number it can run simultaneously, it will automatically start new threads as older ones finish.   simul_threads.run() method does not return until all threads are completed.   Useful for sending lots of API calls to the cluster in a batch.  Used by WekaCluster.\n\nclass circular_list (circular.py) - implement a circular linked list.\n\nwekatime.py - a handful of functions that translate Weka 'd' timestamps to/from datetime objects and other formats.\n\nclass signal_handling (signals.py) - set up signal handlers commonly used. \n",
    "bugtrack_url": null,
    "license": "LGPLv2.1",
    "summary": "Python Weka JRPC-API utility library",
    "version": "1.5.0",
    "project_urls": {
        "Homepage": "https://github.com/weka/wekalib"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e28f3a48dedd4c37fa668e3f4e90cc248e7f3e7f86eda3938e9d24611002363e",
                "md5": "1e63335fea313697e92408588e5c84ed",
                "sha256": "4d64af90c82bae3181b836f521a6edbd2dfdeace561aca9e247be452c527788d"
            },
            "downloads": -1,
            "filename": "wekalib-1.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1e63335fea313697e92408588e5c84ed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 31372,
            "upload_time": "2024-03-23T17:28:43",
            "upload_time_iso_8601": "2024-03-23T17:28:43.679617Z",
            "url": "https://files.pythonhosted.org/packages/e2/8f/3a48dedd4c37fa668e3f4e90cc248e7f3e7f86eda3938e9d24611002363e/wekalib-1.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9040f0c6640282429ea37e7cb4b18c2690fc5cc56ffa772e113cd46d67048e9",
                "md5": "b4888073dd431bdd6c3c834f35a79344",
                "sha256": "937d4e71ae2a9eeffdb3f4780bb5b5c4d572bc743380edc505e9d9a51ed89db5"
            },
            "downloads": -1,
            "filename": "wekalib-1.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b4888073dd431bdd6c3c834f35a79344",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 47570,
            "upload_time": "2024-03-23T17:28:45",
            "upload_time_iso_8601": "2024-03-23T17:28:45.271459Z",
            "url": "https://files.pythonhosted.org/packages/c9/04/0f0c6640282429ea37e7cb4b18c2690fc5cc56ffa772e113cd46d67048e9/wekalib-1.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-23 17:28:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "weka",
    "github_project": "wekalib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wekalib"
}
        
Elapsed time: 0.21918s