Metadata-Version: 2.4
Name: tableau-parser
Version: 0.1.0
Summary: A Python library for parsing and analyzing Tableau workbook files
Home-page: https://github.com/yourusername/tableau-parser
Author: Your Name
Author-email: your.email@example.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Tableau Parser

A Python library for parsing and analyzing Tableau workbook (.twb) files. This library provides detailed information about Tableau workbooks including datasources, calculations, dashboards, sheets, and more.

## Installation

```bash
pip install tableau-parser
```

## Usage

```python
from tableau_parser import analyze_tableau_workbook

# Analyze a Tableau workbook
result = analyze_tableau_workbook("path/to/your/workbook.twb")

# Access the analysis results
print(result.model_dump_json(indent=4))
```

## Features

- Parse Tableau workbook (.twb) files
- Extract detailed information about:
  - Datasources (published and embedded)
  - Calculations
  - Dashboards
  - Sheets
  - Charts
  - Tables
  - Parameters
  - Filters
  - Joins
  - And more!

## Example Output

The library returns a structured response containing:

- Summary information (counts of various components)
- Detailed information about each component
- Datasource information including filters and row-level security

## Requirements

- Python 3.7 or higher
- pydantic 2.0.0 or higher

## License

MIT License

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request. 
