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.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for big_o_estimator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b9a074f6a1cc592cb15df5138a5fc64bf8903bd169747417f6fb45a4efa948 |
|
MD5 | 6de129fff20840496a8c8d8cc4a7c44d |
|
BLAKE2b-256 | 0fd1abdffdff29652563f57048021d50a4a7d2e4e0adbadd18771fd74338b554 |