{ "info": { "author": "night-crawler", "author_email": "lilo.panic@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "UPDATE PACKAGE VERSION\n======================\n\nThis package provides a python executable that delivers a path-wide\nversion bump feature. It reads ``~/.update-package-version.yml`` file\nfor root paths from which it should start its recursive package search.\n\nPackage versions are updated using these glob patterns by default: -\n``**/Pipfile`` - ``**/requirements.txt`` - ``requirements/**.txt``\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install update-package-version\n\nUsage\n-----\n\n.. code:: bash\n\n ./upv.py -- --help\n\n # upv.py [CONFIG_FILE_PATH] [CONFIG_FILE_NAME] [CWD]\n # upv.py [--config-file-path CONFIG_FILE_PATH] [--config-file-name CONFIG_FILE_NAME] [--cwd CWD]\n\n.. code:: bash\n\n # You can use update-package-version command\n # or upv shortcut\n upv find package-name --src 0.0.1\n upv find package-name\n upv update package-name --src 0.0.1 --trg 1.1.1\n\n # Assumes src == *\n upv update package-name --trg 1.1.1\n\nConfiguration\n-------------\n\n.. code:: yaml\n\n ######################################\n # CONVENIENCE PYTHON PACKAGE ALIASES #\n ######################################\n .RE:\n # matches `sample-package` and `sample-package==0.0.1`\n .package: &include-package '(?P{package})(?P\\=\\=|\\<\\=|\\>\\=|\\<|\\>)?(?P[\\-\\d\\.]+)?'\n\n # matches `sample-package.git@0.0.1`\n .git-package: &include-git-package '(?P{package})\\.git@(?P[\\-\\d\\.]+)'\n\n .EXCLUDE:\n # matches all the lines start with the hash character\n .comment: &no-comment '^\\s*#.+'\n\n # just aliasing `*include-git-package` to make it more readable across the config file\n .git-package: &no-git-package '(?P{package})\\.git@(?P[\\-\\d\\.]+)'\n\n ########################################\n # SOME USEFUL PYTHON PATTERN TEMPLATES #\n ########################################\n .GENERIC-PATTERNS:\n # use these lines along with something like `pattern: '**/requirements.txt'`\n .generic-requirements-package: &generic-requirements-package\n replacer: RegexReplacer\n # AND logic is used here\n include-patterns: []\n # OR logic is used here\n match-patterns:\n - *include-package\n # OR logic is used here\n exclude-patterns:\n - *no-git-package\n - *no-comment\n\n .git-repo-requirements-package: &git-repo-requirements-package\n replacer: RegexReplacer\n match-patterns:\n - *include-git-package\n exclude-patterns:\n - *no-comment\n\n defaults:\n file-patterns: &default-file-patterns\n # Generic Pipfile parser\n - pattern: '**/Pipfile'\n replacer: PipfileReplacer\n\n # an utterly broad glob pattern for everything that looks like a python package file,\n # but NOT a .git repo\n - pattern: '**/requirements.txt'\n <<: *generic-requirements-package\n\n # and this one for .git repo ONLY\n - pattern: '**/requirements.txt'\n <<: *git-repo-requirements-package\n\n # ... when you love segmentation too much\n - pattern: '**/requirements/*.txt'\n <<: *generic-requirements-package\n\n - pattern: '**/requirements/*.txt'\n <<: *git-repo-requirements-package\n\n origins:\n - root: '/tmp/sample-project-group'\n file-patterns: *default-file-patterns\n on-update:\n - echo LOL LOL LOL\n - echo COOL COOL COOL\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/night-crawler/update-package-version", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "update-package-version", "package_url": "https://pypi.org/project/update-package-version/", "platform": "", "project_url": "https://pypi.org/project/update-package-version/", "project_urls": { "Homepage": "https://github.com/night-crawler/update-package-version" }, "release_url": "https://pypi.org/project/update-package-version/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A python executable that delivers a path-wide version bump feature", "version": "0.1.3" }, "last_serial": 4343704, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "0452621efa75840e285f3c30f2fab46a", "sha256": "17ca7189920c08d6423bac625e8577d6523a71522f7d3093fe7e3874bea235a9" }, "downloads": -1, "filename": "update_package_version-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0452621efa75840e285f3c30f2fab46a", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 21247, "upload_time": "2018-10-05T11:09:27", "url": "https://files.pythonhosted.org/packages/67/73/fa3ff06bacb79d518ebdf86f9b6b7d2e8f4f36428e08541ba0cb0e877492/update_package_version-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4da8e25b755889db877942be846059d3", "sha256": "9748457ca4caf281a502342aba3f2cfc9722c788a424e22e9fbcf1c0a538c9e3" }, "downloads": -1, "filename": "update-package-version-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4da8e25b755889db877942be846059d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15203, "upload_time": "2018-10-05T11:09:25", "url": "https://files.pythonhosted.org/packages/50/4d/3800220c851cba34d9d0b9871d37b909d2eb2073b3f775b17c2d26ec10aa/update-package-version-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0452621efa75840e285f3c30f2fab46a", "sha256": "17ca7189920c08d6423bac625e8577d6523a71522f7d3093fe7e3874bea235a9" }, "downloads": -1, "filename": "update_package_version-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0452621efa75840e285f3c30f2fab46a", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 21247, "upload_time": "2018-10-05T11:09:27", "url": "https://files.pythonhosted.org/packages/67/73/fa3ff06bacb79d518ebdf86f9b6b7d2e8f4f36428e08541ba0cb0e877492/update_package_version-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4da8e25b755889db877942be846059d3", "sha256": "9748457ca4caf281a502342aba3f2cfc9722c788a424e22e9fbcf1c0a538c9e3" }, "downloads": -1, "filename": "update-package-version-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4da8e25b755889db877942be846059d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15203, "upload_time": "2018-10-05T11:09:25", "url": "https://files.pythonhosted.org/packages/50/4d/3800220c851cba34d9d0b9871d37b909d2eb2073b3f775b17c2d26ec10aa/update-package-version-0.1.3.tar.gz" } ] }