Metadata-Version: 2.4
Name: debugaid
Version: 1.0.0
Summary: A lightweight Python toolkit for debugging and performance analysis
Author: FelineFantasy
Author-email: mailsalavata5@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# DebugAid

[![Python Version](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Version](https://img.shields.io/badge/version-1.0.0-orange.svg)](https://pypi.org/project/debugaid/)

### DebugAid is a lightweight Python utility for performance analysis and memory profiling.

## Features

- **Precision Timing** - Measure code execution time with high accuracy
- **Memory Profiling** - Analyze memory usage of variables and files
- **Multiple Units** - Support for bits, bytes, KB, MB, GB
- **Simple API** - Intuitive and easy-to-use functions

## Installation

```bash
pip install debugaid
```

## Quick Start

```python
import debugaid

# Measure execution time
time_result = debugaid.time_counter("sum([i**2 for i in range(10000)])")
print(time_result)  # Execution time: 0.000627599998552 seconds

# getting the memory of a variable
my_list = [i for i in range(10000)]
size_result = debugaid.size_var(my_list, "kb")
print(size_result)  # 876.23 KB

# Analyze file size
file_size = debugaid.size_file("data.csv", "mb")
print(file_size)  # 2.45 MB
```

## License
MIT License
