Skip to main content

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:

  1. Enable/disable specific package managers
  2. Configure virtualenv/pyenv for Python packages
  3. Customize update commands
  4. 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:

  1. Add support for new package managers
  2. Improve error handling and logging
  3. Add new features
  4. Fix bugs
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

one_updater-0.5.0.tar.gz (51.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

one_updater-0.5.0-py3-none-any.whl (51.7 MB view details)

Uploaded Python 3

File details

Details for the file one_updater-0.5.0.tar.gz.

File metadata

  • Download URL: one_updater-0.5.0.tar.gz
  • Upload date:
  • Size: 51.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for one_updater-0.5.0.tar.gz
Algorithm Hash digest
SHA256 94de0579c9b7538596e3071526f1e942c2fcc2972e9806a64904c63889f0f16c
MD5 deca5bc4cd3e89f05f22ca89c532940c
BLAKE2b-256 2a279f3f183377eec1fb4735cddbde938b5d7a3a5a4c599acd101f9af51d5001

See more details on using hashes here.

Provenance

The following attestation bundles were made for one_updater-0.5.0.tar.gz:

Publisher: ci.yaml on timmyb824/one-updater

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file one_updater-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: one_updater-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 51.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for one_updater-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a2d60763839b609de292af705b2b7c58c73a7676c4a6f4523155eac0b63f8bf
MD5 0bfa586bfef0743843affe744dfcd417
BLAKE2b-256 a67cd6477eceb4444ec6f177ed67f21af8c0f70a47ed734b29f7041a55c35472

See more details on using hashes here.

Provenance

The following attestation bundles were made for one_updater-0.5.0-py3-none-any.whl:

Publisher: ci.yaml on timmyb824/one-updater

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page