piptools-sync


Namepiptools-sync JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/Stephen-RA-King/piptools-sync
SummaryA piptools pre-commit version sync utility
upload_time2023-06-12 11:18:37
maintainerStephen R A King
docs_urlNone
authorStephen R A King
requires_python>=3.8
licenseMIT
keywords pre-commit-hooks version-sync pip-tools pre-commit dependency-manager
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Piptools-sync

---

_**A pre-commit plugin to align pre-commit repository versions with those derived by pip-tools.**_

[![PyPI][pypi-image]][pypi-url]
[![Downloads][downloads-image]][downloads-url]
[![Status][status-image]][pypi-url]
[![Python Version][python-version-image]][pypi-url]
[![tests][tests-image]][tests-url]
[![Codecov][codecov-image]][codecov-url]
[![CodeQl][codeql-image]][codeql-url]
[![pre-commit.ci status][pre-commit.ci-image]][pre-commit.ci-url]
[![readthedocs][readthedocs-image]][readthedocs-url]
[![CodeFactor][codefactor-image]][codefactor-url]
[![Codeclimate][codeclimate-image]][codeclimate-url]
[![Imports: isort][isort-image]][isort-url]
[![Code style: black][black-image]][black-url]
[![Checked with mypy][mypy-image]][mypy-url]
[![security: bandit][bandit-image]][bandit-url]
[![Commitizen friendly][commitizen-image]][commitizen-url]
[![Conventional Commits][conventional-commits-image]][conventional-commits-url]
[![DeepSource][deepsource-image]][deepsource-url]
[![license][license-image]][license-url]

[**pip-tools**][pip-tools-url] and [**Pre-Commit**][pre-commit-url] are two of my favourite development tools. However, they don't always necessarily agree
on what versions of packages should be installed.
This lack of consolidation can lead to problems with pre-commit.
This pre-commit plugin syncs the pre-commit package versions with the versions generated by pip-tools' compile process.

![](assets/header.png)

## Introduction

---

### Project Rationale

A while ago I came across an issue committing files to my local git repository. The issue occured at the flake8 linting stage using pre-commit.
There was however no problem manually running flake8 from the command line. Upon investigation It was found that flake8 had an
incompatibility issue with one of its plugins.
With further investigation I noticed that pip-tools had pinned flake8 to an earlier version to what pre-commit was caching.

In short - pip-tools does a spectacularly good job pinning your dependencies and the dependencies of these dependencies. It has one job to do and it does it perfectly.
The pre-commit autoupdate command just updates the "rev" for the "repo" in the .pre-commit-config.yaml file to the latest version available and ignores the dependencies.

The following example displays the way flake8 and a few plugins are configured by the two tools :

-   pip-tools (via requirements.txt)

```shell
flake8==4.0.1
    # via ...
flake8-bugbear==22.8.23
    # via ...
flake8-comprehensions==3.10.0
    # via ...
flake8-eradicate==1.3.0
    # via ...
flake8-simplify==0.19.3
    # via ...
```

-   pre-commit (via .pre-commit-config.yaml)

```shell
  - repo: https://github.com/pycqa/flake8
    rev 5.0.4
    hooks:
      - id: flake8
        additional_dependencies:
          - flake8-bugbear
          - flake8-comprehensions
          - flake8-eradicate
          - flake8-simplify
        args: ["--ignore=E800,F842,F841,W503"]
```

If we force pip-tools to use a later version of flake8 (e,g 5.0.4) by manually pinning the version in the ".in" file and recompiling it is clear pip-tools is unhappy... A quick look at the dependencies shows why.

```shell
Could not find a version that matches flake8!=3.2.0,<5.0.0,<6,==5.0.4,>=3.0.0,>=3.3.0,>=3.5,>=3.7,>=3.9.1,>=4.0.1 (from -r requirements\development.in (line 12))
Tried: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.4, 1.5, 1.6, 1.6.1, 1.6.2, 1.7.0, 2.0, 2.1.0, 2.2.0, 2.2.0, 2.2.1, 2.2.1, 2.2.2, 2.2.2, 2.2.3, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.3.0, 2.4.0, 2.4.0, 2.4.1, 2.4.1, 2.5.0, 2.5.0, 2.5.1, 2.5.1, 2.5.2, 2.5.2, 2.5.3, 2.5.3, 2.5.4, 2.5.4, 2.5.5, 2.5.5, 2.6.0, 2.6.0, 2.6.1, 2.6.1, 2.6.2, 2.6.2, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.0.2, 3.0.2, 3.0.3, 3.0.3, 3.0.4, 3.0.4, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.4.0, 3.4.0, 3.4.1, 3.4.1, 3.5.0, 3.5.0, 3.6.0, 3.6.0, 3.7.0, 3.7.0, 3.7.1, 3.7.1, 3.7.2, 3.7.2, 3.7.3, 3.7.3, 3.7.4, 3.7.4, 3.7.5, 3.7.5, 3.7.6, 3.7.6, 3.7.7, 3.7.7, 3.7.8, 3.7.8, 3.7.9, 3.7.9, 3.8.0, 3.8.0, 3.8.1, 3.8.1, 3.8.2, 3.8.2, 3.8.3, 3.8.3, 3.8.4, 3.8.4, 3.9.0, 3.9.0, 3.9.1, 3.9.1, 3.9.2, 3.9.2, 4.0.0, 4.0.0, 4.0.1, 4.0.1, 5.0.0, 5.0.0, 5.0.1, 5.0.1, 5.0.2, 5.0.2, 5.0.3, 5.0.3, 5.0.4, 5.0.4
Skipped pre-versions: 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.2.dev0, 3.0.2.dev0, 3.0.2.dev1, 3.3.0.dev0, 3.8.0a1, 3.8.0a1, 3.8.0a2, 3.8.0a2
There are incompatible versions in the resolved dependencies:
  flake8==5.0.4 (from -r requirements\development.in (line 12))
  flake8>=3.7 (from flake8-simplify==0.19.3->-r requirements\development.in (line 20))
  flake8<5.0.0 (from flake8-bugbear==22.8.23->-r requirements\development.in (line 14))
  flake8!=3.2.0,>=3.0 (from flake8-comprehensions==3.10.0->-r requirements\development.in (line 15))
  flake8<6,>=3.5 (from flake8-eradicate==1.3.0->-r requirements\development.in (line 17))
```

The tools store packages in different areas on the file system. Pre-commit uses a cache area in the user folder, whereas pip-tools uses the usual site-packages area.

It should be noted that not all pre-commit hooks are written in Python for Python, so it makes sense that it has its own cache file system independent of pip.
Therefore, not all pre-commit repositories have an entry in PyPI. They can simply be defined by a GitHub repository URL.

Lastly, browsing the internet looking for a solution I came across the following issue raised under the pip-tools project (dated 24 Jun 2021).
The issue is still open and describes the exact same problem.

https://github.com/jazzband/pip-tools/issues/1437

## Installation

---

### 1 - Install into pre-commit

Just add to the pre-commit configuration file (.pre-commit-config.yaml).
I have configured it to run at every commit at the pre-commit stage of git.

```shell
  - repo: https://github.com/Stephen-RA-King/piptools-sync
    rev: 0.3.1
    hooks:
      - id: piptools_sync
```

### 2 - Install by pip

Installing by pip enables the package to be run from the command line at any time.

```sh
pip install piptools-sync
```

## Usage

---

### 1 - Automatic running by pre-commit

Passing example.

```shell
piptools_sync............................................................Passed
```

Failing example.

```shell
piptools_sync............................................................Failed
- hook id: piptools_sync
- exit code: 1
- files were modified by this hook

INFO:init:flake8          - piptools: 4.0.1      !=     pre-commit: 5.0.4
```

Note: In this case piptools-sync will automatically update the pre-commit config file with pip-tools version.
However, the commit with fail and will need to be re-run.

### 2 - Running from the command line

Passing example.

```shell
$ piptools_sync
Success! - pre-commit is in sync with piptools
```

Failing example.

```shell
$ piptools_sync
flake8          - piptools: 4.0.1      !=     pre-commit: 5.0.4
```

Note: In this case piptools-sync will automatically update the pre-commit config file with pip-tools version

_For more examples and usage, please refer to the [Wiki][wiki]._

## Documentation

---

[**Read the Docs**](https://piptools-sync.readthedocs.io/en/latest/?)

-   [**Example Usage**](https://piptools-sync.readthedocs.io/en/latest/example.html)
-   [**Credits**](https://piptools-sync.readthedocs.io/en/latest/example.html)
-   [**Changelog**](https://piptools-sync.readthedocs.io/en/latest/changelog.html)
-   [**API Reference**](https://piptools-sync.readthedocs.io/en/latest/autoapi/index.html)

[**Wiki**](https://github.com/Stephen-RA-King/piptools-sync/wiki)

## Future Enhancements

---

-   Move some global variables into a separate settings file (toml).
-   Settings configurable from the command line (and therefore configurable from the pre-commit.yaml file).
-   Improve web request performance with asyncio / aiohttp libraries.

## Meta

---

[![](assets/linkedin.png)](https://www.linkedin.com/in/sr-king)
[![](assets/github.png)](https://github.com/Stephen-RA-King)
[![](assets/pypi.png)](https://pypi.org/project/piptools-sync)
[![](assets/www.png)](https://www.justpython.tech)
[![](assets/email.png)](mailto:sking.github@gmail.com)

Stephen R A King : [sking.github@gmail.com](mailto:sking.github@gmail.com)

Distributed under the MIT license. See [![][license-image]][license-url] for more information.

Created with Cookiecutter template: [**pydough**][pydough-url] version 1.2.1

<!-- Markdown link & img dfn's -->

[bandit-image]: https://img.shields.io/badge/security-bandit-yellow.svg
[bandit-url]: https://github.com/PyCQA/bandit
[black-image]: https://img.shields.io/badge/code%20style-black-000000.svg
[black-url]: https://github.com/psf/black
[pydough-url]: https://github.com/Stephen-RA-King/pydough
[codeclimate-image]: https://api.codeclimate.com/v1/badges/9543c409696e9976a987/maintainability
[codeclimate-url]: https://codeclimate.com/github/Stephen-RA-King/piptools-sync/maintainability
[codecov-image]: https://codecov.io/gh/Stephen-RA-King/piptools-sync/branch/main/graph/badge.svg
[codecov-url]: https://app.codecov.io/gh/Stephen-RA-King/piptools-sync
[codefactor-image]: https://www.codefactor.io/repository/github/Stephen-RA-King/piptools-sync/badge
[codefactor-url]: https://www.codefactor.io/repository/github/Stephen-RA-King/piptools-sync
[codeql-image]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/github-code-scanning/codeql/badge.svg
[codeql-url]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/github-code-scanning/codeql
[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
[commitizen-url]: http://commitizen.github.io/cz-cli/
[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square
[conventional-commits-url]: https://conventionalcommits.org
[deepsource-image]: https://static.deepsource.io/deepsource-badge-light-mini.svg
[deepsource-url]: https://deepsource.io/gh/Stephen-RA-King/piptools-sync/?ref=repository-badge
[downloads-image]: https://static.pepy.tech/personalized-badge/piptools-sync?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads
[downloads-url]: https://pepy.tech/project/piptools-sync
[format-image]: https://img.shields.io/pypi/format/piptools-sync
[isort-image]: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
[isort-url]: https://github.com/pycqa/isort/
[lgtm-alerts-image]: https://img.shields.io/lgtm/alerts/g/Stephen-RA-King/piptools-sync.svg?logo=lgtm&logoWidth=18
[lgtm-alerts-url]: https://lgtm.com/projects/g/Stephen-RA-King/piptools-sync/alerts/
[lgtm-quality-image]: https://img.shields.io/lgtm/grade/python/g/Stephen-RA-King/piptools-sync.svg?logo=lgtm&logoWidth=18
[lgtm-quality-url]: https://lgtm.com/projects/g/Stephen-RA-King/piptools-sync/context:python
[license-image]: https://img.shields.io/pypi/l/piptools-sync
[license-url]: https://github.com/Stephen-RA-King/piptools-sync/blob/main/LICENSE
[mypy-image]: http://www.mypy-lang.org/static/mypy_badge.svg
[mypy-url]: http://mypy-lang.org/
[pip-tools-url]: https://github.com/jazzband/pip-tools/
[pre-commit-image]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
[pre-commit-url]: https://github.com/pre-commit/pre-commit
[pre-commit.ci-image]: https://results.pre-commit.ci/badge/github/Stephen-RA-King/piptools-sync/main.svg
[pre-commit.ci-url]: https://results.pre-commit.ci/latest/github/Stephen-RA-King/piptools-sync/main
[pypi-url]: https://pypi.org/project/piptools-sync/
[pypi-image]: https://img.shields.io/pypi/v/piptools-sync.svg
[python-version-image]: https://img.shields.io/pypi/pyversions/piptools-sync
[readthedocs-image]: https://readthedocs.org/projects/piptools-sync/badge/?version=latest
[readthedocs-url]: https://piptools-sync.readthedocs.io/en/latest/?badge=latest
[status-image]: https://img.shields.io/pypi/status/piptools-sync.svg
[tests-image]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/tests.yml/badge.svg
[tests-url]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/tests.yml
[wiki]: https://github.com/Stephen-RA-King/piptools-sync/wiki

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Stephen-RA-King/piptools-sync",
    "name": "piptools-sync",
    "maintainer": "Stephen R A King",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "sking.github@gmail.com",
    "keywords": "pre-commit-hooks,version-sync,pip-tools,pre-commit,dependency-manager",
    "author": "Stephen R A King",
    "author_email": "sking.github@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3f/08/98f72c3444c30913c89b6a0de6da62c82030bedf47196941adecab57167f/piptools_sync-1.0.4.tar.gz",
    "platform": "Any",
    "description": "# Piptools-sync\r\n\r\n---\r\n\r\n_**A pre-commit plugin to align pre-commit repository versions with those derived by pip-tools.**_\r\n\r\n[![PyPI][pypi-image]][pypi-url]\r\n[![Downloads][downloads-image]][downloads-url]\r\n[![Status][status-image]][pypi-url]\r\n[![Python Version][python-version-image]][pypi-url]\r\n[![tests][tests-image]][tests-url]\r\n[![Codecov][codecov-image]][codecov-url]\r\n[![CodeQl][codeql-image]][codeql-url]\r\n[![pre-commit.ci status][pre-commit.ci-image]][pre-commit.ci-url]\r\n[![readthedocs][readthedocs-image]][readthedocs-url]\r\n[![CodeFactor][codefactor-image]][codefactor-url]\r\n[![Codeclimate][codeclimate-image]][codeclimate-url]\r\n[![Imports: isort][isort-image]][isort-url]\r\n[![Code style: black][black-image]][black-url]\r\n[![Checked with mypy][mypy-image]][mypy-url]\r\n[![security: bandit][bandit-image]][bandit-url]\r\n[![Commitizen friendly][commitizen-image]][commitizen-url]\r\n[![Conventional Commits][conventional-commits-image]][conventional-commits-url]\r\n[![DeepSource][deepsource-image]][deepsource-url]\r\n[![license][license-image]][license-url]\r\n\r\n[**pip-tools**][pip-tools-url] and [**Pre-Commit**][pre-commit-url] are two of my favourite development tools. However, they don't always necessarily agree\r\non what versions of packages should be installed.\r\nThis lack of consolidation can lead to problems with pre-commit.\r\nThis pre-commit plugin syncs the pre-commit package versions with the versions generated by pip-tools' compile process.\r\n\r\n![](assets/header.png)\r\n\r\n## Introduction\r\n\r\n---\r\n\r\n### Project Rationale\r\n\r\nA while ago I came across an issue committing files to my local git repository. The issue occured at the flake8 linting stage using pre-commit.\r\nThere was however no problem manually running flake8 from the command line. Upon investigation It was found that flake8 had an\r\nincompatibility issue with one of its plugins.\r\nWith further investigation I noticed that pip-tools had pinned flake8 to an earlier version to what pre-commit was caching.\r\n\r\nIn short - pip-tools does a spectacularly good job pinning your dependencies and the dependencies of these dependencies. It has one job to do and it does it perfectly.\r\nThe pre-commit autoupdate command just updates the \"rev\" for the \"repo\" in the .pre-commit-config.yaml file to the latest version available and ignores the dependencies.\r\n\r\nThe following example displays the way flake8 and a few plugins are configured by the two tools :\r\n\r\n-   pip-tools (via requirements.txt)\r\n\r\n```shell\r\nflake8==4.0.1\r\n    # via ...\r\nflake8-bugbear==22.8.23\r\n    # via ...\r\nflake8-comprehensions==3.10.0\r\n    # via ...\r\nflake8-eradicate==1.3.0\r\n    # via ...\r\nflake8-simplify==0.19.3\r\n    # via ...\r\n```\r\n\r\n-   pre-commit (via .pre-commit-config.yaml)\r\n\r\n```shell\r\n  - repo: https://github.com/pycqa/flake8\r\n    rev 5.0.4\r\n    hooks:\r\n      - id: flake8\r\n        additional_dependencies:\r\n          - flake8-bugbear\r\n          - flake8-comprehensions\r\n          - flake8-eradicate\r\n          - flake8-simplify\r\n        args: [\"--ignore=E800,F842,F841,W503\"]\r\n```\r\n\r\nIf we force pip-tools to use a later version of flake8 (e,g 5.0.4) by manually pinning the version in the \".in\" file and recompiling it is clear pip-tools is unhappy... A quick look at the dependencies shows why.\r\n\r\n```shell\r\nCould not find a version that matches flake8!=3.2.0,<5.0.0,<6,==5.0.4,>=3.0.0,>=3.3.0,>=3.5,>=3.7,>=3.9.1,>=4.0.1 (from -r requirements\\development.in (line 12))\r\nTried: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.4, 1.5, 1.6, 1.6.1, 1.6.2, 1.7.0, 2.0, 2.1.0, 2.2.0, 2.2.0, 2.2.1, 2.2.1, 2.2.2, 2.2.2, 2.2.3, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.3.0, 2.4.0, 2.4.0, 2.4.1, 2.4.1, 2.5.0, 2.5.0, 2.5.1, 2.5.1, 2.5.2, 2.5.2, 2.5.3, 2.5.3, 2.5.4, 2.5.4, 2.5.5, 2.5.5, 2.6.0, 2.6.0, 2.6.1, 2.6.1, 2.6.2, 2.6.2, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.0.2, 3.0.2, 3.0.3, 3.0.3, 3.0.4, 3.0.4, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.4.0, 3.4.0, 3.4.1, 3.4.1, 3.5.0, 3.5.0, 3.6.0, 3.6.0, 3.7.0, 3.7.0, 3.7.1, 3.7.1, 3.7.2, 3.7.2, 3.7.3, 3.7.3, 3.7.4, 3.7.4, 3.7.5, 3.7.5, 3.7.6, 3.7.6, 3.7.7, 3.7.7, 3.7.8, 3.7.8, 3.7.9, 3.7.9, 3.8.0, 3.8.0, 3.8.1, 3.8.1, 3.8.2, 3.8.2, 3.8.3, 3.8.3, 3.8.4, 3.8.4, 3.9.0, 3.9.0, 3.9.1, 3.9.1, 3.9.2, 3.9.2, 4.0.0, 4.0.0, 4.0.1, 4.0.1, 5.0.0, 5.0.0, 5.0.1, 5.0.1, 5.0.2, 5.0.2, 5.0.3, 5.0.3, 5.0.4, 5.0.4\r\nSkipped pre-versions: 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.2.dev0, 3.0.2.dev0, 3.0.2.dev1, 3.3.0.dev0, 3.8.0a1, 3.8.0a1, 3.8.0a2, 3.8.0a2\r\nThere are incompatible versions in the resolved dependencies:\r\n  flake8==5.0.4 (from -r requirements\\development.in (line 12))\r\n  flake8>=3.7 (from flake8-simplify==0.19.3->-r requirements\\development.in (line 20))\r\n  flake8<5.0.0 (from flake8-bugbear==22.8.23->-r requirements\\development.in (line 14))\r\n  flake8!=3.2.0,>=3.0 (from flake8-comprehensions==3.10.0->-r requirements\\development.in (line 15))\r\n  flake8<6,>=3.5 (from flake8-eradicate==1.3.0->-r requirements\\development.in (line 17))\r\n```\r\n\r\nThe tools store packages in different areas on the file system. Pre-commit uses a cache area in the user folder, whereas pip-tools uses the usual site-packages area.\r\n\r\nIt should be noted that not all pre-commit hooks are written in Python for Python, so it makes sense that it has its own cache file system independent of pip.\r\nTherefore, not all pre-commit repositories have an entry in PyPI. They can simply be defined by a GitHub repository URL.\r\n\r\nLastly, browsing the internet looking for a solution I came across the following issue raised under the pip-tools project (dated 24 Jun 2021).\r\nThe issue is still open and describes the exact same problem.\r\n\r\nhttps://github.com/jazzband/pip-tools/issues/1437\r\n\r\n## Installation\r\n\r\n---\r\n\r\n### 1 - Install into pre-commit\r\n\r\nJust add to the pre-commit configuration file (.pre-commit-config.yaml).\r\nI have configured it to run at every commit at the pre-commit stage of git.\r\n\r\n```shell\r\n  - repo: https://github.com/Stephen-RA-King/piptools-sync\r\n    rev: 0.3.1\r\n    hooks:\r\n      - id: piptools_sync\r\n```\r\n\r\n### 2 - Install by pip\r\n\r\nInstalling by pip enables the package to be run from the command line at any time.\r\n\r\n```sh\r\npip install piptools-sync\r\n```\r\n\r\n## Usage\r\n\r\n---\r\n\r\n### 1 - Automatic running by pre-commit\r\n\r\nPassing example.\r\n\r\n```shell\r\npiptools_sync............................................................Passed\r\n```\r\n\r\nFailing example.\r\n\r\n```shell\r\npiptools_sync............................................................Failed\r\n- hook id: piptools_sync\r\n- exit code: 1\r\n- files were modified by this hook\r\n\r\nINFO:init:flake8          - piptools: 4.0.1      !=     pre-commit: 5.0.4\r\n```\r\n\r\nNote: In this case piptools-sync will automatically update the pre-commit config file with pip-tools version.\r\nHowever, the commit with fail and will need to be re-run.\r\n\r\n### 2 - Running from the command line\r\n\r\nPassing example.\r\n\r\n```shell\r\n$ piptools_sync\r\nSuccess! - pre-commit is in sync with piptools\r\n```\r\n\r\nFailing example.\r\n\r\n```shell\r\n$ piptools_sync\r\nflake8          - piptools: 4.0.1      !=     pre-commit: 5.0.4\r\n```\r\n\r\nNote: In this case piptools-sync will automatically update the pre-commit config file with pip-tools version\r\n\r\n_For more examples and usage, please refer to the [Wiki][wiki]._\r\n\r\n## Documentation\r\n\r\n---\r\n\r\n[**Read the Docs**](https://piptools-sync.readthedocs.io/en/latest/?)\r\n\r\n-   [**Example Usage**](https://piptools-sync.readthedocs.io/en/latest/example.html)\r\n-   [**Credits**](https://piptools-sync.readthedocs.io/en/latest/example.html)\r\n-   [**Changelog**](https://piptools-sync.readthedocs.io/en/latest/changelog.html)\r\n-   [**API Reference**](https://piptools-sync.readthedocs.io/en/latest/autoapi/index.html)\r\n\r\n[**Wiki**](https://github.com/Stephen-RA-King/piptools-sync/wiki)\r\n\r\n## Future Enhancements\r\n\r\n---\r\n\r\n-   Move some global variables into a separate settings file (toml).\r\n-   Settings configurable from the command line (and therefore configurable from the pre-commit.yaml file).\r\n-   Improve web request performance with asyncio / aiohttp libraries.\r\n\r\n## Meta\r\n\r\n---\r\n\r\n[![](assets/linkedin.png)](https://www.linkedin.com/in/sr-king)\r\n[![](assets/github.png)](https://github.com/Stephen-RA-King)\r\n[![](assets/pypi.png)](https://pypi.org/project/piptools-sync)\r\n[![](assets/www.png)](https://www.justpython.tech)\r\n[![](assets/email.png)](mailto:sking.github@gmail.com)\r\n\r\nStephen R A King : [sking.github@gmail.com](mailto:sking.github@gmail.com)\r\n\r\nDistributed under the MIT license. See [![][license-image]][license-url] for more information.\r\n\r\nCreated with Cookiecutter template: [**pydough**][pydough-url] version 1.2.1\r\n\r\n<!-- Markdown link & img dfn's -->\r\n\r\n[bandit-image]: https://img.shields.io/badge/security-bandit-yellow.svg\r\n[bandit-url]: https://github.com/PyCQA/bandit\r\n[black-image]: https://img.shields.io/badge/code%20style-black-000000.svg\r\n[black-url]: https://github.com/psf/black\r\n[pydough-url]: https://github.com/Stephen-RA-King/pydough\r\n[codeclimate-image]: https://api.codeclimate.com/v1/badges/9543c409696e9976a987/maintainability\r\n[codeclimate-url]: https://codeclimate.com/github/Stephen-RA-King/piptools-sync/maintainability\r\n[codecov-image]: https://codecov.io/gh/Stephen-RA-King/piptools-sync/branch/main/graph/badge.svg\r\n[codecov-url]: https://app.codecov.io/gh/Stephen-RA-King/piptools-sync\r\n[codefactor-image]: https://www.codefactor.io/repository/github/Stephen-RA-King/piptools-sync/badge\r\n[codefactor-url]: https://www.codefactor.io/repository/github/Stephen-RA-King/piptools-sync\r\n[codeql-image]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/github-code-scanning/codeql/badge.svg\r\n[codeql-url]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/github-code-scanning/codeql\r\n[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\r\n[commitizen-url]: http://commitizen.github.io/cz-cli/\r\n[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square\r\n[conventional-commits-url]: https://conventionalcommits.org\r\n[deepsource-image]: https://static.deepsource.io/deepsource-badge-light-mini.svg\r\n[deepsource-url]: https://deepsource.io/gh/Stephen-RA-King/piptools-sync/?ref=repository-badge\r\n[downloads-image]: https://static.pepy.tech/personalized-badge/piptools-sync?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads\r\n[downloads-url]: https://pepy.tech/project/piptools-sync\r\n[format-image]: https://img.shields.io/pypi/format/piptools-sync\r\n[isort-image]: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336\r\n[isort-url]: https://github.com/pycqa/isort/\r\n[lgtm-alerts-image]: https://img.shields.io/lgtm/alerts/g/Stephen-RA-King/piptools-sync.svg?logo=lgtm&logoWidth=18\r\n[lgtm-alerts-url]: https://lgtm.com/projects/g/Stephen-RA-King/piptools-sync/alerts/\r\n[lgtm-quality-image]: https://img.shields.io/lgtm/grade/python/g/Stephen-RA-King/piptools-sync.svg?logo=lgtm&logoWidth=18\r\n[lgtm-quality-url]: https://lgtm.com/projects/g/Stephen-RA-King/piptools-sync/context:python\r\n[license-image]: https://img.shields.io/pypi/l/piptools-sync\r\n[license-url]: https://github.com/Stephen-RA-King/piptools-sync/blob/main/LICENSE\r\n[mypy-image]: http://www.mypy-lang.org/static/mypy_badge.svg\r\n[mypy-url]: http://mypy-lang.org/\r\n[pip-tools-url]: https://github.com/jazzband/pip-tools/\r\n[pre-commit-image]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\r\n[pre-commit-url]: https://github.com/pre-commit/pre-commit\r\n[pre-commit.ci-image]: https://results.pre-commit.ci/badge/github/Stephen-RA-King/piptools-sync/main.svg\r\n[pre-commit.ci-url]: https://results.pre-commit.ci/latest/github/Stephen-RA-King/piptools-sync/main\r\n[pypi-url]: https://pypi.org/project/piptools-sync/\r\n[pypi-image]: https://img.shields.io/pypi/v/piptools-sync.svg\r\n[python-version-image]: https://img.shields.io/pypi/pyversions/piptools-sync\r\n[readthedocs-image]: https://readthedocs.org/projects/piptools-sync/badge/?version=latest\r\n[readthedocs-url]: https://piptools-sync.readthedocs.io/en/latest/?badge=latest\r\n[status-image]: https://img.shields.io/pypi/status/piptools-sync.svg\r\n[tests-image]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/tests.yml/badge.svg\r\n[tests-url]: https://github.com/Stephen-RA-King/piptools-sync/actions/workflows/tests.yml\r\n[wiki]: https://github.com/Stephen-RA-King/piptools-sync/wiki\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A piptools pre-commit version sync utility",
    "version": "1.0.4",
    "project_urls": {
        "Download": "https://github.com/Stephen-RA-King/piptools_sync/archive/refs/heads/main.zip",
        "Homepage": "https://github.com/Stephen-RA-King/piptools-sync",
        "Issue Tracker": "https://github.com/Stephen-RA-King/piptools_sync/issues",
        "Release Notes": "https://github.com/Stephen-RA-King/piptools_sync/releases",
        "Source Code": "https://github.com/Stephen-RA-King/piptools_sync/",
        "documentation": "https://piptools-sync.readthedocs.io/en/latest/"
    },
    "split_keywords": [
        "pre-commit-hooks",
        "version-sync",
        "pip-tools",
        "pre-commit",
        "dependency-manager"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c2413b32f055a06ce3e967ac0e043c1fc048a0a8ff41a6b0bed413703355287",
                "md5": "1a8cce699463bbd3f4462b6b58a39eb1",
                "sha256": "1f8ef16199e4b8f711bee2a8a3d44b526d3b0b8f1aa050b69fb90d3656a24f68"
            },
            "downloads": -1,
            "filename": "piptools_sync-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1a8cce699463bbd3f4462b6b58a39eb1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 19287,
            "upload_time": "2023-06-12T11:18:35",
            "upload_time_iso_8601": "2023-06-12T11:18:35.374162Z",
            "url": "https://files.pythonhosted.org/packages/5c/24/13b32f055a06ce3e967ac0e043c1fc048a0a8ff41a6b0bed413703355287/piptools_sync-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f0898f72c3444c30913c89b6a0de6da62c82030bedf47196941adecab57167f",
                "md5": "1810cf3872e16dd655984970217a275f",
                "sha256": "cdc3fe32c637f2df16e536ade44315c38d6ba8ea1e5ba62ef57056f94a7049c3"
            },
            "downloads": -1,
            "filename": "piptools_sync-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "1810cf3872e16dd655984970217a275f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 23142,
            "upload_time": "2023-06-12T11:18:37",
            "upload_time_iso_8601": "2023-06-12T11:18:37.383626Z",
            "url": "https://files.pythonhosted.org/packages/3f/08/98f72c3444c30913c89b6a0de6da62c82030bedf47196941adecab57167f/piptools_sync-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-12 11:18:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Stephen-RA-King",
    "github_project": "piptools-sync",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "piptools-sync"
}
        
Elapsed time: 0.07847s