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.3.0.tar.gz (4.3 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.3.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smart_code-0.3.0.tar.gz
  • Upload date:
  • Size: 4.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 24c5bea0bada353360ca7db2cd1de6bf4680a90974629f094a7ce5d1aa24d1a0
MD5 b5c62a3cf18e802e60b7895fdb73ceef
BLAKE2b-256 696bd4dfbcaf94e8180d9f6b498effbfcba85235212b18ef224c13b39ff905cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smart_code-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf75dded575dc591d5b517df67171c9a9120de6ebc71deaf04da31dde2e08ef
MD5 4d7a429a391cb647d2359c463bab7b18
BLAKE2b-256 aee45c5c64d59d50ff0415460a3da44cb230eea361940c18fb6f780931d51541

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