Skip to main content

LambdaZen Local — sync tool for LambdaZen concept repositories

Project description

LambdaZen Local

Command-line tool to clone, pull, push, and diff LambdaZen concept repositories.

Installation

pip install lambdazen-local

Credentials

Set your API credentials once:

lzlocal configure

This prompts for your LZ_API_KEY and LZ_CJS_TOKEN and saves them to ~/.lzlocal/.env.

For per-user credentials (e.g. separate dev and qa keys):

lzlocal configure --user clouddev --api-key <key> --cjs-token <token>
lzlocal configure --user cloudqa  --api-key <key> --cjs-token <token>

You can also supply credentials via environment variables or a .env file in the current directory — these take priority over ~/.lzlocal/.env:

LZ_API_KEY=...
LZ_CJS_TOKEN=...

Commands

# Clone a concept repository
lzlocal clone /user/repo/uuid/ ./my-project

# Pull latest from cloud
lzlocal pull ./my-project
lzlocal pull ./my-project --ignore-conflicts

# Pull a single concept
lzlocal pull-concept ./my-project /user/repo/uuid/

# Push local changes
lzlocal push ./my-project
lzlocal push ./my-project --ignore-conflicts

# Push a single concept by URI
lzlocal push-concept ./my-project /user/repo/uuid/

# Diff local vs cloud
lzlocal diff ./my-project
lzlocal diff ./my-project --quiet

# Diff two local concept directories
lzlocal local-diff ./project-a ./project-b
lzlocal local-diff ./project-a ./project-b --quiet --reverse

# Diff local vs a git repository
lzlocal git-diff ./my-project ./git-repo
lzlocal git-diff ./my-project ./git-repo --quiet --reverse

# Unpack concept JSONs to files/ (advanced)
lzlocal unpack ./my-project

# Pack files/ back into concept JSONs (advanced)
lzlocal pack ./my-project

Custom endpoint

All commands accept --endpoint to target a non-default LambdaZen cloud endpoint:

lzlocal clone /user/repo/uuid/ ./my-project --endpoint https://custom.lambdazen.com

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

lambdazen_local-0.1.0.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

lambdazen_local-0.1.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lambdazen_local-0.1.0.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for lambdazen_local-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b12aa7ccae1fa1226e122caa5448d6b7e333daa0395e88fae3519109b89317b1
MD5 af015b099a1db752f3091d2c1519525b
BLAKE2b-256 155a45816406731872bc2765563fd12bd474e30928351cc97962f8623cc25588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lambdazen_local-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43c2e790b4e07e8f2156abecf037104e788bee1f192d73047768f96ed7cf3bd1
MD5 e118f4460c75cc58da19ac46eee6a8a7
BLAKE2b-256 36cecc6b6b43fc8c0935d4af71df21a7e53b243f642647a4b6f7c0a183dde9a1

See more details on using hashes here.

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