# conan-check-updates
[![CI](https://github.com/lukasberbuer/conan-check-updates/workflows/CI/badge.svg)](https://github.com/lukasberbuer/conan-check-updates/actions)
[![Coverage Status](https://coveralls.io/repos/github/lukasberbuer/conan-check-updates/badge.svg?branch=master)](https://coveralls.io/github/lukasberbuer/conan-check-updates?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/conan-check-updates)](https://pypi.org/project/conan-check-updates)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/conan-check-updates)](https://pypi.org/project/conan-check-updates)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
Check for updates of your `conanfile.txt` / `conanfile.py` requirements.
<p align="center">
<img src="https://raw.githubusercontent.com/lukasberbuer/conan-check-updates/master/docs/screenshot.png" alt="Screenshot" width="600">
</p>
This application is heavily inspired by [npm-check-updates](https://github.com/raineorshine/npm-check-updates).
## Installation
Install the latest version from PyPI:
```
pip install -U conan-check-updates
```
## Usage
<!-- [[[cog
from subprocess import check_output
import cog
usage = check_output(("conan-check-updates", "--help")).decode()
cog.outl("```")
for line in usage.splitlines():
cog.outl(line)
cog.outl("```")
]]] -->
```
usage: conan-check-updates [--cwd CWD] [--target {major,minor,patch}]
[--timeout TIMEOUT] [-u] [-V] [-h]
[filter ...]
Check for updates of your conanfile.txt/conanfile.py requirements.
positional arguments:
filter Include only package names matching any of the given
strings or patterns. Wildcards (*, ?) are allowed.
Patterns can be inverted with a prepended !, e.g.
!boost*. (default: None)
options:
--cwd CWD Path to a folder containing a recipe or to a recipe
file directly (conanfile.py or conanfile.txt).
(default: .)
--target {major,minor,patch}
Limit update level: major, minor or patch. (default:
major)
--timeout TIMEOUT Timeout for `conan search` in seconds. (default: 30)
-u, --upgrade Overwrite conanfile with upgraded versions. (default:
False)
-V, --version Show the version and exit.
-h, --help Show this message and exit.
```
<!-- [[[end]]] -->
## Contributing
Contributions are happily accepted.
Just [create an issue](https://github.com/lukasberbuer/conan-check-updates/issues/new) or make a pull-request.
### Development setup
```sh
# Clone repository
git clone https://github.com/lukasberbuer/conan-check-updates.git
cd conan-check-updates
# Install package and development tools
pip install -e .[dev]
# Install the git hook scripts
pre-commit install
# Run checks & tests with tox
tox
```
Raw data
{
"_id": null,
"home_page": null,
"name": "conan-check-updates",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "conan, update, upgrade, package, requirements, node-check-updates",
"author": null,
"author_email": "Lukas Berbuer <lukas.berbuer@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/2f/cb/0c50bf6a2726750dfe7b240e90e03a1d2762f162347868e8e9adca9c4187/conan-check-updates-0.3.0.tar.gz",
"platform": null,
"description": "# conan-check-updates\n\n[![CI](https://github.com/lukasberbuer/conan-check-updates/workflows/CI/badge.svg)](https://github.com/lukasberbuer/conan-check-updates/actions)\n[![Coverage Status](https://coveralls.io/repos/github/lukasberbuer/conan-check-updates/badge.svg?branch=master)](https://coveralls.io/github/lukasberbuer/conan-check-updates?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI](https://img.shields.io/pypi/v/conan-check-updates)](https://pypi.org/project/conan-check-updates)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/conan-check-updates)](https://pypi.org/project/conan-check-updates)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nCheck for updates of your `conanfile.txt` / `conanfile.py` requirements.\n\n<p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/lukasberbuer/conan-check-updates/master/docs/screenshot.png\" alt=\"Screenshot\" width=\"600\">\n</p>\n\nThis application is heavily inspired by [npm-check-updates](https://github.com/raineorshine/npm-check-updates).\n\n## Installation\n\nInstall the latest version from PyPI:\n\n```\npip install -U conan-check-updates\n```\n\n## Usage\n\n<!-- [[[cog\nfrom subprocess import check_output\nimport cog\n\nusage = check_output((\"conan-check-updates\", \"--help\")).decode()\ncog.outl(\"```\")\nfor line in usage.splitlines():\n cog.outl(line)\ncog.outl(\"```\")\n]]] -->\n\n```\nusage: conan-check-updates [--cwd CWD] [--target {major,minor,patch}]\n [--timeout TIMEOUT] [-u] [-V] [-h]\n [filter ...]\n\nCheck for updates of your conanfile.txt/conanfile.py requirements.\n\npositional arguments:\n filter Include only package names matching any of the given\n strings or patterns. Wildcards (*, ?) are allowed.\n Patterns can be inverted with a prepended !, e.g.\n !boost*. (default: None)\n\noptions:\n --cwd CWD Path to a folder containing a recipe or to a recipe\n file directly (conanfile.py or conanfile.txt).\n (default: .)\n --target {major,minor,patch}\n Limit update level: major, minor or patch. (default:\n major)\n --timeout TIMEOUT Timeout for `conan search` in seconds. (default: 30)\n -u, --upgrade Overwrite conanfile with upgraded versions. (default:\n False)\n -V, --version Show the version and exit.\n -h, --help Show this message and exit.\n```\n\n<!-- [[[end]]] -->\n\n## Contributing\n\nContributions are happily accepted.\nJust [create an issue](https://github.com/lukasberbuer/conan-check-updates/issues/new) or make a pull-request.\n\n### Development setup\n\n```sh\n# Clone repository\ngit clone https://github.com/lukasberbuer/conan-check-updates.git\ncd conan-check-updates\n\n# Install package and development tools\npip install -e .[dev]\n\n# Install the git hook scripts\npre-commit install\n\n# Run checks & tests with tox\ntox\n```\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Check for updates of your conanfile.txt/conanfile.py requirements.",
"version": "0.3.0",
"project_urls": {
"Changelog": "https://github.com/lukasberbuer/conan-check-updates/blob/master/CHANGELOG.md",
"Issues": "https://github.com/lukasberbuer/conan-check-updates/issues",
"Source": "https://github.com/lukasberbuer/conan-check-updates"
},
"split_keywords": [
"conan",
" update",
" upgrade",
" package",
" requirements",
" node-check-updates"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "26d62eb7c25c76ce67a775db0f44088436a063e885382c93d49ef04bcb16c143",
"md5": "58a3a9ef89a40414d7d5bb6916109d1a",
"sha256": "c2377708112027cc9bcdc0e15a32d126fb20e3f151476b20219ed6aa97ec817f"
},
"downloads": -1,
"filename": "conan_check_updates-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "58a3a9ef89a40414d7d5bb6916109d1a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 16683,
"upload_time": "2024-04-08T15:42:21",
"upload_time_iso_8601": "2024-04-08T15:42:21.551277Z",
"url": "https://files.pythonhosted.org/packages/26/d6/2eb7c25c76ce67a775db0f44088436a063e885382c93d49ef04bcb16c143/conan_check_updates-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2fcb0c50bf6a2726750dfe7b240e90e03a1d2762f162347868e8e9adca9c4187",
"md5": "b1fd193463bdba17ab28bfc7ebb71f37",
"sha256": "26aae529c6e14356bfb7a2ebf65cc2268410171177786eb01f09b810ca5f0ea5"
},
"downloads": -1,
"filename": "conan-check-updates-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "b1fd193463bdba17ab28bfc7ebb71f37",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 111402,
"upload_time": "2024-04-08T15:42:23",
"upload_time_iso_8601": "2024-04-08T15:42:23.100459Z",
"url": "https://files.pythonhosted.org/packages/2f/cb/0c50bf6a2726750dfe7b240e90e03a1d2762f162347868e8e9adca9c4187/conan-check-updates-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-08 15:42:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lukasberbuer",
"github_project": "conan-check-updates",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "conan-check-updates"
}