Skip to main content

AI-augmented security scanning for vibe coders. Zero-config secrets detection and vulnerability scanning.

Project description

Zwischen Python Package

Python wrapper for Zwischen, an AI-augmented security scanning CLI. This package exposes a Python implementation of the core workflow for Python users.

The Ruby gem in the repository root is currently the canonical implementation. This wrapper has a smaller command surface and may not match every Ruby feature.

Installation

pip install zwischen-cli

The PyPI distribution is named zwischen-cli (the bare zwischen name is taken by an unrelated project), but the installed command is still zwischen.

For local development:

cd packages/pip
python -m pip install -e .
zwischen --help

Commands

zwischen init
zwischen scan
zwischen scan --ai ollama
zwischen scan --ai openai --api-key "$OPENAI_API_KEY"
zwischen scan --format json
zwischen scan --pre-push
zwischen doctor

Supported scan flags:

  • --ai: ollama, openai, or anthropic
  • --api-key: provider API key
  • --format: terminal or json
  • --pre-push: compact hook mode

Not currently supported in this wrapper:

  • zwischen uninstall
  • zwischen scan --only ...
  • Ruby's changed-file filtering for --pre-push

Behavior

zwischen init tries to install Gitleaks into ~/.zwischen/bin, creates .zwischen.yml, checks whether Semgrep is available, and installs or appends a Git pre-push hook when run inside a Git repository.

Semgrep is optional:

pip install semgrep

Configuration

The Python wrapper creates this shape:

ai:
  enabled: true
  pre_push_enabled: false
  provider: ollama
  model: llama3

blocking:
  severity: high

scanners:
  gitleaks: true
  semgrep: true

Blocking severities are high, critical, or none.

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

zwischen_cli-0.1.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

zwischen_cli-0.1.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zwischen_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63e61fe16cff65b4fe837b01b1dd12761a5242a9a980b22399c26c66e27a09f4
MD5 f13a775abf0700149b261044cf5da74a
BLAKE2b-256 4329544bab399e44ed3a206e5c29daf3f87a0b1680044b0523906a8320620d7a

See more details on using hashes here.

Provenance

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

Publisher: release.yml on cjordan223/zwischen

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

File details

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

File metadata

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

File hashes

Hashes for zwischen_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac71ccc7b38c6a205ec2764a38e79c69968ad3c5d86640b45c948b2d36a4980
MD5 c01f7f362f9ab7601a2fdc92a662580e
BLAKE2b-256 bf6586327cd08cd4e13747ad19494f016e77a2d78c2b240d90e31578808241ab

See more details on using hashes here.

Provenance

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

Publisher: release.yml on cjordan223/zwischen

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