Preferred bin is pyne (alias pynescript) — a Click group for check, format, lint, compile, run, and optimize. Language server is a separate bin: pyne-lsp. 13 groups · 6 categories.
hoox-pyne • v0.3.12 • bins pyne · pyne-lsp
Installation guideParse-only validation of Pine Script™ sources. CI-friendly exit codes. Walks directories; omit or - → stdin.
Walks directories. Omit PATHS or pass - to read stdin. Prefer .pyne; .pine remains for TradingView® exports.
alias: fmt
Canonicalize Pine Script™ by parse → unparse (structural, not a full style formatter).
alias: dump · ast
Dump the parsed AST for a single Pine Script™ file.
alias: unparse
Round-trip a Pine Script™ file through parse → unparse.
Static diagnostics for one Pine Script™ file or stdin. Not a directory walk.
One file or stdin — not a directory walk. Use pyne check for recursive parse-only.
Transpile or compile-check via pynescript.compiler.compile_script. --emit prints generated Python without exec/JIT.
[compile] extra required for full Numba; --emit works without JIT.
H2 warm-compile: pay cold JIT before the first interactive run. Optional PATH… compiles scripts into IR caches.
Compile and execute on deterministic synthetic OHLCV (same compile pipeline as Pro API mode=compile).
Synthetic OHLCV compile-only. Does NOT call Runtime.run. No --mode. Prefer package Runtime / Pro API for real bars.
Search input.* values for a strategy() script. Loops interpret Runtime — not /backtest/quick. Requires --space JSON.
strategy() scripts only. Interpret Runtime — not /backtest/quick.
Fetch market bars for a required SYMBOL. Default provider is mock (offline-safe).
CCXT needs pip install "hoox-pyne[data]". Default provider is mock.
alias: pynescript-lsp
Language server console script. Not a Click subcommand. Alias pynescript-lsp. Requires [lsp] extra.
Same entry as python -m pynescript.langserver. pip install "hoox-pyne[lsp]".
Bun CLI for @hoox-sh/pynets 0.2.0. Parse, format, dump, and evaluate in TypeScript. Unlike Python pyne run, pynets run calls Runtime.run.
Install with bun add @hoox-sh/pynets. Unlike Python pyne run, pynets run calls Runtime.run.
alias: ls
Print package version, Python, platform, and whether numba / rich extras are available.