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.3.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for big_o_estimator-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed6321d67d589fa5bc5ed9c067e105c901fa9c337cfe377b388a80d4432003a |
|
MD5 | ca6d2eadf5167d8edc94f42be379383f |
|
BLAKE2b-256 | 6b5a955123da29394ceecaf838da79f2f27ad22bfbdd3b2ad6812c8d9295828c |