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, claimrole, staffing, partyst, insurable

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.9.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

pcdm-0.0.9-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file pcdm-0.0.9.tar.gz.

File metadata

  • Download URL: pcdm-0.0.9.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for pcdm-0.0.9.tar.gz
Algorithm Hash digest
SHA256 8f4a7745db21152078fd7788bee42bcd0f0f3974c929de14bc7f0068a92a9a13
MD5 24d2ef5d2182ba9d6742595335e81b37
BLAKE2b-256 6e01235ab9bdabe6725de8cd092eea7f9a4853ffe3281947d80b61e173896259

See more details on using hashes here.

File details

Details for the file pcdm-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: pcdm-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for pcdm-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9b8835133e6e6cec7c59b9c63fdefdd4100736520ff562f7eda736741f097b6b
MD5 3f76b3354c9348b49379f1bd12a1bb73
BLAKE2b-256 4c027911cebe29b22e1133f60a37d5e5704a5b539cbbe3b880257dfe29cabb57

See more details on using hashes here.

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