Metadata-Version: 2.4
Name: arttactic
Version: 0.1.1
Summary: Processing library for art auction data
Author: Nafisa Sharif
License: MIT License
        
        Copyright (c) 2026 Nafisa Sharif
        
        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.
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=3.0.1
Requires-Dist: openpyxl>=3.1.5
Dynamic: license-file

# arttactic

A Python library for extracting and processing data from scraped art auction results. Currently designed to run on Linux or macOS, not yet tested on Windows.


## Description

`arttactic` provides tools for working with art auction datasets, including:

* Cleaning and transforming auction data
* Applying buyer’s premium calculations
* Extracting mediums from lot information


## Installation

(Recommended) In the terminal, create a virtual environment and activate it.

For example:

```bash
python3 -m venv arttactic-venv
source arttactic-venv/bin/activate
```

Then install the arttactic library:

```bash
pip install arttactic
```

## Usage

From the terminal, run the following CLI command:

```bash
run-arttactic
```

This will launch a GUI that allows you to:
- Select a directory containing .csv files with scraped auction data,
- Select a single file you wish to add buyer's premiums to,
- Generate processed spreadsheets after selecting a directory,
- Generate processed spreadsheets after selecting a directory, and also find and save new mediums,
- Add buyer's premiums to a selected file.


## Development

(Only relevant if you wish to edit the source code.)
To install locally in editable mode:

```bash
pip install -e .
```
