Skip to main content

A lib to create a database based on Scrum Reference Ontology

Project description

Scrum Reference Ontology Lib

General Information

Goal

This lib is responsible for creating database and operation based on Scrum Reference Ontology.

Generate documentation

To create the code documentation:

pdoc --html --force sro_db/ --output docs

Acess code documentation

To accesss the documenation, go to folder docs/sro_db and open index.html

To run documentation server: pdoc sro_db --http localhost:8000

Instalation

To install sro_db, run this command in your terminal:

pip install sro_db

Usage

Creating a Database

from sspo_db.config.config import Config
from sspo_db.model.activity.models import *
from sspo_db.service.activity.service import *
from sspo_db.model.core.models import *
from sspo_db.service.core.service import *
from sspo_db.model.stakeholder_participation.models import *

conf = Config()
conf.create_database()

Creating an Organization

from sspo_db.model.organization.models import *
from sspo_db.model.core.models import *
from sspo_db.service.organization.service import *
from sspo_db.service.core.service import *
from pprint import pprint 

#Creating a Organization
organization = Organization()
organization.name = "xxxxxx"
organization.description = "YYYYYY"

organizationService = OrganizationService()
organizationService.create(organization)

Copyright

This lib was PowerRight by SEON Lib Generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sro_db-71.0.0-py3-none-any.whl (29.1 kB view hashes)

Uploaded Python 3

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