A package to estimate Big-O complexity of Python functions.
Project description
Big-O Estimator
This Python package allows you to estimate the Big-O complexity of Python functions using AST (Abstract Syntax Tree) parsing.
Installation
You can install the package using:
pip install .
Usage
from big_o_estimator import get_big_o_of_function
def sample_function(n):
for i in range(n):
pass
print(get_big_o_of_function(sample_function))
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
Built Distribution
Close
Hashes for big_o_estimator-0.1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec1ff11fc45a600fbea3e2b0db35a03f457e4ff6dacefcf0e246b144835c78f |
|
MD5 | 7f198a8e1955a0bc0f8e45d35605b9a9 |
|
BLAKE2b-256 | b1b7a616005071abd4ec0e943df0c465d4e81ee1ab54239fbd6924e13b2d5289 |