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

Uploaded Source

Built Distribution

one_updater-0.2.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_updater-0.2.0.tar.gz
  • Upload date:
  • Size: 11.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 d512821ac7f6cb56439a12bf2400fc183c5154dad61fd594cd0e4f9498bd5c65
MD5 b6a8f1db9c20e3a5b8457be5cf887c3c
BLAKE2b-256 939886e5fe78e61eb62f73ba68962bd91bc7add6bf792fc386cb80acdc92cdcc

See more details on using hashes here.

Provenance

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

Publisher: ci.yaml on timmyb824/one-updater

Attestations:

File details

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

File metadata

  • Download URL: one_updater-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6107c70f450269fe327f03714f64b315d31b2628d009b134c9e3597946df92f
MD5 85a1861960cc428900e829836d1f430c
BLAKE2b-256 9a89f5cb644a48241c4cf8422875c29ae8b3d27d38353b9fbb60222000416cd1

See more details on using hashes here.

Provenance

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