rateLimitedQueues


NamerateLimitedQueues JSON
Version 0.0.3.post1 PyPI version JSON
download
home_pageNone
SummaryA well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.
upload_time2024-12-15 15:15:43
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords thread threaded task threaded task queue queues queued tasks
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rateLimitedQueues v0.0.3rev1

```pip install rateLimitedQueues --upgrade```


###### <br>A well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.

<br>To install: 
```
pip install rateLimitedQueues --upgrade
pip3 install rateLimitedQueues --upgrade
python -m pip install rateLimitedQueues --upgrade
python3 -m pip install rateLimitedQueues --upgrade
```


#### <br><br>Using this program is as simple as:
```
from rateLimitedQueues import RateLimitedQueues

rateLimiter = RateLimitedQueues()

def mainFunction(n, *args, **kwargs):
    sleep(1)
    print(args, kwargs)

def postFunction(*args, **kwargs):
    sleep(1)
    print(args, kwargs)

for i in range(10):
    rateLimiter.queueAction(mainFunction=mainFunction, executeMainInThread=True, executePostInThread=True, 
    postFunction=postFunction, postArgs=(i,), postKwArgs={i: i**2}, n=i)

```


###### <br>This project is always open to suggestions and feature requests.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rateLimitedQueues",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Bhindi <bhaskarpanja93@gmail.com>",
    "keywords": "thread, threaded, task, threaded task, queue, queues, queued tasks",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/39/9a/501156097c3a89ce9ee3fb96b06b65d9bc5e3e3b5506fc044c44c7aa555c/ratelimitedqueues-0.0.3.post1.tar.gz",
    "platform": null,
    "description": "# rateLimitedQueues v0.0.3rev1\n\n```pip install rateLimitedQueues --upgrade```\n\n\n###### <br>A well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.\n\n<br>To install: \n```\npip install rateLimitedQueues --upgrade\npip3 install rateLimitedQueues --upgrade\npython -m pip install rateLimitedQueues --upgrade\npython3 -m pip install rateLimitedQueues --upgrade\n```\n\n\n#### <br><br>Using this program is as simple as:\n```\nfrom rateLimitedQueues import RateLimitedQueues\n\nrateLimiter = RateLimitedQueues()\n\ndef mainFunction(n, *args, **kwargs):\n    sleep(1)\n    print(args, kwargs)\n\ndef postFunction(*args, **kwargs):\n    sleep(1)\n    print(args, kwargs)\n\nfor i in range(10):\n    rateLimiter.queueAction(mainFunction=mainFunction, executeMainInThread=True, executePostInThread=True, \n    postFunction=postFunction, postArgs=(i,), postKwArgs={i: i**2}, n=i)\n\n```\n\n\n###### <br>This project is always open to suggestions and feature requests.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A well maintained program to execute functions in queue as if only 1 worker is executing them one by one (High priority first). Works wonders when a series of time consuming tasks has to be performed but they need to be in sequence.",
    "version": "0.0.3.post1",
    "project_urls": {
        "Homepage": "https://github.com/BhaskarPanja93/rateLimitedQueues"
    },
    "split_keywords": [
        "thread",
        " threaded",
        " task",
        " threaded task",
        " queue",
        " queues",
        " queued tasks"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12f50da4b6a4da177b6b7e0a21fe26e3fcd272dd422c4558aecf0cac98652c2e",
                "md5": "8703d3f2039a704f8272d5a8963f739e",
                "sha256": "de3889fb303e20dcbcd09dbc01130f90d1b772972aca57d79ecf4fb5e1325ca6"
            },
            "downloads": -1,
            "filename": "rateLimitedQueues-0.0.3.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8703d3f2039a704f8272d5a8963f739e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3989,
            "upload_time": "2024-12-15T15:15:41",
            "upload_time_iso_8601": "2024-12-15T15:15:41.430246Z",
            "url": "https://files.pythonhosted.org/packages/12/f5/0da4b6a4da177b6b7e0a21fe26e3fcd272dd422c4558aecf0cac98652c2e/rateLimitedQueues-0.0.3.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "399a501156097c3a89ce9ee3fb96b06b65d9bc5e3e3b5506fc044c44c7aa555c",
                "md5": "04e848cfd0d470b9fd80aad4671bc07b",
                "sha256": "708a5d641dfad8641dd842896946ed048430a627271f69449471cc1b280b1d65"
            },
            "downloads": -1,
            "filename": "ratelimitedqueues-0.0.3.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "04e848cfd0d470b9fd80aad4671bc07b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3704,
            "upload_time": "2024-12-15T15:15:43",
            "upload_time_iso_8601": "2024-12-15T15:15:43.626015Z",
            "url": "https://files.pythonhosted.org/packages/39/9a/501156097c3a89ce9ee3fb96b06b65d9bc5e3e3b5506fc044c44c7aa555c/ratelimitedqueues-0.0.3.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-15 15:15:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BhaskarPanja93",
    "github_project": "rateLimitedQueues",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ratelimitedqueues"
}
        
Elapsed time: 0.42602s