Skip to main content

Static code algorithm optimization analyzer

Project description

smart_code

Static code optimizer that analyzes Python code to suggest algorithmic efficiency improvements.

Installation

pip install smart-code

Usage

smart-code path/to/file.py

Or in Python:

from smart_code.analyzer import analyze_code
from smart_code.suggestor import format_suggestions

code = "..."
sugs = analyze_code(code)
print(format_suggestions(sugs))

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

smart_code-0.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

smart_code-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file smart_code-0.2.0.tar.gz.

File metadata

  • Download URL: smart_code-0.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11

File hashes

Hashes for smart_code-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1f4e6cc084d59559c47e4dd48cf2d06b19d2865f453181903cfbbe3a15743063
MD5 3b462a74c4cd6fd52734aefba33cdc9f
BLAKE2b-256 4bae19ffc35bf5715dc54e51aa7bf66b591cc9238e5e9d63811712819de499e1

See more details on using hashes here.

File details

Details for the file smart_code-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: smart_code-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11

File hashes

Hashes for smart_code-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4096c05105c1c424bcb3b1e5ebfcd1bbfef464e0f7a6bad237c37b5d570fe7d
MD5 c6e266a0a03da910f5035b08d279da64
BLAKE2b-256 58fdad04bc5d8fd7f6b414e6e24d5b9be86b553f52f22487ef71a338d6046365

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