Skip to main content

AI-Powered Python & Deep Learning Code Analyzer — Explain, Analyze, Optimize, and Debug your code

Project description

NeuroTidy

AI-Powered Python & Deep Learning Code Analyzer

NeuroTidy analyzes your Python and PyTorch/TensorFlow code using AI. It can explain, analyze, optimize, and debug your code — all from the terminal.

Install

pip install neurotidy

Usage

# Explain code for beginners
neurotidy explain train.py --mode beginner

# Static code analysis
neurotidy analyze model.py

# DL-specific optimization suggestions
neurotidy optimize train.py

# Debug an error message
neurotidy debug --error "RuntimeError: mat1 and mat2 shapes cannot be multiplied"

# Inline code
neurotidy explain --code "def add(a, b): return a + b" --mode beginner

Features

  • Explain — AI-powered code explanations at beginner, intermediate, or advanced level
  • Analyze — Static analysis with Python best-practice rules (PY001–PY010)
  • Optimize — Deep learning specific optimizations (NT001–NT027) with RAG-enhanced analysis
  • Debug — Paste an error message, get root cause analysis and step-by-step fixes

How It Works

NeuroTidy calls a serverless AWS backend:

  • API GatewayLambdaAmazon Bedrock (Claude AI)
  • Results cached in DynamoDB, stored in S3
  • Zero infrastructure to manage — just pip install and go

Configuration

By default, NeuroTidy connects to the hosted API. To use a custom endpoint:

export NEUROTIDY_API_ENDPOINT=https://your-api.execute-api.us-east-1.amazonaws.com/prod

Built by

ERROR-108 — AWS Hackathon 2026

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

neurotidy-1.0.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

neurotidy-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file neurotidy-1.0.0.tar.gz.

File metadata

  • Download URL: neurotidy-1.0.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for neurotidy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26576693304d13f0938aebc555ebaa0e64efecb736582e6ce1a8f07d179c50bc
MD5 07d5ef15136734e548371211f217722e
BLAKE2b-256 2bc125a3fcdcf5f51bc3ba801ef0f23fc746398bedf34ee16390f07561a1e410

See more details on using hashes here.

File details

Details for the file neurotidy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: neurotidy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for neurotidy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b2a6caa510efcbdd57c0b7d50b4a8a6d793443939723fbc8a2460ff6aaeeeb
MD5 00f04c682f58d41e3013e5245119cb8f
BLAKE2b-256 715395519af0e2c3f9e2ccc368f22f938e59b6c540aec44409a3e7ecc2706aec

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