{"id":17362509,"url":"https://github.com/domdfcoding/pyupgrade-directories","last_synced_at":"2025-04-14T06:21:46.564Z","repository":{"id":52544472,"uuid":"271547291","full_name":"domdfcoding/pyupgrade-directories","owner":"domdfcoding","description":"Run pyupgrade on all files in a directory, and optionally recursively.","archived":false,"fork":false,"pushed_at":"2025-04-07T17:25:07.000Z","size":230,"stargazers_count":10,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T18:28:03.949Z","etag":null,"topics":["linting","python","python3","pyupgrade","utility"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domdfcoding.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-11T13:01:06.000Z","updated_at":"2024-11-28T16:34:46.000Z","dependencies_parsed_at":"2024-03-18T13:29:08.227Z","dependency_job_id":"606aae9b-a9b5-4855-83a6-3bc3d1b0ea33","html_url":"https://github.com/domdfcoding/pyupgrade-directories","commit_stats":{"total_commits":94,"total_committers":3,"mean_commits":"31.333333333333332","dds":0.2872340425531915,"last_synced_commit":"4fbe36aabe667f06a96cfa96b21eddae8b7a30b0"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fpyupgrade-directories","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fpyupgrade-directories/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fpyupgrade-directories/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Fpyupgrade-directories/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domdfcoding","download_url":"https://codeload.github.com/domdfcoding/pyupgrade-directories/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830898,"owners_count":21168365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linting","python","python3","pyupgrade","utility"],"created_at":"2024-10-15T19:39:00.007Z","updated_at":"2025-04-14T06:21:46.529Z","avatar_url":"https://github.com/domdfcoding.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"==========================\npyupgrade-directories\n==========================\n\n.. start short_desc\n\n**Run pyupgrade on all files in a directory, and optionally recursively.**\n\n.. end short_desc\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\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* - 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.. |actions_linux| image:: https://github.com/domdfcoding/pyupgrade-directories/workflows/Linux/badge.svg\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/domdfcoding/pyupgrade-directories/workflows/Windows/badge.svg\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/domdfcoding/pyupgrade-directories/workflows/macOS/badge.svg\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/domdfcoding/pyupgrade-directories/workflows/Flake8/badge.svg\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/domdfcoding/pyupgrade-directories/workflows/mypy/badge.svg\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/pyupgrade-directories/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/pyupgrade-directories/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/pyupgrade-directories/master?logo=coveralls\n\t:target: https://coveralls.io/github/domdfcoding/pyupgrade-directories?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/pyupgrade-directories?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/domdfcoding/pyupgrade-directories\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/pyupgrade-directories\n\t:target: https://pypi.org/project/pyupgrade-directories/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pyupgrade-directories?logo=python\u0026logoColor=white\n\t:target: https://pypi.org/project/pyupgrade-directories/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pyupgrade-directories\n\t:target: https://pypi.org/project/pyupgrade-directories/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/pyupgrade-directories\n\t:target: https://pypi.org/project/pyupgrade-directories/\n\t:alt: PyPI - Wheel\n\n.. |license| image:: https://img.shields.io/github/license/domdfcoding/pyupgrade-directories\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/pyupgrade-directories\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/pyupgrade-directories/v0.3.0\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/pyupgrade-directories\n\t:target: https://github.com/domdfcoding/pyupgrade-directories/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2022\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pyupgrade-directories\n\t:target: https://pypi.org/project/pyupgrade-directories/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\n\nInstallation\n--------------\n\n.. start installation\n\n``pyupgrade-directories`` can be installed from PyPI.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install pyupgrade-directories\n\n.. end installation\n\n\nUsage\n--------------\n\n``pyupgrade-directories`` is called from the command line with ``pyup_dirs``.\n\nBasic usage is the same as ``pyupgrade``.\nSee https://github.com/asottile/pyupgrade/blob/master/README.md for more information.\n\nThe key difference is that passing a directory to ``pyup_dir`` will process all ``.py`` files in the directory.\nThere is also ``--recursive`` flag that will recurse subdirectories.\n\nAny ``.pyd``, ``.pyc`` and ``.pyo`` files are excluded, along with any files in\n``__pycache__``, ``.tox``, ``.mypy_cache``, ``.pytest_cache`` and ``venv`` directories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Fpyupgrade-directories","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomdfcoding%2Fpyupgrade-directories","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Fpyupgrade-directories/lists"}