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.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for big_o_estimator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d7e13cb100249ad7b3d204545cc20e9b1cca00e69f6a83c378612fde9c27075 |
|
MD5 | 1257c54198f6ac00cc25335d19e96a10 |
|
BLAKE2b-256 | 3cba6d74a8d3ee8cdfeee6efb2293d77d5506395b82cb08931648304d9818135 |