Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
filename:my-package.ext 

Search by package tag:
tag:latest 

Search by package version:
version:1.0.0  prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search by last download date:
last_downloaded:<"30 days ago" 
last_downloaded:>"August 14, 2022 EST" 

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Search queries for all Generic-specific package types

Search by file path:
generic_filepath:path/to/file.txt

Search by directory:
generic_directory:path/to

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Generic, Go, Helm, Hex, HuggingFace, LuaRocks, Maven, MCP, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, VSX, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial

Python logo bumpytrack  1.1.7

One-liner (summary)

Simple semantic-version bumper in python that works.

Description

![CI](https://github.com/nandilugio/bumpytrack/actions/workflows/ci.yml/badge.svg)

Current version: 1.1.7

Tested with Python 3.8, 3,9, 3.10 and 3.11 on latest Linux, MacOS and Windows. Code is simple. Probably works in other versions and platforms.

Pypi: https://pypi.org/project/bumpytrack/ </br> Github: https://github.com/nandilugio/bumpytrack

# BumpyTrack

Bumping the ([semantic](https://semver.org/)) version of your software every time a release is done can be a tedious task, if you: - Have the version written in various files, e.g. setup.py or a dedicated version file. - Manage versioning with tags in GIT.

This little script automates this process for you.

Say you're using [git-flow](https://nvie.com/posts/a-successful-git-branching-model/) and you've just merged a feature to your development branch. You can just checkout and pull it, and then do:

`bash bumpytrack minor  # or major if you have breaking changes, or patch if it's a simple bugfix `

It will: - Replace the version string in all relevant files (see config below). - Commit those changes to GIT, taking care not to commit anything else (can be omitted). - Create a GIT tag for this new version (can be omitted).

Now you're free to push, merge to master and deploy!

`bash git push git push --tags `

Unless you forgot something or bumped by mistake of course, in which case you can just undo the commit and tag created in Git by doing:

`bash bumpytrack git-undo `

For the above version string replacements we'll need some config. [This example](https://github.com/nandilugio/bumpytrack/blob/master/pyproject.toml) should be autoexplicative. Create a pyproject.toml or add your config to the one you already have in the root of your repository and you're good to go.

## Installation

`bash pip install bumpytrack `

Then add a pyproject.toml to the root of your repository (if you don't already have it) and configure it [like this](https://github.com/nandilugio/bumpytrack/blob/master/pyproject.toml).

## Help

The script is really simple, and has a decent on-line documentation. Just do:

`bash bumpytrack --help `

Some of the available options:

```
--current-version CURRENT_VERSION
 force current version instead using version in config file
--new-version NEW_VERSION
 force new version instead using version in config file
--git-commit Git: Commit files with version replacements

--no-git-commit --git-tag Git: Tag this reference with the new version --no-git-tag --config-path CONFIG_PATH

path to config file. Defaults to pyproject.toml in current directory

--verbose

```

You can also just [peek at the code](https://github.com/nandilugio/bumpytrack/blob/master/src/bumpytrack.py). Not much of it... it just adds one to some little numbers ;p

## Contributing

Make sure you have the lastest pip and pipenv versions:

`bash pip install --upgrade pip pipenv `

To start developing, start the environment by:

`bash pipenv shell pipenv install -d `

The installed bumpytrack within the pipenv environment is the editable (alla pip install -e .) version of the package, so you can manually test right away.

This tool uses both [pipenv](https://pipenv.readthedocs.io/) for development and [setuptools](https://setuptools.readthedocs.io/) for packaging and distribution. To this date there is not a 100% community-accepted best practice so I've taken [this approach](https://github.com/pypa/pipenv/issues/209#issuecomment-337409290). In summary:

To add an _application_ dependency, add it in setup.py and leave it with a loose version definition. Then, just do pipenv install -e . to install the dependency. Pipenv locking mecanism will work as expected, since bumpytrack itself in in the [packages] section of Pipfile (check Pipfile.lock and you'll find the deps there).

To add a _development_ dependency, add it to Pipfile via pipenv install -d <my-dependency>.

This way there's a single source of truth for package definition. No need to repeat the deps in setup.py and Pipfile*.

### Tests

To test the project run [pytest](https://docs.pytest.org/) inside the pipenv. Once you have something running, run [tox](https://github.com/tox-dev/tox) to check it's compatible with all python versions supported.

IMPORTANT: in order to make tox test with different python versions, those have to be installed. [pyenv](https://github.com/pyenv/pyenv) is used for that purpose and should work out of the box. Check the required versions in [tox.ini](https://github.com/nandilugio/bumpytrack/blob/master/tox.ini) and related files.

### Dev tasks automation and publishing to PyPI

This project uses [pepython](https://github.com/nandilugio/pepython) for automation. There you'll find tasks to build and publish the package to PyPI.

Check [the project](https://github.com/nandilugio/pepython) out and the [tasks.py](https://github.com/nandilugio/bumpytrack/blob/master/tasks.py) file for more info.

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/nandilugio/bumpytrack/blob/master/LICENSE) file for details.

Size

7.5 KB

Downloads

5

Status  Completed
Checksum (MD5) 4a6c610dd9a6330cbae32d1d469b9657
Checksum (SHA-1) dca098577d80ab7bb774295895235234410ac240
Checksum (SHA-256) eb204b00b68e7e7e5d21c0b54d3956009f56e60290fd979297ab6aa86b6510e6
Checksum (SHA-512) 037a80de459ef259396343445fe2d213dc647996f2d3795ce844a3b954179af26d…
GPG Signature
GPG Fingerprint 6811684bac0b8895434e97bdd4391b8fb999e537
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 4 months, 3 weeks ago
Uploaded By Fetched by Cloudsmith
Slug Id bumpytrack-117-py3-none-anywhl-hcuv
Unique Id r4oLe1H4jummIBiu
Version (Raw) 1.1.7
Version (Parsed)
  • Major: 1
  • Minor: 1
  • Patch: 7
  • Type: SemVer (Compat)
  extended metadata
Author Fernando Stecconi <nandilugio@gmail.com>
Classifiers License :: OSI Approved :: MIT License | Operating System :: OS Independent | Programming Language :: Python :: 3
Homepage URL https://github.com/nandilugio/bumpytrack
Metadata Version 2.1
Py Filetype bdist_wheel
Py Version py3
Requires Dist toml >=0.9.4
pkg bumpytrack-1.1.7-py3-none-any.w… 5
7.5 KB
md5 sha1 sha256 sha512
Package Contents (bumpytrack-1.1.7-py3-none-any.whl)
Loading...

This package has 9 files/directories.

Last scanned

4 months, 3 weeks ago

Scan result

Clean

Vulnerability count

0

Max. severity

Unknown

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'bumpytrack' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/)
|This version of 'bumpytrack' @ Cloudsmith|
.. |This version of 'bumpytrack' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/",title="This version of 'bumpytrack' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/1.1.7/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true" alt="This version of 'bumpytrack' @ Cloudsmith" /></a>

rendered as: This version of 'bumpytrack' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'bumpytrack' @ Cloudsmith](https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true&show_latest=true)](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/)
|Latest version of 'bumpytrack' @ Cloudsmith|
.. |Latest version of 'bumpytrack' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true&show_latest=true
   :target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/",title="Latest version of 'bumpytrack' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/bumpytrack/latest/a=noarch;xf=bdist_wheel;xn=bumpytrack;xv=py3/?render=true&show_latest=true" alt="Latest version of 'bumpytrack' @ Cloudsmith" /></a>

rendered as: Latest version of 'bumpytrack' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use bumpytrack @ version 1.1.7 ...

pip install 'bumpytrack==1.1.7'

You can also install the latest version of this package:

pip install --upgrade 'bumpytrack'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/ \
  bumpytrack==1.1.7

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
bumpytrack==1.1.7

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
bumpytrack==1.1.7
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top