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

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

Uploaded Source

Built Distribution

pcdm-0.0.8-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pcdm-0.0.8.tar.gz
  • Upload date:
  • Size: 19.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.8.tar.gz
Algorithm Hash digest
SHA256 888ca6d855561784f3d01d712d0d777190f06cb83b3f6bf0adaac87e2a039d27
MD5 dee26868a2c185481f2b414ff7405ad6
BLAKE2b-256 debb4fdfdf4b9483e1b5344cb47d64c917c3bed74b0d0365dd1d5b139b297294

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pcdm-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 27.4 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 df1faf3c047097595b36f3757bdf9fdbe2dee65ed56d7d6fedc41d5784662708
MD5 bad98167dea4fa33f142634bcb7dcffa
BLAKE2b-256 24a1604f3e6220baa6fc3ca3896f59db8b3cde9ccabb0880e3d8d3acef0d2e1a

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