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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f4e6cc084d59559c47e4dd48cf2d06b19d2865f453181903cfbbe3a15743063
|
|
| MD5 |
3b462a74c4cd6fd52734aefba33cdc9f
|
|
| BLAKE2b-256 |
4bae19ffc35bf5715dc54e51aa7bf66b591cc9238e5e9d63811712819de499e1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4096c05105c1c424bcb3b1e5ebfcd1bbfef464e0f7a6bad237c37b5d570fe7d
|
|
| MD5 |
c6e266a0a03da910f5035b08d279da64
|
|
| BLAKE2b-256 |
58fdad04bc5d8fd7f6b414e6e24d5b9be86b553f52f22487ef71a338d6046365
|