One tool many packages
Project description
One Updater
A flexible package manager updater that helps you keep all your development tools up to date.
Features
- Update multiple package managers with a single command
- Configure which package managers to update
- Support for virtual environments and pyenv for Python packages
- Beautiful command-line interface with rich formatting and logging
- Cross-platform support
- Extensible architecture for adding new package managers
Supported Package Managers
- Homebrew
- pip (with virtualenv/pyenv support)
- npm
- cargo
- gem
- pipx
- pacman
- dnf
- flatpak
- pkgx
- vagrant-plugins
- micro editor plugins
- tldr pages
- go packages
- apt
- More coming soon!
Installation
Install from PyPI:
pip install one-updater
To upgrade to the latest version:
pip install --upgrade one-updater
Use one of the pre-built executables in one_updater/bin e.g.:
sudo cp one-updater-linux /usr/local/bin/one-updater
sudo chmod +x /usr/local/bin/one-updater
Usage
Basic Usage
Update all enabled package managers:
one-updater update
Update specific package managers:
one-updater update -m homebrew -m pip
List configured package managers:
one-updater list-managers
Initialize a new configuration file:
one-updater init
Configuration
The tool uses a YAML configuration file (default: ~/.config/one-updater/config.yaml) to specify package manager settings. You can:
- Enable/disable specific package managers
- Configure virtualenv/pyenv for Python packages
- Customize update commands
- Configure logging and verbosity
Example configuration:
verbose: true
logging:
level: "INFO"
format: "%(message)s"
package_managers:
homebrew:
enabled: true
commands:
update: ["brew", "update"]
upgrade: ["brew", "upgrade"]
pip:
enabled: true
virtualenv: "/path/to/virtualenv" # Optional
pyenv: "3.11.0" # Optional
commands:
update: ["pip", "install", "--upgrade", "pip"]
upgrade: ["pip", "list", "--outdated", "--format=json"]
Contributing
Contributions are welcome! Feel free to:
- Add support for new package managers
- Improve error handling and logging
- Add new features
- Fix bugs
- Improve documentation
Please ensure your changes pass the test suite and code quality checks:
# Install development dependencies
poetry install
# Run tests
poetry run pytest
# Run code formatting
poetry run black .
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file one_updater-1.0.0.tar.gz.
File metadata
- Download URL: one_updater-1.0.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b32000e3e17f66cb1946507ba09e6ab53653b7f798ae6a1b47959aaab185bea5
|
|
| MD5 |
8e91f5b8a9a4af5b9a35166d9edb5648
|
|
| BLAKE2b-256 |
95acb1d9450f93518b6edfee19a44045cb57b382fbcc71a172b4b96d7879833e
|
Provenance
The following attestation bundles were made for one_updater-1.0.0.tar.gz:
Publisher:
ci.yaml on timmyb824/one-updater
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
one_updater-1.0.0.tar.gz -
Subject digest:
b32000e3e17f66cb1946507ba09e6ab53653b7f798ae6a1b47959aaab185bea5 - Sigstore transparency entry: 262744430
- Sigstore integration time:
-
Permalink:
timmyb824/one-updater@0832938f2590739e81580ce9801b98a0506dada3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/timmyb824
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@0832938f2590739e81580ce9801b98a0506dada3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file one_updater-1.0.0-py3-none-any.whl.
File metadata
- Download URL: one_updater-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
410637ff36474c37d2bac374958344fd526c2f63d01dfdb6e6b9c59e51a18374
|
|
| MD5 |
33ed586e175cf6a13081360348414f33
|
|
| BLAKE2b-256 |
4d9e849e7e5a4267a559733f0a82558d23d4033764ca29206f84e3431b22aebc
|
Provenance
The following attestation bundles were made for one_updater-1.0.0-py3-none-any.whl:
Publisher:
ci.yaml on timmyb824/one-updater
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
one_updater-1.0.0-py3-none-any.whl -
Subject digest:
410637ff36474c37d2bac374958344fd526c2f63d01dfdb6e6b9c59e51a18374 - Sigstore transparency entry: 262744431
- Sigstore integration time:
-
Permalink:
timmyb824/one-updater@0832938f2590739e81580ce9801b98a0506dada3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/timmyb824
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@0832938f2590739e81580ce9801b98a0506dada3 -
Trigger Event:
push
-
Statement type: