Skip to main content

xsdata PlantUML generator

Project description

xsData PlantUML plugin

Generate PlantUML class diagrams from xml schemas, wsdl definitions and directly from xml documents.

https://github.com/tefra/xsdata-plantuml/workflows/tests/badge.svg https://codecov.io/gh/tefra/xsdata-plantuml/branch/master/graph/badge.svg https://www.codefactor.io/repository/github/tefra/xsdata-plantuml/badge https://img.shields.io/pypi/pyversions/xsdata-plantuml.svg https://img.shields.io/pypi/v/xsdata-plantuml.svg

Usage

$ pip install xsdata-plantuml

$ xsdata samples/order.xsd --output plantuml --package samples
@startuml

class Items {
    +item : item[]
}
Items +-- item
class item {
    +productName : string
    +quantity : positiveInteger
    +USPrice : decimal
    +comment : string
    +shipDate : date
    +partNum : string
}
class PurchaseOrderType {
    +shipTo : USAddress
    +billTo : USAddress
    +comment : string
    +items : Items
    +orderDate : date
}
class USAddress {
    +name : string
    +street : string
    +city : string
    +state : string
    +zip : decimal
    +country : NMTOKEN
}
class comment {
    +@value : string
}
class purchaseOrder {
}
purchaseOrder *- PurchaseOrderType

@enduml
https://github.com/tefra/xsdata-plantuml/raw/master/samples/order.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xsdata_plantuml-21.4.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

xsdata_plantuml-21.4-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page