Skip to main content

pertchart

Build Status

The purpose of his application is to automatically generate pert chart from tasks in json file.

Installation

pip install pertchart

Usage

from pertchart import PertChart

pc = PertChart()
tasks = pc.getInput(path_to_inputfile)
pc.create_pert_chart(pc.calculate_values(tasks))

Example Input Data File

The data file contains task tuples one per line as in the following sample:

{
  "T1.1": {
    "Tid": "T1.1",
    "start": 0,
    "duration": 1,
    "end": 0,
    "responsible": "Responsible1",
    "pred": ["START"]
  },
  "T1.2": {
    "Tid": "T1.2",
    "start": 0,
    "duration": 3,
    "end": 0,
    "responsible": "Responsible2",
    "pred": ["T1.1"]
  },
  "T1.3": {
    "Tid": "T1.3",
    "start": 0,
    "duration": 3,
    "end": 0,
    "responsible": "Responsible3",
    "pred": ["T1.1"]
  },
  "T1.4": {
    "Tid": "T1.4",
    "start": 0,
    "duration": 2,
    "end": 0,
    "responsible": "Responsible4",
    "pred": ["T1.2"]
  },
  "T1.5": {
    "Tid": "T1.5",
    "start": 0,
    "duration": 2,
    "end": 0,
    "responsible": "Responsible5",
    "pred": ["T1.3"]
  },
  "T1.6": {
    "Tid": "T1.6",
    "start": 0,
    "duration": 1,
    "end": 0,
    "responsible": "Responsible6",
    "pred": ["T1.4"]
  },
  "T1.7": {
    "Tid": "T1.7",
    "start": 0,
    "duration": 3,
    "end": 0,
    "responsible": "Responsible7",
    "pred": ["START"]
  },
  "T1.8": {
    "Tid": "T1.8",
    "start": 0,
    "duration": 0,
    "end": 0,
    "responsible": "Responsible8",
    "pred": ["T1.5","T1.6","T1.7"]
  },
  "END": {
    "Tid": "END",
    "start": 0,
    "duration": 0,
    "end": 0,
    "responsible": "Responsible",
    "pred": ["T1.8"]
  }
}

Exacmple Output PERT chart for th eabove input data

PERT Output

Credits and References

Release files for pertchart 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pertchart 0.5.1
File Size Uploaded
pertchart-0.5.1.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pertchart 0.5.1
File Interpreter ABI Platform
pertchart-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / pertchart-0.5.1.tar.gz

Download URL pertchart-0.5.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b1175337e85ed96e501ca0cecc623cb280b00482b42504c3654c6bc03d0af265
BLAKE2b-256 checksum
How to use checksums
429f3f389c544e68c7874d811a644018fafa948e4f8758ffbea4a79119c4b928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

Release files / pertchart-0.5.1-py3-none-any.whl

Download URL pertchart-0.5.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97636bfeb1a41ef74a4188a1125ef73483e6743da6933e2f382a2cc2618331f
BLAKE2b-256 checksum
How to use checksums
bdd8a1d64f82ff02d0777525d27806baf9d36561f2ae88150b0476017c3b41fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page