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

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

Uploaded Source

Built Distribution

pcdm-0.0.6-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pcdm-0.0.6.tar.gz
  • Upload date:
  • Size: 17.3 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.6.tar.gz
Algorithm Hash digest
SHA256 820f0f8b28ca1cc00b1b9c640734f82b75114440632dc98692babd9d3cd8e2ad
MD5 163663aa20f746f566b425e4df3978a5
BLAKE2b-256 e9c8ab53d0c5c2b819673220523cd9f959b529253c7891cd6b09347e1d5b694a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pcdm-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 180ad6192bac8b1446341540025c07fe865d88f9cf11ae72f5350a2623198881
MD5 4ca67c08f3c73157c10c887654fd3cbc
BLAKE2b-256 56bf7f9cdc84dc03dbd881e3bf24a9be720b10eaae5c01583ddb5cd7f9db1fc4

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