Skip to main content

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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

big_o_estimator-0.1.3.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file big_o_estimator-0.1.3.2.tar.gz.

File metadata

  • Download URL: big_o_estimator-0.1.3.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for big_o_estimator-0.1.3.2.tar.gz
Algorithm Hash digest
SHA256 a4b97454697622fe5f46eda270497a4c7d9aa95359c5f96637fd4237ec79a595
MD5 a4785a5e76856937c0463e459a3899a8
BLAKE2b-256 d66a4a85d464bd111a05ad58fa58b2404236ad51cad870d8a1b9374227c05512

See more details on using hashes here.

File details

Details for the file big_o_estimator-0.1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for big_o_estimator-0.1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65cf787e4b08b415022c26458cfd3def1e851d1fed35fdbf36babffa06b291f3
MD5 09350058c201db9cf6fdfc133b2556df
BLAKE2b-256 c1df3b8dc8535f8d95740b26fce7e41779efe54e64d86d475d6599aa49145803

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page