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

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

Uploaded Source

Built Distribution

pcdm-0.0.7-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pcdm-0.0.7.tar.gz
  • Upload date:
  • Size: 18.1 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.7.tar.gz
Algorithm Hash digest
SHA256 aa5aa7efc44c6e56f1a89c284b76b69c38fcabc17c4670d208a5693c801f6625
MD5 c2c8a0680dc6880dae271196a5df9f8d
BLAKE2b-256 062c8537a9747d781ab7fe40554e5d43f01e40ad2ae605ad1ba7d96f1d3035c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pcdm-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 26.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 686e95fe02cc2872a732f74ce442a1edfc6f22c7f5832d1977a5ad4ced58a28d
MD5 af0c76a6df10f971708fc275e9e1835a
BLAKE2b-256 08a27593f191f38a8b0c19fba1c844274ebf5e2b0015fedc64cc6ba1cda5a20d

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