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.1.0.tar.gz (3.1 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.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smart_code-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d795c029ecf09837e5af49152d81bb438e35d90a177142ccdd67f29e995cbf81
MD5 8e54cd05cc649ea8b205052cb68640db
BLAKE2b-256 1cf3424ab75e509d6f7faa097b2ca4eb4c6ea97f54023f710d5d5258c510b752

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smart_code-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7433fa7e1526c08731181d9e4c4f97d2eff25b3909a60d3dc9b65bb1836c4f35
MD5 9da2ea499a0dc319fb9ab83d7e4cb0a1
BLAKE2b-256 10856b1bd9c043d14c0b9bfb83de03717f3b6bbcb528654a394023711c972cf8

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