{ "info": { "author": "Louis Paternault", "author_email": "spalax+python@gresille.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: System :: Logging" ], "description": "mklog \ud83d\udcc6 Convert any output into a log (date and time prepended to each line)\n=============================================================================\n\n|sources| |pypi| |documentation| |license|\n\n`mklog` is a python program that converts standard input, content of files, or\noutput of a command in a log-like format, i.e. current date and time is\nprepended to each line.\n\nRun `mklog --help` for the list of available options; see examples below.\n\nExample\n-------\n\nDownload using wget::\n\n $ mklog -c wget https://archive.org/download/Popeye_Nearlyweds/Popeye_Nearlyweds.ogv\n 2015-02-05 13:13:41 --2015-02-05 13:13:41-- http://t/\n 2015-02-05 13:13:41 R\u00e9solution de t (t)\u2026 \u00e9chec\u00a0: Nom ou service inconnu.\n 2015-02-05 13:13:41 wget\u00a0: impossible de r\u00e9soudre l'adresse de l'h\u00f4te \u00ab\u00a0t\u00a0\u00bb\n 2015-02-05 13:13:41 --2015-02-05 13:13:41-- https://archive.org/download/Popeye_Nearlyweds/Popeye_Nearlyweds.ogv\n 2015-02-05 13:13:41 R\u00e9solution de archive.org (archive.org)\u2026 207.241.224.2\n 2015-02-05 13:13:41 Connexion \u00e0 archive.org (archive.org)|207.241.224.2|:443\u2026 connect\u00e9.\n 2015-02-05 13:13:42 requ\u00eate HTTP transmise, en attente de la r\u00e9ponse\u2026 302 Moved Temporarily\n 2015-02-05 13:13:42 Emplacement\u00a0: https://ia700502.us.archive.org/6/items/Popeye_Nearlyweds/Popeye_Nearlyweds.ogv [suivant]\n 2015-02-05 13:13:42 --2015-02-05 13:13:42-- https://ia700502.us.archive.org/6/items/Popeye_Nearlyweds/Popeye_Nearlyweds.ogv\n 2015-02-05 13:13:42 R\u00e9solution de ia700502.us.archive.org (ia700502.us.archive.org)\u2026 207.241.237.122\n 2015-02-05 13:13:42 Connexion \u00e0 ia700502.us.archive.org (ia700502.us.archive.org)|207.241.237.122|:443\u2026 connect\u00e9.\n 2015-02-05 13:13:43 requ\u00eate HTTP transmise, en attente de la r\u00e9ponse\u2026 200 OK\n 2015-02-05 13:13:43 Taille\u00a0: 26698780 (25M) [video/ogg]\n 2015-02-05 13:13:43 Sauvegarde en\u00a0: \u00ab\u00a0Popeye_Nearlyweds.ogv\u00a0\u00bb\n 2015-02-05 13:13:43\n 2015-02-05 13:13:44 0K .......... .......... .......... .......... .......... 0% 126K 3m26s\n [...]\n 2015-02-05 13:14:18 26000K .......... .......... .......... .......... .......... 99% 541K 0s\n 2015-02-05 13:14:18 26050K .......... .......... ... 100% 5,80M=34s\n 2015-02-05 13:14:18\n 2015-02-05 13:14:18 2015-02-05 13:14:18 (762 KB/s) \u2014 \u00ab\u00a0Popeye_Nearlyweds.ogv\u00a0\u00bb sauvegard\u00e9 [26698780/26698780]\n 2015-02-05 13:14:18\n 2015-02-05 13:14:18 Termin\u00e9 \u2014\u00a02015-02-05 13:14:18\u00a0\u2014\n 2015-02-05 13:14:18 Temps total effectif\u00a0: 37s\n 2015-02-05 13:14:18 T\u00e9l\u00e9charg\u00e9s\u00a0: 1\u00a0fichiers, 25M en 34s (762 KB/s)\n\nMonitor logs (which are not dated)::\n\n $ tail -f /var/log/gdm3/\\:0.log | mklog\n\nWhat's new?\n-----------\n\nSee `changelog `_.\n\nDownload and install\n--------------------\n\nSee the end of list for a (quick and dirty) Debian package.\n\n* From sources:\n\n * Download: https://pypi.python.org/pypi/mklog\n * Install (in a `virtualenv`, not to mess with your distribution installation system)::\n\n python3 setup.py install\n\n* With pip::\n\n pip install mklog\n\n* Quick and dirty Debian (and Ubuntu?) package\n\n This requires `stdeb `_ to be installed::\n\n python3 setup.py --command-packages=stdeb.command bdist_deb\n sudo dpkg -i deb_dist/mklog-_all.deb\n\nSee also\n--------\n\nSee also (other program with the same purpose):\n\n* `ts `_\n\n.. |documentation| image:: http://readthedocs.org/projects/mklog/badge\n :target: http://mklog.readthedocs.io\n.. |pypi| image:: https://img.shields.io/pypi/v/mklog.svg\n :target: http://pypi.python.org/pypi/mklog\n.. |license| image:: https://img.shields.io/pypi/l/mklog.svg\n :target: http://www.gnu.org/licenses/gpl-3.0.html\n.. |sources| image:: https://img.shields.io/badge/sources-mklog-brightgreen.svg\n :target: http://git.framasoft.org/spalax/mklog\n.. |build| image:: https://git.framasoft.org/spalax/mklog/badges/master/build.svg\n :target: https://git.framasoft.org/spalax/mklog/builds\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://git.framasoft.org/spalax/mklog", "keywords": "log timestamp", "license": "GPLv3 or any later version", "maintainer": "", "maintainer_email": "", "name": "mklog", "package_url": "https://pypi.org/project/mklog/", "platform": "", "project_url": "https://pypi.org/project/mklog/", "project_urls": { "Homepage": "http://git.framasoft.org/spalax/mklog" }, "release_url": "https://pypi.org/project/mklog/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Append date and time before text", "version": "1.0.0" }, "last_serial": 3641613, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "64f2a7cae46f7c2718cd4c4a5ab3c5b2", "sha256": "a3d1d5b448e2ca1207cbbdf907a556ce937b76a23e903203f6a968a90e637246" }, "downloads": -1, "filename": "mklog-0.3.2.tar.gz", "has_sig": false, "md5_digest": "64f2a7cae46f7c2718cd4c4a5ab3c5b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20629, "upload_time": "2015-03-15T19:08:51", "url": "https://files.pythonhosted.org/packages/d7/44/13d7ad842209d75bd894ede196d95f495a22072ccc25a4b56ee5f98eb209/mklog-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "23c33ec92a0d27e91f499568e33b64b7", "sha256": "5b5f7cf13c893a00a66bbff92ad7e0ca89ab6e6a29aeac92c87c4fed65bf7f2c" }, "downloads": -1, "filename": "mklog-0.3.3-py3-none-any.whl", "has_sig": true, "md5_digest": "23c33ec92a0d27e91f499568e33b64b7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23386, "upload_time": "2016-01-25T22:40:02", "url": "https://files.pythonhosted.org/packages/59/26/00f95cfb66abfdf2da684916a298acdf6e8d2016a55c630e3df609992612/mklog-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7acc4ec45ef638f171e9aac2b1b2166", "sha256": "60bfeb29392e122391e3345d029809d1413b0bb94f8c4e958aba2d10e62e21a6" }, "downloads": -1, "filename": "mklog-0.3.3.tar.gz", "has_sig": false, "md5_digest": "a7acc4ec45ef638f171e9aac2b1b2166", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27332, "upload_time": "2015-06-13T20:49:26", "url": "https://files.pythonhosted.org/packages/8b/fd/ebd9ad6bfab97b9ac36570b67e233f57a42924984394da8887385bdbd916/mklog-0.3.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "a636c12d2d6b52491bdca4e5e479bfdf", "sha256": "7d0ef3f6ff937715b39d11146dd7c87235624ae5c63c1af89a9bbfbdbff5d869" }, "downloads": -1, "filename": "mklog-1.0.0-py3-none-any.whl", "has_sig": true, "md5_digest": "a636c12d2d6b52491bdca4e5e479bfdf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10307, "upload_time": "2018-03-05T20:11:42", "url": "https://files.pythonhosted.org/packages/38/b0/0fb66c088962966b9c6b3b4cc76f12bba1a616dc55c79640afd3999dfcea/mklog-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ea192d364524955c1ed63ef1fbfaa753", "sha256": "e1e36e3280e9a00ffc267de1996a8860e1ad72e16d258510ee68334b88913abc" }, "downloads": -1, "filename": "mklog-1.0.0.tar.gz", "has_sig": true, "md5_digest": "ea192d364524955c1ed63ef1fbfaa753", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26815, "upload_time": "2018-03-05T20:11:44", "url": "https://files.pythonhosted.org/packages/fb/87/fa19e8a0c1fe6377fdcd1700e5ae258a8d7188a44ba223e251d6570ea614/mklog-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a636c12d2d6b52491bdca4e5e479bfdf", "sha256": "7d0ef3f6ff937715b39d11146dd7c87235624ae5c63c1af89a9bbfbdbff5d869" }, "downloads": -1, "filename": "mklog-1.0.0-py3-none-any.whl", "has_sig": true, "md5_digest": "a636c12d2d6b52491bdca4e5e479bfdf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10307, "upload_time": "2018-03-05T20:11:42", "url": "https://files.pythonhosted.org/packages/38/b0/0fb66c088962966b9c6b3b4cc76f12bba1a616dc55c79640afd3999dfcea/mklog-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ea192d364524955c1ed63ef1fbfaa753", "sha256": "e1e36e3280e9a00ffc267de1996a8860e1ad72e16d258510ee68334b88913abc" }, "downloads": -1, "filename": "mklog-1.0.0.tar.gz", "has_sig": true, "md5_digest": "ea192d364524955c1ed63ef1fbfaa753", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26815, "upload_time": "2018-03-05T20:11:44", "url": "https://files.pythonhosted.org/packages/fb/87/fa19e8a0c1fe6377fdcd1700e5ae258a8d7188a44ba223e251d6570ea614/mklog-1.0.0.tar.gz" } ] }