Skip to main content

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
  • bin (https://github.com/marcosnils/bin)
  • 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

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-1.3.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

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

one_updater-1.3.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_updater-1.3.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for one_updater-1.3.0.tar.gz
Algorithm Hash digest
SHA256 6c0d3fe34b6d40b775e9a55e9e5d4d0af07863daf7615bc2116ddd862771cdd8
MD5 b3258a23b981822beafa0a1af16f5e52
BLAKE2b-256 0962dbdc7a0cf24f1c4edc94bdd8bbb9df56eff65c2e5d06a15db50db91839c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for one_updater-1.3.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-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: one_updater-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for one_updater-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e18b82541e181c6e5cdda16a9e06c18c1ddc44c487f86fbc475dcc848838a799
MD5 9e399cf2b38dd3a072d040ce92fb55f7
BLAKE2b-256 4ef1f07458a60842789fae4759ad10689e2a1e11d05d889b481f95355a86935a

See more details on using hashes here.

Provenance

The following attestation bundles were made for one_updater-1.3.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.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.9

2 files

0.4.7

2 files

0.4.6

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

0.0.9

2 files

0.0.8

2 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