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

Uploaded Source

Built Distribution

one_updater-0.1.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_updater-0.1.0.tar.gz
  • Upload date:
  • Size: 11.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 bc60c5a0e55e8a31d6d0003b6371861ecec4e4752eb992bafd079c417d0c6182
MD5 23a551078140b6fa2e483b560581c6cb
BLAKE2b-256 3aa5c78fd59b14f78e54b63d8bfb3c3b4b21ef2ace3c8c54a3a457afe96863e1

See more details on using hashes here.

Provenance

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

Publisher: ci.yaml on timmyb824/one-updater

Attestations:

File details

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

File metadata

  • Download URL: one_updater-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a92e359ebdad33fb93c1a6b2b0c3dff1e239b59b8955247940c22e47542692b
MD5 e1bb16ff3b6b81eccb7f7119e972a446
BLAKE2b-256 43dd399e66a402e19c98ce1e0580ed13a6b849a5185328d97a12eea73479e966

See more details on using hashes here.

Provenance

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