formate


Nameformate JSON
Version 0.7.0 PyPI version JSON
download
home_pagehttps://github.com/python-formate/formate
SummaryPython formatting mate.
upload_time2023-10-20 14:34:17
maintainer
docs_urlNone
author
requires_python>=3.6
licenseMIT
keywords formatting linting
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
########
formate
########

.. start short_desc

**Python formatting mate.**

.. end short_desc

``formate`` runs a series of user-selected hooks which reformat Python source files.
This can include `changing quote characters`_, `rewriting imports`_, and calling tools such as isort_ and yapf_.

See `the documentation`_ for more information.

.. _changing quote characters: https://formate.readthedocs.io/en/latest/hooks.html#dynamic-quotes
.. _rewriting imports: https://formate.readthedocs.io/en/latest/hooks.html#collections-import-rewrite
.. _isort: https://pycqa.github.io/isort/
.. _yapf: https://github.com/google/yapf
.. _the documentation: https://formate.readthedocs.io/en/latest/

.. start shields

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Docs
	  - |docs| |docs_check|
	* - Tests
	  - |actions_linux| |actions_windows| |actions_macos| |coveralls|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Anaconda
	  - |conda-version| |conda-platform|
	* - Activity
	  - |commits-latest| |commits-since| |maintained| |pypi-downloads|
	* - QA
	  - |codefactor| |actions_flake8| |actions_mypy|
	* - Other
	  - |license| |language| |requires|

.. |docs| image:: https://img.shields.io/readthedocs/formate/latest?logo=read-the-docs
	:target: https://formate.readthedocs.io/en/latest
	:alt: Documentation Build Status

.. |docs_check| image:: https://github.com/python-formate/formate/workflows/Docs%20Check/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Docs+Check%22
	:alt: Docs Check Status

.. |actions_linux| image:: https://github.com/python-formate/formate/workflows/Linux/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Linux%22
	:alt: Linux Test Status

.. |actions_windows| image:: https://github.com/python-formate/formate/workflows/Windows/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Windows%22
	:alt: Windows Test Status

.. |actions_macos| image:: https://github.com/python-formate/formate/workflows/macOS/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22macOS%22
	:alt: macOS Test Status

.. |actions_flake8| image:: https://github.com/python-formate/formate/workflows/Flake8/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Flake8%22
	:alt: Flake8 Status

.. |actions_mypy| image:: https://github.com/python-formate/formate/workflows/mypy/badge.svg
	:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22mypy%22
	:alt: mypy status

.. |requires| image:: https://dependency-dash.repo-helper.uk/github/python-formate/formate/badge.svg
	:target: https://dependency-dash.repo-helper.uk/github/python-formate/formate/
	:alt: Requirements Status

.. |coveralls| image:: https://img.shields.io/coveralls/github/python-formate/formate/master?logo=coveralls
	:target: https://coveralls.io/github/python-formate/formate?branch=master
	:alt: Coverage

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-formate/formate?logo=codefactor
	:target: https://www.codefactor.io/repository/github/python-formate/formate
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/formate
	:target: https://pypi.org/project/formate/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/formate?logo=python&logoColor=white
	:target: https://pypi.org/project/formate/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/formate
	:target: https://pypi.org/project/formate/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/formate
	:target: https://pypi.org/project/formate/
	:alt: PyPI - Wheel

.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/formate?logo=anaconda
	:target: https://anaconda.org/domdfcoding/formate
	:alt: Conda - Package Version

.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/formate?label=conda%7Cplatform
	:target: https://anaconda.org/domdfcoding/formate
	:alt: Conda - Platform

.. |license| image:: https://img.shields.io/github/license/python-formate/formate
	:target: https://github.com/python-formate/formate/blob/master/LICENSE
	:alt: License

.. |language| image:: https://img.shields.io/github/languages/top/python-formate/formate
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/python-formate/formate/v0.7.0
	:target: https://github.com/python-formate/formate/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-formate/formate
	:target: https://github.com/python-formate/formate/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
	:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/formate
	:target: https://pypi.org/project/formate/
	:alt: PyPI - Downloads

.. end shields

Installation
--------------

.. start installation

``formate`` can be installed from PyPI or Anaconda.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install formate

To install with ``conda``:

	* First add the required channels

	.. code-block:: bash

		$ conda config --add channels https://conda.anaconda.org/conda-forge
		$ conda config --add channels https://conda.anaconda.org/domdfcoding

	* Then install

	.. code-block:: bash

		$ conda install formate

.. end installation

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/python-formate/formate",
    "name": "formate",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "formatting,linting",
    "author": "",
    "author_email": "Dominic Davis-Foster <dominic@davis-foster.co.uk>",
    "download_url": "https://files.pythonhosted.org/packages/6a/c3/ebe22026b94a21a72d2882610488291e3dff3db9cd23c5e441486a905267/formate-0.7.0.tar.gz",
    "platform": "Windows",
    "description": "\n########\nformate\n########\n\n.. start short_desc\n\n**Python formatting mate.**\n\n.. end short_desc\n\n``formate`` runs a series of user-selected hooks which reformat Python source files.\nThis can include `changing quote characters`_, `rewriting imports`_, and calling tools such as isort_ and yapf_.\n\nSee `the documentation`_ for more information.\n\n.. _changing quote characters: https://formate.readthedocs.io/en/latest/hooks.html#dynamic-quotes\n.. _rewriting imports: https://formate.readthedocs.io/en/latest/hooks.html#collections-import-rewrite\n.. _isort: https://pycqa.github.io/isort/\n.. _yapf: https://github.com/google/yapf\n.. _the documentation: https://formate.readthedocs.io/en/latest/\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Docs\n\t  - |docs| |docs_check|\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t  - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Anaconda\n\t  - |conda-version| |conda-platform|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |docs| image:: https://img.shields.io/readthedocs/formate/latest?logo=read-the-docs\n\t:target: https://formate.readthedocs.io/en/latest\n\t:alt: Documentation Build Status\n\n.. |docs_check| image:: https://github.com/python-formate/formate/workflows/Docs%20Check/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Docs+Check%22\n\t:alt: Docs Check Status\n\n.. |actions_linux| image:: https://github.com/python-formate/formate/workflows/Linux/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/python-formate/formate/workflows/Windows/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/python-formate/formate/workflows/macOS/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/python-formate/formate/workflows/Flake8/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/python-formate/formate/workflows/mypy/badge.svg\n\t:target: https://github.com/python-formate/formate/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/python-formate/formate/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/python-formate/formate/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/python-formate/formate/master?logo=coveralls\n\t:target: https://coveralls.io/github/python-formate/formate?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-formate/formate?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/python-formate/formate\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/formate\n\t:target: https://pypi.org/project/formate/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/formate?logo=python&logoColor=white\n\t:target: https://pypi.org/project/formate/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/formate\n\t:target: https://pypi.org/project/formate/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/formate\n\t:target: https://pypi.org/project/formate/\n\t:alt: PyPI - Wheel\n\n.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/formate?logo=anaconda\n\t:target: https://anaconda.org/domdfcoding/formate\n\t:alt: Conda - Package Version\n\n.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/formate?label=conda%7Cplatform\n\t:target: https://anaconda.org/domdfcoding/formate\n\t:alt: Conda - Platform\n\n.. |license| image:: https://img.shields.io/github/license/python-formate/formate\n\t:target: https://github.com/python-formate/formate/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/python-formate/formate\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/python-formate/formate/v0.7.0\n\t:target: https://github.com/python-formate/formate/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-formate/formate\n\t:target: https://github.com/python-formate/formate/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2023\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/formate\n\t:target: https://pypi.org/project/formate/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\nInstallation\n--------------\n\n.. start installation\n\n``formate`` can be installed from PyPI or Anaconda.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install formate\n\nTo install with ``conda``:\n\n\t* First add the required channels\n\n\t.. code-block:: bash\n\n\t\t$ conda config --add channels https://conda.anaconda.org/conda-forge\n\t\t$ conda config --add channels https://conda.anaconda.org/domdfcoding\n\n\t* Then install\n\n\t.. code-block:: bash\n\n\t\t$ conda install formate\n\n.. end installation\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python formatting mate.",
    "version": "0.7.0",
    "project_urls": {
        "Documentation": "https://formate.readthedocs.io/en/latest",
        "Homepage": "https://github.com/python-formate/formate",
        "Issue Tracker": "https://github.com/python-formate/formate/issues",
        "Source Code": "https://github.com/python-formate/formate"
    },
    "split_keywords": [
        "formatting",
        "linting"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c4feafc41239ea803aa089b218a32de8baf4cd0f44945547c7982e53169f0cc1",
                "md5": "835b5e748b3f02c1b9b0e6441c6351df",
                "sha256": "80c67511b1b06efb447267dbc7f6915b17b39c2d6b0cde48c6a47f7d0a95671f"
            },
            "downloads": -1,
            "filename": "formate-0.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "835b5e748b3f02c1b9b0e6441c6351df",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 71740,
            "upload_time": "2023-10-20T14:34:15",
            "upload_time_iso_8601": "2023-10-20T14:34:15.456395Z",
            "url": "https://files.pythonhosted.org/packages/c4/fe/afc41239ea803aa089b218a32de8baf4cd0f44945547c7982e53169f0cc1/formate-0.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ac3ebe22026b94a21a72d2882610488291e3dff3db9cd23c5e441486a905267",
                "md5": "fab43808350f128a7620a0447e2b1afb",
                "sha256": "e18225894208f853b95a887d3717f0cc2adbd1f777ef9fda945c854643691c40"
            },
            "downloads": -1,
            "filename": "formate-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fab43808350f128a7620a0447e2b1afb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 17815,
            "upload_time": "2023-10-20T14:34:17",
            "upload_time_iso_8601": "2023-10-20T14:34:17.513681Z",
            "url": "https://files.pythonhosted.org/packages/6a/c3/ebe22026b94a21a72d2882610488291e3dff3db9cd23c5e441486a905267/formate-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-20 14:34:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-formate",
    "github_project": "formate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "formate"
}
        
Elapsed time: 0.14401s