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.3.0.tar.gz (14.0 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-0.3.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_updater-0.3.0.tar.gz
  • Upload date:
  • Size: 14.0 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.3.0.tar.gz
Algorithm Hash digest
SHA256 0c0f8af1223fb1aa97a92b431666437162cfb994f1a64dd67523f35bf6ca1efd
MD5 b2e540c8081f5c636b8d8ffac860b0f3
BLAKE2b-256 03f1708bfbfe3c6a1216b3e2d793e6a570dce0bd4dcc92d920b140b0ca0bcf1c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: one_updater-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c898dae89801557967d1f8b9957d020f8f33860499200637be9531357d34fb3
MD5 0a9d686916c3dda0a293074aedfaa2ed
BLAKE2b-256 039b7fef889af50e5bf69aa42da2b7b5f0fe43b8c421f6dce6cce437573fc47d

See more details on using hashes here.

Provenance

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

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