{ "info": { "author": "podhmo", "author_email": "ababjam61+github@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: Implementation :: CPython" ], "description": ".. image:: https://travis-ci.org/podhmo/pycomment.svg?branch=master\n :target: https://travis-ci.org/podhmo/pycomment\n\npycomment\n========================================\n\nInserting repr value on comment with marker (marker is `# =>`).\nThis is heavily inspired by xmpfilter of ruby's `rocodetools `_\n\ninstall\n----------------------------------------\n\nwarning: in the future (not yet)\n\n.. code-block:: console\n\n $ pip install pycomment\n\n\nhow to use\n----------------------------------------\n\n\ncode.py\n\n.. code-block:: python\n\n import sys\n\n print(\"stderr\", file=sys.stderr)\n print(\"hello\")\n 1 + 2 + 3 + 3 + 4 + 5 # =>\n 1 + 2 + 3 + 3 + 4 + 5 # =>\n print(\"bye\")\n\n\n.. code-block:: console\n\n $ pycomment --inplace code.py\n\n.. code-block:: python\n\n import sys\n\n print(\"stderr\", file=sys.stderr)\n print(\"hello\")\n 1 + 2 + 3 + 3 + 4 + 5 # => 18\n 1 + 2 + 3 + 3 + 4 + 5 # => 18\n print(\"bye\")\n\n\n # -- stdout --------------------\n # >> hello\n # >> bye\n\nmulti-line output\n\n.. code:: python\n\n import numpy as np\n\n np.arange(9).reshape((3, 3)) # => multi-line..\n # array([[0, 1, 2],\n # [3, 4, 5],\n # [6, 7, 8]])\n # ..multi-line\n\n\n\n0.0.6\n\n- multi-line output with indentation (support completely) (#14)\n\n0.0.4:\n\n- multi-line output support (#12)\n- `-i` option is added, same as `--inplace` (#7)\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/podhmo/pycomment", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pycomment", "package_url": "https://pypi.org/project/pycomment/", "platform": "", "project_url": "https://pypi.org/project/pycomment/", "project_urls": { "Homepage": "https://github.com/podhmo/pycomment" }, "release_url": "https://pypi.org/project/pycomment/0.0.6/", "requires_dist": [ "black ; extra == 'dev'" ], "requires_python": "", "summary": "with repr value as comment", "version": "0.0.6" }, "last_serial": 5402459, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "94706c38e7e18dbc7cc35db25cabd6aa", "sha256": "251d8e3da3843c696d62f567261c1f67bf4fd9862a2636ecf62a8d377cb02f9e" }, "downloads": -1, "filename": "pycomment-0.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "94706c38e7e18dbc7cc35db25cabd6aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4517, "upload_time": "2018-10-20T08:11:38", "url": "https://files.pythonhosted.org/packages/02/12/d09a5a1ea3d8e65cb8bd7fe6e3f11844e8bb7ceeb7b0ee15a54ede2b160f/pycomment-0.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "889280ea578eef335856aae56b10b657", "sha256": "86d7627f12f1b5b3a51c5e3bc5389738d773bf2ee96191eaf614ff825537df8e" }, "downloads": -1, "filename": "pycomment-0.0.0.tar.gz", "has_sig": false, "md5_digest": "889280ea578eef335856aae56b10b657", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3821, "upload_time": "2018-10-20T08:11:39", "url": "https://files.pythonhosted.org/packages/05/b7/63149fb608503be7c9983e3ae317d6a14ec58ac4aa8e124a8787ba3f8533/pycomment-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "fb52b93f9022ad5b177d90c1a916e4fd", "sha256": "d85ef12d51da8091d756e51c6ca050091d99e71d1c9ad02c5fcd895fcf4c7bbb" }, "downloads": -1, "filename": "pycomment-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fb52b93f9022ad5b177d90c1a916e4fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4543, "upload_time": "2018-11-07T14:21:29", "url": "https://files.pythonhosted.org/packages/dd/ee/4c102fbc9a862eee6434f54906264a50cc8bef095cee5b31dedd1d8da4d0/pycomment-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "30ad33fa46a8443b3d20c8094c3040e9", "sha256": "511f69265603f32eb807b290604e127444af9bff46ee2dc879c62813f6f090ac" }, "downloads": -1, "filename": "pycomment-0.0.1.tar.gz", "has_sig": false, "md5_digest": "30ad33fa46a8443b3d20c8094c3040e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3855, "upload_time": "2018-11-07T14:21:31", "url": "https://files.pythonhosted.org/packages/59/75/84d072776fb17fbd9ed1a7cf0bbfc7b031d3c047f8594d667e3707e8ae68/pycomment-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0393a38835045664ffe01d25a236d9bb", "sha256": "26fbb6fffb27e7db46f2ef1561b7df771fa3128e4610fe735574f5425c5d47a8" }, "downloads": -1, "filename": "pycomment-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0393a38835045664ffe01d25a236d9bb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4545, "upload_time": "2018-11-23T12:58:16", "url": "https://files.pythonhosted.org/packages/e4/7d/9eb2306be41c8c01dc0fa8f9be6fde0c8e9097ba19184b26e76330ee8a21/pycomment-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "913fb10b2e6b7257019e5395da88e44b", "sha256": "13ab0dd53f8a290a53e49964cdbbc3dc3a53669f7e9debf1d97308e8a9ef5822" }, "downloads": -1, "filename": "pycomment-0.0.2.tar.gz", "has_sig": false, "md5_digest": "913fb10b2e6b7257019e5395da88e44b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3854, "upload_time": "2018-11-23T12:58:17", "url": "https://files.pythonhosted.org/packages/84/4c/7ff9e03de9d26f2e5a38b5a3033214da1618c36f1c1c8956323ca23205b9/pycomment-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "71d77333d513cd9aa3edccf353e17abc", "sha256": "4084ef476038496f728d50e829a90666c3ea2ca329909239067477b16c3e605f" }, "downloads": -1, "filename": "pycomment-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "71d77333d513cd9aa3edccf353e17abc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4556, "upload_time": "2018-11-23T13:59:05", "url": "https://files.pythonhosted.org/packages/88/a6/d9dbe0cb43dd914335408116fae6b7dc6bd8ee6386872ee86e0cf3e3c18a/pycomment-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2bf8f58f30e462d34890a37e13b79a9", "sha256": "18b4f47d8f32d586d674aa61484242474a63c1ec605ba0ca8b0be730300ece65" }, "downloads": -1, "filename": "pycomment-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a2bf8f58f30e462d34890a37e13b79a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3866, "upload_time": "2018-11-23T13:59:07", "url": "https://files.pythonhosted.org/packages/a6/4e/d3ee55e7bc76468aaf9aca5e7157ce343c73f8e6621673a034cb923bca79/pycomment-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "94c9b7a06ddfa5ebb521489123dcdcd7", "sha256": "da8543fdf8b9b762d789f1a7a30c48fdac5e1dee4dc11caee767fcfe682104d8" }, "downloads": -1, "filename": "pycomment-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "94c9b7a06ddfa5ebb521489123dcdcd7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6733, "upload_time": "2019-06-14T22:02:24", "url": "https://files.pythonhosted.org/packages/4a/09/28a090e28de174613556ca18f358ec5747a2cad7d4fd25d89549a79b956d/pycomment-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0dff64cfd8eaa659c192ca48cd33785", "sha256": "0cd0c7abc2288494e3540e7ae84a8471611c6fb3e691b61cf26bb78a1d3a83a5" }, "downloads": -1, "filename": "pycomment-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a0dff64cfd8eaa659c192ca48cd33785", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5201, "upload_time": "2019-06-14T22:02:26", "url": "https://files.pythonhosted.org/packages/47/be/469fa6ca6da1100487a1b70318fce7b8f0b0a0363ceab6dc9650995aba7f/pycomment-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "de9640403ae9e9c86212b9fbbf62ec59", "sha256": "5028553bd618ca809fb9d9696e292c4374ad68f0c1a582cab564fbaaf9e02301" }, "downloads": -1, "filename": "pycomment-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "de9640403ae9e9c86212b9fbbf62ec59", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6742, "upload_time": "2019-06-14T22:21:50", "url": "https://files.pythonhosted.org/packages/e3/11/1a31df8d2b0c1f0517490dfc39863bdceac7f8e1a77959e9834e230e7b33/pycomment-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b10efdde100a3a4c11ae1a66538e7ca5", "sha256": "440f4f3701b377981f7248bf464fbab5077ea013b50548c7eea6c5c0d9236a6f" }, "downloads": -1, "filename": "pycomment-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b10efdde100a3a4c11ae1a66538e7ca5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5217, "upload_time": "2019-06-14T22:21:51", "url": "https://files.pythonhosted.org/packages/09/6f/5b19aff8f3c5fd73195dfd1f468db524279b79494fb8aa86ef71f6deab8d/pycomment-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2514f3840afa4ba5f816c71b2f31f56a", "sha256": "747322f151dd692189f00ab3661916cdd914fe3ea981ba4273f5439c5d8234e4" }, "downloads": -1, "filename": "pycomment-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2514f3840afa4ba5f816c71b2f31f56a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6822, "upload_time": "2019-06-14T22:41:34", "url": "https://files.pythonhosted.org/packages/a0/06/cb4a98a7edeb5cc93bce6100110f7f281cd4c97c7a017a5aa722a53ddaf3/pycomment-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0aa74d69ee58b4ac216a8b612359f2f8", "sha256": "bf7c543deefeb27ef9a2b1c0bb1bc117c7a8763d036c7349d98ce7027e2f7223" }, "downloads": -1, "filename": "pycomment-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0aa74d69ee58b4ac216a8b612359f2f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5310, "upload_time": "2019-06-14T22:41:36", "url": "https://files.pythonhosted.org/packages/e6/eb/a4f494dbe6007ace024bdf8eaa3ed0bd60fb181872f754ac3288a7e55199/pycomment-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2514f3840afa4ba5f816c71b2f31f56a", "sha256": "747322f151dd692189f00ab3661916cdd914fe3ea981ba4273f5439c5d8234e4" }, "downloads": -1, "filename": "pycomment-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2514f3840afa4ba5f816c71b2f31f56a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6822, "upload_time": "2019-06-14T22:41:34", "url": "https://files.pythonhosted.org/packages/a0/06/cb4a98a7edeb5cc93bce6100110f7f281cd4c97c7a017a5aa722a53ddaf3/pycomment-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0aa74d69ee58b4ac216a8b612359f2f8", "sha256": "bf7c543deefeb27ef9a2b1c0bb1bc117c7a8763d036c7349d98ce7027e2f7223" }, "downloads": -1, "filename": "pycomment-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0aa74d69ee58b4ac216a8b612359f2f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5310, "upload_time": "2019-06-14T22:41:36", "url": "https://files.pythonhosted.org/packages/e6/eb/a4f494dbe6007ace024bdf8eaa3ed0bd60fb181872f754ac3288a7e55199/pycomment-0.0.6.tar.gz" } ] }