{ "info": { "author": "Salvador Brandi", "author_email": "salbrandi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3 :: Only" ], "description": "A package for creating and enqueueing stressypy jobs\n====================================================\n\n``rqpop`` uses the python package ``stressypy`` to create a certain number of cpu-stressing jobs for a variably\ndistributed amount of time, the distribution type and seed being specified by the user.\nIt creates ``stressypy``'s ``JobBlock`` objects which contain pertinent information for queueing these test jobs to\ntest queueing algorithms by enqueueing a certain number of randomly 'sized' jobs, which simulates the real job influx\nof a webservice, for example. The jobs are enqueued with RQ (Redis Queue).\n\nJobBlocks:\n++++++++++\nrefer to https://github.com/salbrandi/stressypy#jobblock-attributes for documentation on JobBlock objects\n\n\nInstallation\n++++++++++++\n\n``rqpop`` can be installed with ``pip install rqpop`` and will auto-install all dependencies.\n\nAlternatively, it can be cloned manually from the url: https://github.com/salbrandi/rqpop.git\nor the tarfile can be downloaded from the url: https://github.com/salbrandi/rqpop/archive/0.1.tar.gz\nand setup with ``python setup.py install``\n\n| In order to run rqpop, you must have a REDIS server running and RQ ``rqworkers`` listening on the default queue:\n|\n| Documentation for quickly setting up a REDIS server can be found here: https://redis.io/topics/quickstart\n| Full REDIS documentaiton here: https://redis.io/documentation\n|\n| Documentation for RQ (Redis Queue) cna be found here: http://python-rq.org/\n| but for most users a worker can be started, listening on the default queue with simply the ``rqworker`` command.\n\nDirections\n++++++++++\n\n``rqpop`` runs using the command ``rqpop queue`` with the number of jobs desired and the max time allowed being passed as arguments.\n\nThe help page:\n\n| Usage: rqpop queue [OPTIONS] NUM_JOBS MAX_TIME\n|\n| Options:\n| --seed TEXT The seed to be internalized for the number distribution\n| --dist TEXT the distirbution to be used for psuedo-random generation\n| --mnc INTEGER the minimum number of cpus to be used, default 1\n| --mxc INTEGER maximum number of cores a job should be able to require,\n| default: maximum configured cores\n| --mnt INTEGER minimum amount of time the jobs should run for, default 1\n| --q TEXT the queue that the jobs should be enqueued to, default:\n| \"default\"\n| --help Show this message and exit.\n\n\n\nDistributions supported are:\n\n- Log Normal: ``normal`` - default\n- Box: ``box``\n- Spike/Dirac/Delta: ``spike``\n- Exponential/Power: ``power``\n\nExamples\n--------\n* ``rqpop queue 10 12 --seed 0 --distribution normal``:\n creates and enqueues 10 jobs normally distributed with seed 0 and a max time of 12 seconds\n\n\n* ``rqpop queue 21456 --seed 1023041 --distribution power --mnc 2 --mxc 10 -q high``:\n creates and enqueues 21, 456 jobs exponentially distributed with seed 1023041, min cores 2, max cores 10 on the queue 'high\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/salbrandi/rqpop/archive/0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/salbrandi/rqpop", "keywords": "rq queue distribution scipy tetris-queue tetris test loads populate population job enqueue backfill", "license": "", "maintainer": "", "maintainer_email": "", "name": "rqpop", "package_url": "https://pypi.org/project/rqpop/", "platform": "", "project_url": "https://pypi.org/project/rqpop/", "project_urls": { "Download": "https://github.com/salbrandi/rqpop/archive/0.1.tar.gz", "Homepage": "https://github.com/salbrandi/rqpop" }, "release_url": "https://pypi.org/project/rqpop/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A package to enqueue a variable number of jobs with variably distributed TIME x CPU \"areas\"", "version": "0.0.3" }, "last_serial": 3118033, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d4a7ec99392f553b1676935641869acd", "sha256": "4d4961cc5a590a6a3899c1efffff58872172eae749979365b898adcb3a514752" }, "downloads": -1, "filename": "rqpop-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d4a7ec99392f553b1676935641869acd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4668, "upload_time": "2017-08-22T18:10:03", "url": "https://files.pythonhosted.org/packages/a1/9d/cb93b53df95c543256f62fe09ba59b37d128339d8902cea9760ca10e922f/rqpop-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d7d66f42d7bd8933c18d4577c4e686d5", "sha256": "06a11e3fa9573a2d226163904f65aaef069ed1329cd689748d50dbe5e30978e5" }, "downloads": -1, "filename": "rqpop-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d7d66f42d7bd8933c18d4577c4e686d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4781, "upload_time": "2017-08-23T15:36:54", "url": "https://files.pythonhosted.org/packages/6f/cc/7e8d3f5cf4609c5d62b929f47d68cfe05559de1f803f42a8eeee26e3b4d6/rqpop-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "5d6696b46d6e2d2cf9e02d7d1270fa2e", "sha256": "74b2f1ecb596ec48a874ce8a5eace875ba5609c45d75f9a45006f4aa981a94c5" }, "downloads": -1, "filename": "rqpop-0.0.3.tar.gz", "has_sig": false, "md5_digest": "5d6696b46d6e2d2cf9e02d7d1270fa2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4819, "upload_time": "2017-08-23T16:47:45", "url": "https://files.pythonhosted.org/packages/76/85/8889b1f5c3eeda7a5f59da202f99e6e0a65caeb4f9496438e307e9318083/rqpop-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5d6696b46d6e2d2cf9e02d7d1270fa2e", "sha256": "74b2f1ecb596ec48a874ce8a5eace875ba5609c45d75f9a45006f4aa981a94c5" }, "downloads": -1, "filename": "rqpop-0.0.3.tar.gz", "has_sig": false, "md5_digest": "5d6696b46d6e2d2cf9e02d7d1270fa2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4819, "upload_time": "2017-08-23T16:47:45", "url": "https://files.pythonhosted.org/packages/76/85/8889b1f5c3eeda7a5f59da202f99e6e0a65caeb4f9496438e307e9318083/rqpop-0.0.3.tar.gz" } ] }