Skip to main content

No project description provided

Project description

localargo

PyPI - Version PyPI - Python Version

Convenient ArgoCD local development tool

Localargo is a command-line tool that makes ArgoCD development workflows faster and more convenient. It provides streamlined commands for managing local clusters, applications, secrets, port forwarding, and debugging - all designed specifically for ArgoCD development.

Features

  • 🚀 Cluster Management: Set up and switch between local/remote Kubernetes clusters
  • 📦 Application Management: Create, sync, and manage ArgoCD applications
  • 🌐 Port Forwarding: Easily access services running in your applications
  • 🔐 Secrets Management: Create and manage secrets for local development
  • 🔄 Sync Operations: Sync applications with watch mode for continuous development
  • 📋 Templates: Quick-start applications from common templates
  • 🔍 Debug Tools: Comprehensive debugging and troubleshooting utilities

Quick Start

# Install localargo
pip install localargo

# Initialize a local cluster with ArgoCD (uses KinD by default)
localargo cluster init

# Create an application from a template
localargo template create my-app --repo https://github.com/myorg/myrepo

# Port forward services for easy access
localargo port-forward start my-service

# Sync and watch for changes
localargo sync my-app --watch

Table of Contents

Installation

pip install localargo

Development Setup

For contributors and development, we recommend using Mise to set up the complete development environment:

# Install Mise (macOS with Homebrew)
brew install mise

# Install all development tools
mise install

# Create Hatch environment
hatch env create

# All tools will be automatically available

🧩 Git Hook Setup

To ensure code quality before every commit, enable the mise-managed pre-commit hook:

mise generate git-pre-commit --write --task=precommit

This creates .git/hooks/pre-commit, which automatically runs:

  • hatch fmt
  • hatch run typecheck
  • hatch run test

If any step fails, the commit will be blocked until fixed.

You can also run it manually at any time:

mise run precommit

Optional Dependencies

For file watching functionality:

pip install localargo[watch]

Documentation

📖 Full documentation is available at docs/ and can be built locally using mdBook.

To build the documentation:

# Install mdBook (if not already installed)
cargo install mdbook

# Build the docs
cd docs && mdbook build

# Or using Hatch
hatch run docs:build

License

localargo is distributed under the terms of the MIT license.

Test comment for precommit hook

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

localargo-0.1.0.tar.gz (79.0 kB view details)

Uploaded Source

Built Distribution

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

localargo-0.1.0-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: localargo-0.1.0.tar.gz
  • Upload date:
  • Size: 79.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for localargo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c0d51d2d4b98ceb9504d231145662a00b6dbadacf659fbee6d3d17101160b910
MD5 cf1faa65c27e56e94f7fb22f50f96f1a
BLAKE2b-256 fc5e9873e19ca989db1ce2e44b00f97a5acdfadf2baee375c57d81d66adc4f17

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on williamkborn/localargo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: localargo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 71.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for localargo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdf1701dad9fb98b97dad3c6cfb48129a0def91cf17da3d4e72f43543fcf527c
MD5 a6ede7ee2dd6fb5535b3a6de8dd0f801
BLAKE2b-256 1a3d86843d0c327b5c2847fbb648618c009db626a4a1011bf12a22d51b78dbf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for localargo-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on williamkborn/localargo

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