numba
CommunityAccelerate Python code with JIT compilation.
Authortondevrel
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill dramatically speeds up computationally intensive Python code, especially numerical algorithms and loops, by compiling them into efficient machine code.
Core Features & Use Cases
- Just-In-Time (JIT) Compilation: Compiles Python functions to native machine code on the fly.
- Nopython Mode (
@njit): Ensures maximum performance by avoiding Python interpreter overhead. - Parallelism (
prange): Automatically parallelizes loops across multiple CPU cores. - GPU Acceleration (
cuda.jit): Enables execution of code on NVIDIA GPUs. - Use Case: Optimize a complex scientific simulation or a deep learning data preprocessing step that is currently bottlenecked by slow Python loops.
Quick Start
Use the numba skill to apply the @njit decorator to the provided Python function 'calculate_stats'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: numba Download link: https://github.com/tondevrel/scientific-agent-skills/archive/main.zip#numba Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.