Skip to main content

GraphQL-style codebase intelligence CLI — index, query, and analyze any codebase

Project description

spy-code

GraphQL-style codebase intelligence CLI — index, query, and analyze any codebase.

PyPI version License: MIT

Installation

pip install spy-code

On first run (or install), the package automatically downloads the appropriate native binary for your platform from the GitHub Releases page. No Rust compiler required.

Usage

# Initialize a project
spy-code init

# Index your codebase
spy-code index

# Search for symbols
spy-code search "my_function"

# Get call graph callers
spy-code callers <node_id>

# Start the GraphQL HTTP playground
spy-code serve --http

# Start as an MCP server (for LLM clients)
spy-code serve --mcp

Supported Platforms

Platform Architecture Support
Linux x86_64
macOS x86_64
macOS Apple Silicon (arm64)
Windows x86_64

How It Works

This package is a thin Python wrapper around the native spy-code binary built with Rust. On installation, spy-code detects your OS and CPU architecture, then downloads the matching pre-compiled binary from the GitHub Releases page. All subsequent spy-code commands are forwarded to this binary.

Links

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

spy_code-0.2.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

spy_code-0.2.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file spy_code-0.2.3.tar.gz.

File metadata

  • Download URL: spy_code-0.2.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spy_code-0.2.3.tar.gz
Algorithm Hash digest
SHA256 90341ced4a33d636762eb8f6deca6247eb14a1f9338c755e4b9867ac729b80f0
MD5 393103e2e41b29861f076a0ab7e65e37
BLAKE2b-256 e9197b1d70937ab1b49d9761acc3f40430e33842eae16cbd831d7c8e194ab9f8

See more details on using hashes here.

File details

Details for the file spy_code-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: spy_code-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spy_code-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a75a10261439d39347c9e096b16b0326e830962b8b3eeedbacfc3fac864e6ed
MD5 64b3ed7e29e993b12f2f5e6ecf1efa3d
BLAKE2b-256 f941450445a729cd9db9138b160f3906e94af346b7aa50dd1d99e080d3a21fac

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