Metadata-Version: 2.4
Name: dapo
Version: 1.0.0
Summary: Simple, zero-dependency tabular data manipulation and analysis for Python.
Author-email: Matvei Pisarev <matveypisarev.edu@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Matvei Pisarev
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/mapi-developer/dapo
Project-URL: Bug Tracker, https://github.com/mapi-developer/dapo/issues
Keywords: data,analysis,tabular,csv,json
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: license-file

# Dapo

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

**Dapo** is a lightweight Python package designed for efficient modification, analysis, and transformation of 2D tabular data. It mimics the ease of use of tools like Pandas but keeps things simple with standard Python lists and minimal dependencies.

## Table of Contents

- [Getting Started](#getting-started)
- [Usage](#usage)
- [Documentation](#documentation)

## Getting Started

**Create DataKit**

```python
from dapo import DataKit

data_kit = DataKit() # Empty DataKit
data_kit_csv = DataKit.from_csv(src) # DataKit from csv file
data_kit_json = DataKit.from_json(src) # DataKit from json file
```

**Write DataKit into File**

```python
data_kit.to_csv(src) # DataKit to csv file
data_kit.to_json(src) # DataKit to json file
```

## Usage

**Get Data**

```python
data_kit.get_column() # Get DataColumn
data_kit.get_row() # Get Row by index
data_kit.iter_rows() # Iterate rows
```

**Change Data**

```python
data_kit.add_row() # Add Row: Dict[str, Any] into DataKit
data_kit.update_row() # Update Row by index
data_kit.delete_row() # Delete Row by index
```

## Documentation
You can find the comprehensive documentation describing all methods and features [here](https://github.com/mapi-developer/dapo/blob/main/docs/Documentation.md).

## License
[MIT](./LICENSE) License © 2025-PRESENT [Matvei Pisarev](https://github.com/mapi-developer)
