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
big_o_estimator-0.1.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for big_o_estimator-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1480b0b24424fdfc103070045f1610f7bdfa59729b208405175e18ccb0f6ce3 |
|
MD5 | 69aac7ffcfa391b9eda95df4a9f742a1 |
|
BLAKE2b-256 | 5de6a807cebfd2067e23281aaa7e080510d472832e671aa7dad8a8c9fd825ebf |