{ "info": { "author": "Ryan Hope", "author_email": "rmh3093@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python :: 2", "Topic :: Scientific/Engineering", "Topic :: Utilities" ], "description": "Installation\n============\n``pycogworks.logging`` can be installed with 'pip':\n::\n\n # pip install pycogworks.logging\n\nDocumentation\n=============\n\npycogworks.logging.getTime, pycogworks.logging.get_time\n-------------------------------------------------------\n\nReturns the most accurate timestamp possible for the current OS.\n::\n\n >>> getTime()\n 1348684524.934422\n >>> get_time()\n 1348684540.905437\n \npycogworks.logging.getDateTimeStamp\n-----------------------------------\n\nGenerates a date/time stamp usefull in logs and for log filenames.\n::\n\n >>> getDateTimeStamp()\n '2012-09-26_13-33-06'\n\npycogworks.logging.writeHistoryFile\n-----------------------------------\n\nTakes a ``dict`` of subject information and writes a history file.\nThe subject information dict must contain a field called 'rin' with a value that contains a valid 9 digit RIN.\nIf the subject information dict does not already contain an 'encrypted_rin' field, the RIN will be enrypted and\nadded to the subject information dict under the field 'encrypted_rin'. The subject information dict is then encoded \nas a JSON string and written to a file.\n::\n\n >>> writeHistoryFile(\"test.history\",{\"foo\":\"bar\",\"rin\":\"123456789\"})\n\n::\n \n # cat test.history\n {\n \"cipher\": \"AES/CBC (RIJNDAEL) - 16Byte Key\", \n \"encrypted_rin\": \"300fe9abdca99d4a32cb2c43f2a69c5c\", \n \"foo\": \"bar\", \n \"rin\": \"123456789\"\n }", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CogWorks/PyCogWorks", "keywords": null, "license": "GPL-3", "maintainer": null, "maintainer_email": null, "name": "pycogworks.logging", "package_url": "https://pypi.org/project/pycogworks.logging/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pycogworks.logging/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/CogWorks/PyCogWorks" }, "release_url": "https://pypi.org/project/pycogworks.logging/0.4.5/", "requires_dist": null, "requires_python": null, "summary": "Logging functions used in the CogWorks lab.", "version": "0.4.5" }, "last_serial": 797060, "releases": { "0.4.0": [ { "comment_text": "", "digests": { "md5": "bd5566b69143948bc769f9e654934e64", "sha256": "84af7cc8476625f46889b8b9395effe7e3ecbfc67bb2fa6a14050e94fcb3618a" }, "downloads": -1, "filename": "pycogworks.logging-0.4.0.tar.gz", "has_sig": false, "md5_digest": "bd5566b69143948bc769f9e654934e64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2732, "upload_time": "2012-11-07T18:30:19", "url": "https://files.pythonhosted.org/packages/21/6b/36a506619d42572102977b39e2d17ae833ae7a53ce4b30e59e7c2b12f16d/pycogworks.logging-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "6236ccbe1b490aa20521f5b11f20eb6d", "sha256": "4caf3cbed46a59090d76fbab14766363ae0ef429b6d249cccebb1940665d282d" }, "downloads": -1, "filename": "pycogworks.logging-0.4.1.tar.gz", "has_sig": false, "md5_digest": "6236ccbe1b490aa20521f5b11f20eb6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2967, "upload_time": "2012-11-08T15:51:36", "url": "https://files.pythonhosted.org/packages/72/5d/b5af5754c2ec1b4dd7f91792200b02c673feed94883d93c9197b161e138a/pycogworks.logging-0.4.1.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "be5e3b142e50f5bd8bd73dfae8393cc2", "sha256": "2ff00a1189c6b95494bf1b4fe468dda7b356b8afa8550d36ac7b1718da25bdcc" }, "downloads": -1, "filename": "pycogworks.logging-0.4.4.tar.gz", "has_sig": false, "md5_digest": "be5e3b142e50f5bd8bd73dfae8393cc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2966, "upload_time": "2012-11-11T04:10:21", "url": "https://files.pythonhosted.org/packages/0e/88/4733c86c0db1050907da23fd2e69ae4fb3bf51a49fb30eb3e5778fdf9d4a/pycogworks.logging-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "9c6309d54f1b881e807714d85ec611ab", "sha256": "060bafb91d9450006a20162f1ebe1d8af095137ac8ef16a353d62ffe511c7116" }, "downloads": -1, "filename": "pycogworks.logging-0.4.5.tar.gz", "has_sig": false, "md5_digest": "9c6309d54f1b881e807714d85ec611ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3062, "upload_time": "2012-11-12T00:28:10", "url": "https://files.pythonhosted.org/packages/4e/c6/aff44a2759bf480e5d762761c9dd9907d6d5f022c6d29f96010cc976b51c/pycogworks.logging-0.4.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c6309d54f1b881e807714d85ec611ab", "sha256": "060bafb91d9450006a20162f1ebe1d8af095137ac8ef16a353d62ffe511c7116" }, "downloads": -1, "filename": "pycogworks.logging-0.4.5.tar.gz", "has_sig": false, "md5_digest": "9c6309d54f1b881e807714d85ec611ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3062, "upload_time": "2012-11-12T00:28:10", "url": "https://files.pythonhosted.org/packages/4e/c6/aff44a2759bf480e5d762761c9dd9907d6d5f022c6d29f96010cc976b51c/pycogworks.logging-0.4.5.tar.gz" } ] }