{ "info": { "author": "Fabio Zadrozny", "author_email": "fabiofz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "===============\nPyDev Formatter\n===============\n\n\n.. image:: https://img.shields.io/pypi/v/pydevf.svg\n :target: https://pypi.python.org/pypi/pydevf\n\n.. image:: https://img.shields.io/travis/fabioz/PyDev.Formatter.svg\n :target: https://travis-ci.org/fabioz/PyDev.Formatter\n\n\nFeatures\n==========\n\nThis package provides a command line API to use the PyDev Code Formatter (the PyDev\nCode formatter is created by extracting the engine for code formatting provided by\nPyDev: http://www.pydev.org).\n\nThe PyDev Formatter is a conservative python code formatter and will try to keep the \nstructure of the code as close as possible to the original sources, while fixing many\ncommon issues such as:\n\n- Keep a space after commas\n- Trim spaces inside parenthesis\n- Right-trim lines\n- Add a space before and after operators\n- Keep 2 lines before top level classes/methods\n- Keep 1 line before inner classes/methods\n- Add new line at end of file\n- Format comments to have 2 spaces before a comment and 1 space inside the comment\n\nNote that it does not try to break statements to fit any pre-specified line length (as gofmt).\n\nCommand line\n=============\n\nBasic use of the formatter is:\n\n``python -m pydevf ``\n\n``python -m pydevf -h`` may be used to see the help for additional parameters.\n\nInstalling\n============\n\nRequisites\n-----------\n\n- java 8+ (so, make sure java is installed and in your PATH)\n- python 2.7 or 3.4 onwards\n- click 6+\n\nInstall with pip\n-----------------\n\nTo install the PyDev Formatter use:\n\n``pip install pydevf``\n\nUsing with pre-commit\n---------------------\n\nTo use it with `pre-commit`_, just add the following repo to your ``.pre-commit-config.yaml``::\n\n - repo: https://github.com/fabioz/PyDev.Formatter\n rev: '' # Use the sha or tag you want to point at\n hooks:\n - id: pydevf\n\n.. _pre-commit: https://pre-commit.com/\n\nDealing with big lines\n========================\n\nNote that in PyDev there are tools to help on those manual cases. i.e.:\n\nWrap docstrings/comments with ``Ctrl+2, W`` -- See: http://pydev.blogspot.com/2015/04/wrapping-docstringscomments-in-pydev.html.\n\nWrap/unwrap lists/calls with ``Ctrl+1``, ``Wrap expression``/``Unwrap expression`` (used with cursor inside the list/call).\n\nDaemon mode\n============\n\nBy default the formatter will create a daemon and will reuse it among multiple invocations (because\nthe formatter is **very fast** but its startup is slow). If you don't want to use this mode use\nthe ``--no-daemon`` parameter. \n\nLicense\n==========\n\n* EPL (Eclipse Public License) 2.0\n\nReleasing\n==========\n\n- Update versions on ``setup.py`` and ``version.py``\n- ``git tag {{version}}`` (i.e.: v0.1.2)\n- ``git push --tags`` (travis should build and deploy)\n\nLocal release\n---------------\n\n- Update versions on ``setup.py`` and ``version.py``\n- ``python setup.py sdist bdist_wheel``\n- ``python -m twine upload dist/*``\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-06-12)\n------------------\n\n* First release on PyPI.\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/fabioz/pydevf", "keywords": "pydevf,pydev formatter,pydev", "license": "EPL (Eclipse Public License)", "maintainer": "", "maintainer_email": "", "name": "pydevf", "package_url": "https://pypi.org/project/pydevf/", "platform": "", "project_url": "https://pypi.org/project/pydevf/", "project_urls": { "Homepage": "https://github.com/fabioz/pydevf" }, "release_url": "https://pypi.org/project/pydevf/0.1.5/", "requires_dist": [ "Click (>=6.0)" ], "requires_python": "", "summary": "PyDev Code Formatter", "version": "0.1.5" }, "last_serial": 3965349, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "112b40a229240cfbb35f0668118575cf", "sha256": "2c011b8861b48c349f2540c7da069cc297ae4cecb37121423ad57fee248e863d" }, "downloads": -1, "filename": "pydevf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "112b40a229240cfbb35f0668118575cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2805494, "upload_time": "2018-06-14T15:38:52", "url": "https://files.pythonhosted.org/packages/e3/05/25c2bb5e223ced7fec628a877ebc2c3d0a186a5d4e3371b832dbc17604c6/pydevf-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "db14e10e4f604b7e4204bd932a914e8d", "sha256": "dba0f6e9cf4470633b75bb7199153ec91ed492306930a38eefc61af8d3586e9d" }, "downloads": -1, "filename": "pydevf-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db14e10e4f604b7e4204bd932a914e8d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10992, "upload_time": "2018-06-14T16:39:14", "url": "https://files.pythonhosted.org/packages/81/49/1d825ffea84a665fce5b9bbc1b66b953a614a131845b500fe639ef771da4/pydevf-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f003254c1471d6025bf211e4b346e98", "sha256": "e9cd94f3c635facb2b3cdc8c1e5b7ffa186bfa631d183ddd3ae4f4ffe793dfd5" }, "downloads": -1, "filename": "pydevf-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7f003254c1471d6025bf211e4b346e98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18011, "upload_time": "2018-06-14T16:39:16", "url": "https://files.pythonhosted.org/packages/f7/a1/7cf949fbf35898c10a04212920448be09ffbeffe9c2fb2fda88a9da608e1/pydevf-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f65062ea55f3c2f0c3813f86de47f2f7", "sha256": "771ae23ee6f89334f3df791f8d95be6cf06f0b08fd0cf9295361b78ea6fc1cb4" }, "downloads": -1, "filename": "pydevf-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f65062ea55f3c2f0c3813f86de47f2f7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2804645, "upload_time": "2018-06-14T16:45:34", "url": "https://files.pythonhosted.org/packages/de/04/2b72ee0944b4a3dcf70a193835393008c0dd27751edce71cecbb504694f9/pydevf-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "146bbf93164bc724d3cc29cb8f4b0269", "sha256": "b35f33ec5844d83e5b6309dc51fb043fff367c1b11bba1552b5aba514333635e" }, "downloads": -1, "filename": "pydevf-0.1.2.tar.gz", "has_sig": false, "md5_digest": "146bbf93164bc724d3cc29cb8f4b0269", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2813184, "upload_time": "2018-06-14T16:45:38", "url": "https://files.pythonhosted.org/packages/9a/9c/64c44d65a462e6f0371bace0ee3ecc9596cf3d9439efd4d4b797227ca734/pydevf-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b97187fcecf1859cb1b3f2e3b6fc5cd5", "sha256": "0a592f19a14942895108814f54891bceae8159b209439e435d2fc8d1dcfdcdff" }, "downloads": -1, "filename": "pydevf-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b97187fcecf1859cb1b3f2e3b6fc5cd5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11163, "upload_time": "2018-06-14T17:42:10", "url": "https://files.pythonhosted.org/packages/55/c8/174a061a72a61ecf45f0ba7e995c2100df3bc001a844afbc22d02385cce4/pydevf-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d9430ba0b5c72df5c10947a0c3377f5", "sha256": "7e068e8066a2b3c13755d43b80fe49b588768f0393df7768780d5f02333798c4" }, "downloads": -1, "filename": "pydevf-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6d9430ba0b5c72df5c10947a0c3377f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18233, "upload_time": "2018-06-14T17:42:11", "url": "https://files.pythonhosted.org/packages/40/93/3ba3d8d9f52e82e5f19eadaf6d0c29027fbf831c39529957be6d5e0359a0/pydevf-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "8fa038c80411bc628397e79c0401eb9f", "sha256": "841797b640755d6071dec0a1f8addbf27f16205c5364d07f01c1a7793e7f30c7" }, "downloads": -1, "filename": "pydevf-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8fa038c80411bc628397e79c0401eb9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2804811, "upload_time": "2018-06-14T18:34:48", "url": "https://files.pythonhosted.org/packages/60/8d/eabdae4d147d8ead308b80b1306f4bb41bb62c243f87c72ce2d27453f871/pydevf-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad69fd794e72b17ebc15fd40e44c3c21", "sha256": "8a717e479ffb309525853f550d34b3e3fa2307ca1da198b70d68b014b28d0255" }, "downloads": -1, "filename": "pydevf-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ad69fd794e72b17ebc15fd40e44c3c21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2812669, "upload_time": "2018-06-14T18:34:50", "url": "https://files.pythonhosted.org/packages/90/f5/35ba904b1472e9373923e2205cd6d043bf7c5b5177a0dfa6492e08be8a0e/pydevf-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "e64db62851ce56b83a90db8ace25bf67", "sha256": "3686bd3d83faf77facd99f1933969b44fa6f71636e7d0e791384019807eecc5b" }, "downloads": -1, "filename": "pydevf-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e64db62851ce56b83a90db8ace25bf67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2847391, "upload_time": "2018-06-15T15:59:44", "url": "https://files.pythonhosted.org/packages/9d/d9/d22b4aef4b315e9bdd2342b32d97f5f1db7c57bdd41e617323db0ac25718/pydevf-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4ba6e6c76caf46411cc62f2b4f4dea8", "sha256": "ad74aab0a0ecf84acf3792d600495e9df16dc8c24e5381b35eb25e50234d6f69" }, "downloads": -1, "filename": "pydevf-0.1.5.tar.gz", "has_sig": false, "md5_digest": "c4ba6e6c76caf46411cc62f2b4f4dea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2862118, "upload_time": "2018-06-15T15:59:46", "url": "https://files.pythonhosted.org/packages/3e/10/f8688fd08a5367cb60e254abda286de59e653d2d55773ee1937bbe4e36df/pydevf-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e64db62851ce56b83a90db8ace25bf67", "sha256": "3686bd3d83faf77facd99f1933969b44fa6f71636e7d0e791384019807eecc5b" }, "downloads": -1, "filename": "pydevf-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e64db62851ce56b83a90db8ace25bf67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2847391, "upload_time": "2018-06-15T15:59:44", "url": "https://files.pythonhosted.org/packages/9d/d9/d22b4aef4b315e9bdd2342b32d97f5f1db7c57bdd41e617323db0ac25718/pydevf-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4ba6e6c76caf46411cc62f2b4f4dea8", "sha256": "ad74aab0a0ecf84acf3792d600495e9df16dc8c24e5381b35eb25e50234d6f69" }, "downloads": -1, "filename": "pydevf-0.1.5.tar.gz", "has_sig": false, "md5_digest": "c4ba6e6c76caf46411cc62f2b4f4dea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2862118, "upload_time": "2018-06-15T15:59:46", "url": "https://files.pythonhosted.org/packages/3e/10/f8688fd08a5367cb60e254abda286de59e653d2d55773ee1937bbe4e36df/pydevf-0.1.5.tar.gz" } ] }