Metadata-Version: 2.2
Name: puregen
Version: 0.1.0
Summary: Give your code the freedom to move
Home-page: https://github.com/MushroomSquad/puregen
Author: MushroomSquad
Author-email: donsudak@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: annotated-types==0.7.0
Requires-Dist: argcomplete==3.5.3
Requires-Dist: black==25.1.0
Requires-Dist: click==8.1.8
Requires-Dist: datamodel-code-generator==0.28.1
Requires-Dist: genson==1.3.0
Requires-Dist: graphql-core==3.2.6
Requires-Dist: inflect==5.6.2
Requires-Dist: isort==6.0.0
Requires-Dist: Jinja2==3.1.5
Requires-Dist: markdown-it-py==3.0.0
Requires-Dist: MarkupSafe==3.0.2
Requires-Dist: mdurl==0.1.2
Requires-Dist: mypy-extensions==1.0.0
Requires-Dist: packaging==24.2
Requires-Dist: pathspec==0.12.1
Requires-Dist: platformdirs==4.3.6
Requires-Dist: pydantic==2.10.6
Requires-Dist: pydantic_core==2.27.2
Requires-Dist: Pygments==2.19.1
Requires-Dist: PyYAML==6.0.2
Requires-Dist: rich==13.9.4
Requires-Dist: setuptools==75.8.0
Requires-Dist: shellingham==1.5.4
Requires-Dist: typer==0.15.1
Requires-Dist: typing_extensions==4.12.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<div align="center">
  <img src="./logo.png" alt="Logo" width="364">
</div>

# puregen

**puregen – give your code the freedom to move.**

[![Issues](https://img.shields.io/github/issues/MushroomSquad/puregen)](https://github.com/MushroomSquad/puregen/issues)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Python Version](https://img.shields.io/badge/Python-3.10%2B-blue.svg)](https://www.python.org/downloads/)

---

## Overview

**puregen** is a lightweight wrapper built on top of [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) that resolves the issue of having all generated code dumped into a single file. Instead, puregen automatically organizes your code into well-structured folders and files, making your project much easier to maintain.

**Key Features:**
- **Automatic Structuring:** Divides generated code into logical modules and directories.
- **Seamless Imports:** Automatically generates the necessary import statements between files.
- **Efficient for Large Projects:** Ideal for projects with a vast number of models where managing a single file becomes cumbersome.

> **Note:** This is the first version of puregen and is still under active development. We welcome your feedback and suggestions!

---

## Getting Started

### Installation

Install puregen using pip:

```bash
pip install puregen
```

Or:

```bash
pip install git+https://github.com/MushroomSquad/puregen.git
```

## Simple Usage
You can generate models from a local file.
```bash
puregen --input "api.yaml" --input-file-type "openapi" 
```
