Metadata-Version: 2.1
Name: pythonplantuml
Version: 0.2.0
Summary: A library for generating PlantUML diagrams
Home-page: https://github.com/treezy254/py-plantuml.git
Author: Kamau Samuel
Author-email: gachungasamuel54@gmail.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.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# PyPlantuml

PyPlantUML Generator is a Python library for generating UML diagrams using PlantUML. It provides a simple interface to create SVG and PNG diagrams from PlantUML code.

## Installation

You can install the PlantUML Generator using pip:
```
pip install plantuml-generator
```

## Usage

Here's a basic example of how to use the PlantUML Generator:

```python
from plantuml_generator import generate_uml_png

uml_code = """
@startuml
Alice -> Bob: Hello
Bob --> Alice: Hi!
@enduml
"""

generate_uml_png(uml_code, "output.png")
```

This will generate a PNG file named "output.png" with the UML diagram.

## Features

- Generate SVG diagrams from PlantUML code
- Convert SVG diagrams to PNG
- Support for both local PlantUML jar and PlantUML web service

## Documentation
For more detailed information about the PlantUML Generator, please refer to the full documentation.
Development
To set up the development environment:


Clone the repository
Install the development dependencies:

```
pip install -r requirements.txt
```

Run the tests:
```
python -m unittest discover tests
```

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

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