{ "info": { "author": "Desmond O. Chang", "author_email": "dochang@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Bumplus\n=======\n\n.. image:: https://travis-ci.org/dochang/bumplus.svg?branch=master\n :target: https://travis-ci.org/dochang/bumplus\n\n.. image:: https://codecov.io/gh/dochang/bumplus/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/dochang/bumplus\n :alt: Codecov\n\n.. image:: https://img.shields.io/pypi/l/bumplus.svg\n :alt: PyPI - License\n :target: https://pypi.python.org/pypi/bumplus\n\n.. image:: https://img.shields.io/pypi/wheel/bumplus.svg\n :alt: PyPI - Wheel\n :target: https://pypi.python.org/pypi/bumplus\n\n.. image:: https://img.shields.io/pypi/format/bumplus.svg\n :alt: PyPI - Format\n :target: https://pypi.python.org/pypi/bumplus\n\n.. image:: https://img.shields.io/pypi/pyversions/bumplus.svg\n :alt: PyPI - Python Version\n :target: https://pypi.python.org/pypi/bumplus\n\n.. image:: https://badge.fury.io/py/bumplus.svg\n :target: https://badge.fury.io/py/bumplus\n\n.. image:: https://requires.io/github/dochang/bumplus/requirements.svg?branch=master\n :target: https://requires.io/github/dochang/bumplus/requirements/?branch=master\n :alt: Requirements Status\n\n.. image:: https://pyup.io/repos/github/dochang/bumplus/shield.svg\n :target: https://pyup.io/repos/github/dochang/bumplus/\n :alt: Updates\n\n.. image:: https://pyup.io/repos/github/dochang/bumplus/python-3-shield.svg\n :target: https://pyup.io/repos/github/dochang/bumplus/\n :alt: Python 3\n\n.. image:: https://img.shields.io/badge/say-thanks-green.svg\n :target: https://saythanks.io/to/dochang\n :alt: Say Thanks!\n\nBumplus is a command line tool to bump your project version.\n\nPrerequisites\n-------------\n\nPython 2.7, 3.4, 3.5, 3.6, 3.7\n\nInstallation\n------------\n\n::\n\n pip install bumplus\n\nUsage\n-----\n\nPut a TOML_ file named `.bumplus.toml` in the top-level directory of your project. This file at least contains the following content:\n\n::\n\n version = \"\"\n\nSee Configuration_ for more config options.\n\n.. _TOML: https://github.com/toml-lang/toml\n\nCommand line\n~~~~~~~~~~~~\n\n::\n\n cd \n bumplus \n\nUse `bumplus --help` to display the help text.\n\nPython\n~~~~~~\n\n::\n\n import bumplus\n bp = bumplus.Bumplus('')\n bp.bump_version('')\n\nExample of `.bumplus.toml`\n--------------------------------\n\n::\n\n version = '1.2.3'\n\n [[files.\"CHANGELOG.md\"]]\n search = '''\n ## Unreleased\n '''\n replace = '''\n ## Unreleased\n\n ## {{new_version}} - {{utcnow | strftime(\"%Y-%m-%d\")}}\n '''\n\n [[files.\"CHANGELOG.md\"]]\n search = '''\n http://host/changelog/{{old_version}}.html\n '''\n search = '''\n http://host/changelog/{{new_version}}.html\n http://host/changelog/{{old_version}}.html\n '''\n\n [[files.\"LICENSE\"]]\n search = '{{old_version}}'\n replace = '{{new_version}}'\n\n [[files.\"src/version.py\"]]\n search = '{{old_version}}'\n replace = '{{new_version}}'\n\nConfiguration\n-------------\n\nversion\n~~~~~~~\n\nA string that is the current version.\n\nfiles\n~~~~~\n\nA table which configures all files need to be modified.\n\nEvery key is a relative path name. The value of a key is an array of replacement config. Every item of an array is an object which has two keys: `search` and `replace`. The value of `search` is the pattern to be replaced. The value of `replace` is the new text after replacing.\n\nThe contents of `search` and `replace` are Jinja2_ templates. Several predefined variables can be used in the templates:\n\n- `old_version`\n- `new_version`\n- `now`\n- `utcnow`\n\n`now` and `utcnow` are Python `datetime` objects.\n\nThe Jinja2 templates also support a custom filter `strftime`, which is used to format time such as `now` and `utcnow`. The format string is the same as the parameter of `strftime` method of Python `datetime` object.\n\n.. _Jinja2: http://jinja.pocoo.org/\n\n.. attention:: Bumplus always replaces the current version in `.bumplus.toml` after processing all files in the configuration.\n\nLicense\n-------\n\n`MIT `_\n\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/dochang/bumplus", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bumplus", "package_url": "https://pypi.org/project/bumplus/", "platform": "", "project_url": "https://pypi.org/project/bumplus/", "project_urls": { "Homepage": "https://github.com/dochang/bumplus" }, "release_url": "https://pypi.org/project/bumplus/0.1.6/", "requires_dist": [ "pytoml", "Jinja2" ], "requires_python": "", "summary": "Bump the version in the project files.", "version": "0.1.6" }, "last_serial": 4539240, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "d379207fa2ea2bac6d50d790d77e2b6e", "sha256": "4f2ed48d95aaa33e6babd20b8192ed953890ae303b0975e9a45cd38e614b145f" }, "downloads": -1, "filename": "bumplus-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d379207fa2ea2bac6d50d790d77e2b6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4938, "upload_time": "2016-06-01T08:41:35", "url": "https://files.pythonhosted.org/packages/fc/13/7f03fce988d353ae70168c85ec23acfd947fccfed03478092fd141cac4ad/bumplus-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "274418cc83f8aaa224b48ae3f7a64d0c", "sha256": "e32dfa90890561f9b02a1483d73dd38cb7f94700598deebebe17b5cc01f76dc7" }, "downloads": -1, "filename": "bumplus-0.0.3.tar.gz", "has_sig": false, "md5_digest": "274418cc83f8aaa224b48ae3f7a64d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5011, "upload_time": "2016-06-01T09:08:11", "url": "https://files.pythonhosted.org/packages/ed/34/92cf352ef0b462794dfacbf9dee49c900e81b8b24d7fbb40109de40f028b/bumplus-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "c27d3d66f0573f8e444f9c52cfc298a1", "sha256": "2089d4e0edc6faeadb91b0bad559dbc513429109938e780eb5eab0a1e0c812ed" }, "downloads": -1, "filename": "bumplus-0.0.4.tar.gz", "has_sig": false, "md5_digest": "c27d3d66f0573f8e444f9c52cfc298a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5072, "upload_time": "2016-07-02T18:24:08", "url": "https://files.pythonhosted.org/packages/67/c5/78ec5d556292018c5dec3ea1890e72e998b2bfd78c2230c191b76bcdbea8/bumplus-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e300ebfc266e75594661e45bae0abcf5", "sha256": "88c40b2f974d4ab4d2448057a37327dd4ef2b4affd46cee08c4f2ae9e3937f68" }, "downloads": -1, "filename": "bumplus-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e300ebfc266e75594661e45bae0abcf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5091, "upload_time": "2016-07-12T13:26:27", "url": "https://files.pythonhosted.org/packages/2a/a1/e3ff752fe1410ed2dc3e422d046e70474e3df20312784d75518d9084024f/bumplus-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "15821f72133f010d8cd615a0faa5e99e", "sha256": "834cdca61b6b512c28132cadb90c79a535988354c93912607e3411c08f003150" }, "downloads": -1, "filename": "bumplus-0.0.6.tar.gz", "has_sig": false, "md5_digest": "15821f72133f010d8cd615a0faa5e99e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5118, "upload_time": "2016-07-24T13:57:28", "url": "https://files.pythonhosted.org/packages/8a/a7/0a8bcf4bd39332ceaa859ee456abc05ec028a64d072e8ae5afdd0b319df2/bumplus-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "47f0a7ed5b4acef24725b0261888fd6a", "sha256": "cff54153e4a6e3f21388a94a5c18aaa0ce22fd877780a884a1a1983af58ce645" }, "downloads": -1, "filename": "bumplus-0.0.7.tar.gz", "has_sig": false, "md5_digest": "47f0a7ed5b4acef24725b0261888fd6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5123, "upload_time": "2016-12-07T19:13:10", "url": "https://files.pythonhosted.org/packages/f7/85/0840b622cbc684f554515fdc0c6a653996c21503b408b76c1bddc136e13c/bumplus-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "c49a35198214a737bd8926e4af387f19", "sha256": "7c657b22f9a746cf379be24e952d84e2bd87ed429d059ecaede442729a5a1340" }, "downloads": -1, "filename": "bumplus-0.0.8.tar.gz", "has_sig": false, "md5_digest": "c49a35198214a737bd8926e4af387f19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5172, "upload_time": "2017-02-08T11:48:54", "url": "https://files.pythonhosted.org/packages/ac/da/f814520f02034164fc3316465f074a82d469a08fa2c696d55afb5dd8ba1b/bumplus-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "68100fe241b1597d4e950b3d7dd9da81", "sha256": "eaee18a4776b7e138919d45c706108fe22c9f6bff24f0c418c597032aaf1cd9a" }, "downloads": -1, "filename": "bumplus-0.0.9.tar.gz", "has_sig": false, "md5_digest": "68100fe241b1597d4e950b3d7dd9da81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5221, "upload_time": "2017-10-02T22:50:57", "url": "https://files.pythonhosted.org/packages/39/0a/dd5b86bcd0e00e3a9824432a9a47ffedb716b979eb38626830e2195b0b6b/bumplus-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "348f10512f37a56b9b274287951b8b5e", "sha256": "58e31d9f02b549cab7de82116f02ea5aa10a0b6a7019e82d13ab01bdcc78e0b6" }, "downloads": -1, "filename": "bumplus-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "348f10512f37a56b9b274287951b8b5e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8633, "upload_time": "2018-02-27T11:12:21", "url": "https://files.pythonhosted.org/packages/ac/75/df6b6b1195d6f60a0097ddab6cb84858a9e5b0ec68a492caa0aa148bba5e/bumplus-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "10b8e41bbbb271081258452047e1a0ed", "sha256": "69fef95fadaa529327aa77ffc0feb19df382bd60d93751db6e4e57e61f1a8687" }, "downloads": -1, "filename": "bumplus-0.1.0.tar.gz", "has_sig": false, "md5_digest": "10b8e41bbbb271081258452047e1a0ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2018-02-27T11:12:23", "url": "https://files.pythonhosted.org/packages/c6/69/b49d09787f4f562da8aa1a60138b90278eb950d322cf820c8f42b83e986f/bumplus-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "26052d8cfe5be1b8bbf3154d97ffebe4", "sha256": "37a40287c889974326e4006389f95e587454720944fb4b60df55e4ea49da968a" }, "downloads": -1, "filename": "bumplus-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "26052d8cfe5be1b8bbf3154d97ffebe4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8638, "upload_time": "2018-02-27T11:35:59", "url": "https://files.pythonhosted.org/packages/21/7a/7b92c97202164efb42e6333a9f306e565e1bf2fef145047b748bbf50cddc/bumplus-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e41040908377d1ba8bbb8a2ca7b43837", "sha256": "b5ed48d0fef6d23ec0409dadf7de123ff3ae35ef2782f02575bf6db2756a1531" }, "downloads": -1, "filename": "bumplus-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e41040908377d1ba8bbb8a2ca7b43837", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5310, "upload_time": "2018-02-27T11:36:01", "url": "https://files.pythonhosted.org/packages/52/4f/b01e20db04b0fe251deaaa2bfde381a8099640d9824644c777fd1a0fa8cd/bumplus-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "51d7dd64e6b1cfd29eeab0ff8c8aeaa8", "sha256": "dea31481ee288f21e99f47f66b454071ed677831d50da6ded65b23f70796073c" }, "downloads": -1, "filename": "bumplus-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "51d7dd64e6b1cfd29eeab0ff8c8aeaa8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8865, "upload_time": "2018-02-27T13:51:37", "url": "https://files.pythonhosted.org/packages/b3/ad/810de2458bbfe32e236855c2ca6ae614d3b138911abd6c063d68ba1d3cd0/bumplus-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9aa8b65bd63d0d6709095448d54ce2d1", "sha256": "a4e7086c5787e42773e3a829b60bc265ea541e0bcbce57bf5299feb4ca30d57a" }, "downloads": -1, "filename": "bumplus-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9aa8b65bd63d0d6709095448d54ce2d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5484, "upload_time": "2018-02-27T13:51:38", "url": "https://files.pythonhosted.org/packages/67/dd/33e3a134327ee767400191c10c06856d64dc847f8ad25c9a9fe9a4bc860e/bumplus-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "08f0185b88785696735b9726fc134eea", "sha256": "cb24eb21d1dd769a4fa2cf7549649dc9ef2cef2c3ff2262bd58ef996bd232392" }, "downloads": -1, "filename": "bumplus-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "08f0185b88785696735b9726fc134eea", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8864, "upload_time": "2018-03-12T13:31:53", "url": "https://files.pythonhosted.org/packages/d6/1c/b9b38616d53736b6f06e7a68a8065b2f1b91ae6386ca08f9c2173efb57d7/bumplus-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "deed95a112f0db623ae870143f1f06c5", "sha256": "6ca3ca9dfba3452e880bc42f21388f45cf00d13236427d3664221fc23a184316" }, "downloads": -1, "filename": "bumplus-0.1.3.tar.gz", "has_sig": false, "md5_digest": "deed95a112f0db623ae870143f1f06c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5488, "upload_time": "2018-03-12T13:31:55", "url": "https://files.pythonhosted.org/packages/6b/a3/6e3e7efeab217ed903e55e2561ddef69ba023473d4012d24fef379fcfdbd/bumplus-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e4e10cfdebdcfa2f6289392ce8819ca7", "sha256": "5c347943de12a1e26d5502766bc33f596f51f202409a1b53e75efe8a00054e79" }, "downloads": -1, "filename": "bumplus-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e4e10cfdebdcfa2f6289392ce8819ca7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6666, "upload_time": "2018-11-28T09:58:31", "url": "https://files.pythonhosted.org/packages/74/a9/1c585ee5619a0ac6921414953c54ace4f8673ab651aa625756d407265390/bumplus-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b114c3ad3399316e5a41cf30324d256b", "sha256": "6498b931e5d7df26eb4f35187e0f58abcbffbda7a609f7a16c185ebae2f015ce" }, "downloads": -1, "filename": "bumplus-0.1.4.tar.gz", "has_sig": false, "md5_digest": "b114c3ad3399316e5a41cf30324d256b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5459, "upload_time": "2018-11-28T09:58:33", "url": "https://files.pythonhosted.org/packages/44/97/4900a922de0ab1dcccf9f8cd8ed186e1233af0efc2e24005975e57496228/bumplus-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "2a823a20b9609783f45887e867a01fe9", "sha256": "d31e509e73b4e0b63ce28b3c4ab11ccc84c0c896d6a4b7d43b01a5b238738c88" }, "downloads": -1, "filename": "bumplus-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2a823a20b9609783f45887e867a01fe9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6671, "upload_time": "2018-11-28T10:44:51", "url": "https://files.pythonhosted.org/packages/f3/ee/3f1b8c40415799f7a151ed4aface30ad39ba02fa0c6c2063c034cd269dca/bumplus-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7ad3ba7ffe2f3b1c2bc198087672e2b", "sha256": "d733b632ca63175f25b075d7b92addf49800b09fae63e277780dc07f6d756c55" }, "downloads": -1, "filename": "bumplus-0.1.5.tar.gz", "has_sig": false, "md5_digest": "b7ad3ba7ffe2f3b1c2bc198087672e2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5469, "upload_time": "2018-11-28T10:44:53", "url": "https://files.pythonhosted.org/packages/06/51/d4a9e84c5b0e3e80dcb6c65ceee524352aa8c4f2d0f4dd8d156e82aed316/bumplus-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "3931f36d10e000bdae0dbf8047df9189", "sha256": "e800b6275039e69248421c1ebce20559db3b84a6923923aeb82ab594b2c2b695" }, "downloads": -1, "filename": "bumplus-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3931f36d10e000bdae0dbf8047df9189", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6675, "upload_time": "2018-11-28T15:47:14", "url": "https://files.pythonhosted.org/packages/cb/16/63f70b989eae2266b8c3521e4615292e62b5600fb6239eb8d1562e912bde/bumplus-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "442ad9c149b735cb622a47058857783c", "sha256": "74744f184464fdf63cd41dc926f7e6882f0a7d91dccffa55f56bb845d5be3720" }, "downloads": -1, "filename": "bumplus-0.1.6.tar.gz", "has_sig": false, "md5_digest": "442ad9c149b735cb622a47058857783c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5471, "upload_time": "2018-11-28T15:47:16", "url": "https://files.pythonhosted.org/packages/ab/8f/3d559f62566ba06f98ae7bdfed1256920c6183a4d9c5b1428270d306b9be/bumplus-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3931f36d10e000bdae0dbf8047df9189", "sha256": "e800b6275039e69248421c1ebce20559db3b84a6923923aeb82ab594b2c2b695" }, "downloads": -1, "filename": "bumplus-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3931f36d10e000bdae0dbf8047df9189", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6675, "upload_time": "2018-11-28T15:47:14", "url": "https://files.pythonhosted.org/packages/cb/16/63f70b989eae2266b8c3521e4615292e62b5600fb6239eb8d1562e912bde/bumplus-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "442ad9c149b735cb622a47058857783c", "sha256": "74744f184464fdf63cd41dc926f7e6882f0a7d91dccffa55f56bb845d5be3720" }, "downloads": -1, "filename": "bumplus-0.1.6.tar.gz", "has_sig": false, "md5_digest": "442ad9c149b735cb622a47058857783c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5471, "upload_time": "2018-11-28T15:47:16", "url": "https://files.pythonhosted.org/packages/ab/8f/3d559f62566ba06f98ae7bdfed1256920c6183a4d9c5b1428270d306b9be/bumplus-0.1.6.tar.gz" } ] }