Skip to main content

Property Casualty Data Model Standard

Project description

PCDM

PyPI version

Property Casualty Data Model

SQLAlchemy implementation of OMG Property Casualty Data Model

Distribution

According to the Object Management Group:

Anyone can download specifications from the OMG website for free, write software implementations that conform to the specifications, and use them, give them away, or sell them. Neither OMG membership nor license is required for this.

Installation

Run pip install:

pip install pcdm

Deployment

The file deploy_sqlite contains a script that can be used to deploy a SQLite database:

import sqlalchemy as sa

from sqlalchemy.orm import sessionmaker

from base import Base
import party, account, policy, claim, assessment, agreementrole

engine = sa.create_engine(
            'sqlite:///pcdm.db',
            echo=True
        )
session = sessionmaker(bind=engine)
Base.metadata.create_all(engine)

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

pcdm-0.0.5.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

pcdm-0.0.5-py3-none-any.whl (23.5 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