Giter VIP home page Giter VIP logo

pcdm's Introduction

PCDM

PyPI version

Property Casualty Data Model

PCDM is a SQLAlchemy implementation of Object Management Group's Property Casualty Data Model. The Property Casualty Data Model is a relational database schema that closely resembles the backend of an insurance company. This package allows you to deploy a SQLite database within seconds for testing, and can be tweaked to support Postgres and other relational database systems.

PCDM contains 256 tables from 13 subject area models (SAMs):

  1. Party - all persons, organizations, and groups involved in the insurance agreement
  2. Account and Agreement - customer, insurer, and vendor agreements
  3. Policy - policy information
  4. Claim - claim information
  5. Assessment - information pertaining to assesment (credit scoring, appraisals)
  6. Agreement Role - roles involved in agreements (providers, producers, suppliers)
  7. Claim Role - roles involved in claims (claimaints, adjusters)
  8. Staffing Role - roles involved in staffing (employees and contractors)
  9. Party Subtype - groupings and subgroupings of parties
  10. Insurable Object - things that can be insured (vehicles, structures)
  11. Money - transaction information
  12. Event - event information
  13. Product - product information (line of business, limits, coverage)

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 and Deployment

This repository requires sqlalchemy, so install it if you don't have it:

pip3 install sqlalchemy

or

pip3 install -r requirements.txt

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

git clone https://github.com/genedan/PCDM
cd PCDM
python3 deploy_sqlite.py

PyPI

This package is also available on PyPI:

pip3 install pcdm

pcdm's People

Contributors

genedan avatar kant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.