{ "info": { "author": "Stefan Scherfke and Ontje L\u00c3\u00bcnsdorf", "author_email": "stefan at sofa-rockers.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "Collectors\r\n==========\r\n\r\n*Collectors* was initially developed to monitor \r\n`SimPy `_ simulation models but it can also be used to monitor any Python objects and collect data from them.\r\n\r\nOur main development goals were:\r\n\r\n* Ease of use (simple API, little typing)\r\n* Efficiency:\r\n\r\n * No impact on simulation speed if you don\u2019t use it.\r\n * As little impact as possible if you use it.\r\n\r\n* Flexibility and easy extensibility\r\n* Separation of data collection and data analysis\r\n\r\nSimple usage example\r\n--------------------\r\n\r\n >>> class Spam(object):\r\n ... a = 1\r\n ... b = 2\r\n ...\r\n >>> spam = Spam()\r\n >>>\r\n >>> # Create and configure the collector\r\n >>> col = Collector(\r\n ... ('a', lambda: spam.a),\r\n ... ('b', lambda: self.b)\r\n ... )\r\n >>>\r\n >>> # Collect all monitored variables (spam.a and spam.b)\r\n >>> col()\r\n >>> spam.a, spam.b = 3, 4\r\n >>> col()\r\n >>>\r\n >>> # Get the collector\u2019s data\r\n >>> col\r\n ([1, 3], [2, 4])\r\n >>> # You can also access it's elements by their name ...\r\n >>> col.a\r\n [1, 3]\r\n >>> # ... or by their index\r\n >>> col[1]\r\n [2, 4]\r\n\r\n\r\nRequirements\r\n------------\r\n\r\n*Collectors* has only been tested with *Python 2.6* but older versions should\r\nalso work. *Python 3.0* might also work; if not, we\u2019ll put it on our schedule.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nThe easiest way to install *Collectors* is via \r\n`PIP `_ or \r\n`distribute `_::\r\n\r\n pip install Collectors\r\n \r\nor ::\r\n\r\n easy_install Collectors\r\n\r\nIf you downloaded the archive, execute::\r\n\r\n python setup.py install\r\n \r\nAnd finally, if you checked out the repository and always want to use the newest \r\nversion, type::\r\n\r\n pip install -e path/to/Collectors\r\n \r\nor ::\r\n\r\n pip install -e https+hg://bitbucket.org/sscherfke/collectors/\r\n \r\n\r\nUsage\r\n-----\r\n\r\nThe Documentation can be found in the *docs/* directory or\r\n`online `_.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sscherfke/collectors/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "Collectors", "package_url": "https://pypi.org/project/Collectors/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Collectors/", "project_urls": { "Homepage": "https://bitbucket.org/sscherfke/collectors/" }, "release_url": "https://pypi.org/project/Collectors/1.0/", "requires_dist": null, "requires_python": null, "summary": "Monitor your (SimPy) simulation models or other objects and collect data from them.", "version": "1.0" }, "last_serial": 1985617, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3e8ec78215ed4c1ced7e3cc1800792cf", "sha256": "8e1acd7606e6f4d677c20dc19fb5aa341b6a744a2a645f4c6397d288b02d85b0" }, "downloads": -1, "filename": "Collectors-0.1.tar.gz", "has_sig": false, "md5_digest": "3e8ec78215ed4c1ced7e3cc1800792cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6254, "upload_time": "2010-03-17T21:27:35", "url": "https://files.pythonhosted.org/packages/52/e3/524a82199b4cda3ba08e12054833095ad2d1b20556bb75860a6dfd37ca17/Collectors-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "e78b210800b659116f05b043a6a60658", "sha256": "91f1136710c3e5d082ecb3b80cffcd117fafea8631a20220880596c6b1436306" }, "downloads": -1, "filename": "Collectors-1.0.tar.gz", "has_sig": false, "md5_digest": "e78b210800b659116f05b043a6a60658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 533097, "upload_time": "2010-06-24T19:51:30", "url": "https://files.pythonhosted.org/packages/12/22/0aa159be8b69025561375149c89d85f7e45be1d56e5b18c3c5a09cf8f5c8/Collectors-1.0.tar.gz" } ], "1.0-rc1": [ { "comment_text": "", "digests": { "md5": "2a5d98d584f21d41c17ef4409b99ff08", "sha256": "063eb479149ecce24dd859e62ee608b8ed490334b429866cc50cbd0458958a54" }, "downloads": -1, "filename": "Collectors-1.0-rc1.tar.gz", "has_sig": false, "md5_digest": "2a5d98d584f21d41c17ef4409b99ff08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 320215, "upload_time": "2010-04-02T22:47:22", "url": "https://files.pythonhosted.org/packages/b4/0c/c93b510ab0be6dec2a9ef19c77700cd4f39788557fa9f4b932fadc36e464/Collectors-1.0-rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e78b210800b659116f05b043a6a60658", "sha256": "91f1136710c3e5d082ecb3b80cffcd117fafea8631a20220880596c6b1436306" }, "downloads": -1, "filename": "Collectors-1.0.tar.gz", "has_sig": false, "md5_digest": "e78b210800b659116f05b043a6a60658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 533097, "upload_time": "2010-06-24T19:51:30", "url": "https://files.pythonhosted.org/packages/12/22/0aa159be8b69025561375149c89d85f7e45be1d56e5b18c3c5a09cf8f5c8/Collectors-1.0.tar.gz" } ] }