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-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

neurotidy-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neurotidy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ee3b281e7ca2298973df2d4629a25993786d66563eda8439fdc4c0e529b85b2a
MD5 ca0b8a9274c94062afaa83e5bb98b771
BLAKE2b-256 8ed9dc2cff0a302289d5e5f144275198e4e3d0f839cb6a63301392feb71f895d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for neurotidy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2362c6b7fb876552dbea34159aa197da00693f6de5bd9a4809cc5caa59997e87
MD5 caffd3545129786a3ae10a77ce12b44c
BLAKE2b-256 57cb48abd678cecfb376e00d3e24083c14aa89479a654d75ac78b13496ef2e48

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