Skip to main content

Kataloger

Latest version Downloads Tests Python version

Kataloger can help update your project dependencies with ease! All you need is point to libs.versions.toml file and supply it with repositories that you use in project.

Features

  • Better than Android Studio built-in tool :)
  • Gradle-free
  • Can be used on CI
  • Flexible and open-source

How to use?

Kataloger offers handy CLI which you can use locally or on CI.

You can pass path to version catalog using -p parameter and path to repositories that should be used to search for with -rp parameter:

kataloger -p ~/ProjectDir/libs.versions.toml -rp ~/ProjectDir/default.repositories.toml

Repositories should be specified in separate .toml file separately for libraries and plugins. You can use default repositories file as template.

If repositories not provided kataloger use default set of repositories (Maven Central, Google Maven and Gradle Plugin Portal):

kataloger -p ~/ProjectDir/libs.versions.toml

Or you can omit paths to version catalog and repositories if they are located in current working directory. In this mode kataloger trying to find all catalogs (files with .versions.toml extension) and repositories in default.repositories.toml file in current directory:

cd ~/ProjectDir
kataloger

CLI options

-p [path] or --path [path] — specifies path to gradle version catalog file. You can pass more than one version catalog path. If no path provided kataloger try to find version catalogs (files with extension .versions.toml) in current working directory.
-rp [path] or --repositories-path [path] — specifies path to .toml file with repositories credentials where updates will be looked for. If no path provided kataloger try to find default repositories file with name default.repositories.toml in current working directory. If repositories can't be found in current directory kataloger use predefined set of repositories (Maven Central, Google and Gradle Plugin Portal).
-v or --verbose — if specified print more info to console.
-u or --suggest-unstable — if specified suggest artifact update from stable version to unstable.
-f or --fail-on-updates — if specified return non-zero exit code when at least one update found. Can be useful on CI.

Installation

Kataloger available in Python Package Index (PyPI). You can install kataloger using pip:

pip install kataloger

Use kataloger in python scripts

Kataloger has convenient API (I did my best), so you can write custom logic on top. More info about it can be found here.

License

Copyright 2023 Dzmitry Pryskoka

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Release files for kataloger 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kataloger 0.2.0
File Size Uploaded
kataloger-0.2.0.tar.gz 20.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kataloger 0.2.0
File Interpreter ABI Platform
kataloger-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.5 kB

Release files / kataloger-0.2.0.tar.gz

Download URL kataloger-0.2.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ff7228522e1d841c7c2d14de33936ba45a3539db9fa6f1a43547d2c43212603
BLAKE2b-256 checksum
How to use checksums
fe13b65111f8e7593a1c41e0627d824272550cf0b5c1d67bf3d9f9da1f8a2721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / kataloger-0.2.0-py3-none-any.whl

Download URL kataloger-0.2.0-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f388dc9269f84db134f1d2b5847d4a02873745297e186ab97227216a1d87843b
BLAKE2b-256 checksum
How to use checksums
8263dbad634438dc25abf6be744924528d1fdb4a1445dccdf68588c348ee8d71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page