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
  • Extensible architecture for adding new package managers

Supported Package Managers

  • Homebrew
  • pip (with virtualenv/pyenv support)
  • npm
  • cargo
  • gem
  • pipx
  • More coming soon!

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/one-update.git
cd one-update
  1. Install dependencies:
pip install -r requirements.txt

Usage

Basic Usage

Update all enabled package managers:

python -m one_update.cli update

Update specific package managers:

python -m one_update.cli update -m homebrew -m pip

List configured package managers:

python -m one_update.cli list-managers

Configuration

The tool uses a YAML configuration file (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

Example configuration:

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"]

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

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

Uploaded Source

Built Distribution

one_updater-0.0.9-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_updater-0.0.9.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for one_updater-0.0.9.tar.gz
Algorithm Hash digest
SHA256 7e726419952f3728b90629495ae832f909489e00a5827e1ec30d2c18903d344c
MD5 b72b5f0a9bb5152510649e0260e6eaca
BLAKE2b-256 b2721cec5f4756dc2d13b692cb5d080dc2c02894353d810812bdc161aa73ac09

See more details on using hashes here.

Provenance

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

Publisher: ci.yaml on timmyb824/one-updater

Attestations:

File details

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

File metadata

  • Download URL: one_updater-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for one_updater-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bdcf42e4f11312f7887b003f2559692a301ab32162af032b1ae2289f12ee86ec
MD5 9fd3aa333ead137176e55bd43a40ff5f
BLAKE2b-256 d653105e39053c421da7b0c2d937f98ebac6aec2bf6a71e31d94dc07b4b68af4

See more details on using hashes here.

Provenance

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

Publisher: ci.yaml on timmyb824/one-updater

Attestations:

Supported by

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