Skip to main content

Contract-first, multi-stack API code generator

Project description

Veld — pip package

Contract-first, multi-stack API code generator.

Install

pip install maayn-veld

Usage

After installing, the veld CLI is available:

veld init                    # Scaffold a new project
veld generate                # Generate from veld.config.json
veld generate --dry-run      # Preview what would be generated
veld watch                   # Auto-regenerate on file changes
veld validate                # Check contracts for errors
veld clean                   # Remove generated output
veld openapi                 # Export OpenAPI 3.0 spec

How it works

This pip package is a thin wrapper around the Veld Go binary. On first run, it downloads the correct pre-built binary for your platform from GitHub Releases and caches it in your platform's cache directory.

Supported platforms:

  • Linux (x64, arm64)
  • macOS (x64, Apple Silicon)
  • Windows (x64)

If the download fails, the installer falls back to go install github.com/Adhamzineldin/Veld/cmd/veld@latest.

Alternative installation

# npm
npm install @maayn/veld

# Go
go install github.com/Adhamzineldin/Veld/cmd/veld@latest

# Homebrew
brew install veld

# Composer (PHP)
composer require veld-dev/veld

License

MIT

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

maayn_veld-0.1.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

maayn_veld-0.1.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file maayn_veld-0.1.5.tar.gz.

File metadata

  • Download URL: maayn_veld-0.1.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for maayn_veld-0.1.5.tar.gz
Algorithm Hash digest
SHA256 26f7b680bcc35a79c7c1ec289d206f25a0723faa1f039dc8a76bf80bbe05440d
MD5 376df321e093a3a10dd2dbbc23449b98
BLAKE2b-256 2288c32dee24e801682788d48de7e069e4ae53f03b90094978d9ff371bacde72

See more details on using hashes here.

File details

Details for the file maayn_veld-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: maayn_veld-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for maayn_veld-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee036f3737ae7f4887e062073c9d9d73661d1ce61a2c0dd290f7103eb09c32f8
MD5 d15bb7fde44d36270e11556fb84685b5
BLAKE2b-256 21d6a4e3593cce42a17e282c20a27aaf99472c0662f617abb2f86fe731367655

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