Metadata-Version: 2.4
Name: proj2pdf
Version: 0.1.0
Summary: A CLI tool to convert project files to PDF
Author-email: Gordon Oh <gordonoh@yahoo.com.sg>
License: MIT License
        
        Copyright (c) 2025 Gordon Oh
        
        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/gordonjun2/proj2pdf
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
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
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nbformat>=5.7.0
Requires-Dist: nbconvert>=7.2.0
Requires-Dist: playwright>=1.39.0
Requires-Dist: markdownify>=0.11.6
Requires-Dist: weasyprint==60.1
Requires-Dist: PyPDF2>=3.0.0
Requires-Dist: jupyter>=1.0.0
Requires-Dist: Pygments>=2.17.2
Dynamic: license-file

# proj2pdf

A command-line tool to convert your project files into a single PDF document. It supports various file types including:

- Python files (.py)
- Jupyter notebooks (.ipynb)
- Markdown files (.md)
- Various code files (.js, .ts, .java, .cpp, .c, .go, .rs, .rb, .php, .cs, .scala, .kt, .swift, .r, .sql, .sh)
- Existing PDF files

## Installation

You can install proj2pdf using pip:

```bash
pip install proj2pdf
```

## Usage

After installation, you can use the `proj2pdf` command from anywhere in your terminal:

```bash
# Convert files in current directory
proj2pdf

# Specify a different directory
proj2pdf -d /path/to/your/project

# Specify output file name
proj2pdf -o output.pdf

# Get help
proj2pdf --help
```

## Features

- Converts various file types to PDF with syntax highlighting
- Maintains original formatting and structure
- Supports recursive directory scanning
- Merges multiple PDFs into a single document
- Preserves code syntax highlighting
- Handles Jupyter notebooks with output cells
- Supports markdown rendering

## Requirements

- Python 3.7 or higher
- Required dependencies will be automatically installed

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contributing

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