pmoskills 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.4
2
+ Name: pmoskills
3
+ Version: 0.5.0
4
+ Summary: Python SDK for PMOSkills - Executable Skill System & PMO Reference Architecture built on PMI PMBOK 8th Edition
5
+ License: MIT
6
+ Project-URL: Homepage, https://github.com/fakhruldeen/PMOSkills
7
+ Project-URL: Repository, https://github.com/fakhruldeen/PMOSkills
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
+ Requires-Python: >=3.8
15
+ Description-Content-Type: text/markdown
16
+
17
+ # PMOSkills Python SDK
18
+
19
+ Python SDK for **PMOSkills** — an Executable Skill System & PMO Reference Architecture built on the PMI PMBOK® 8th Edition.
20
+
21
+ This SDK provides programmatic access to the entire compiled PMOSkills database (skills, processes, artifacts, reference guides, shared tools, and tests) for use in Python agentic AI and LLM workflows (e.g., LangGraph, Autogen, CrewAI).
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pip install pmoskills
27
+ ```
28
+
29
+ ## Quick Start
30
+
31
+ ```python
32
+ from pmoskills import pmoskills, inject
33
+
34
+ # 1. Access executable skills (Packs 01 to 07, 48 skills total)
35
+ skill = pmoskills.get_skill("SKL-01-01")
36
+ print(f"Skill Title: {skill['title']}")
37
+ print(f"Focus Domain: {skill['metadata']['domain']}")
38
+
39
+ # 2. Access PMBOK 8 Process Records
40
+ process = pmoskills.get_process("PR01")
41
+ print(f"Process: {process['title']}")
42
+ print(f"Inputs: {process['inputs']}")
43
+
44
+ # 3. Retrieve Artifact Templates
45
+ artifact = pmoskills.get_artifact("A01")
46
+ print(f"Artifact Template:\n{artifact['rawContent']}")
47
+
48
+ # 4. Inject variables into templates/prompts
49
+ prompt_template = "Draft a plan for [project_name] with complexity tier [complexity]."
50
+ injected = inject(prompt_template, {
51
+ "project_name": "Apex Project",
52
+ "complexity": "T1"
53
+ })
54
+ print(injected)
55
+ ```
56
+
57
+ ## API Reference
58
+
59
+ ### Executable Skills
60
+ - `pmoskills.get_skills()`: Returns a dict of all skills.
61
+ - `pmoskills.get_skill(id)`: Retrieves a specific skill by its ID (e.g., `SKL-01-01`).
62
+ - `pmoskills.get_skills_by_domain(domain)`: Returns all skills in a specific Performance Domain (e.g., `Planning`).
63
+
64
+ ### Processes
65
+ - `pmoskills.get_processes()`: Returns a dict of all PMBOK 8 processes.
66
+ - `pmoskills.get_process(id)`: Retrieves a specific process by its ID (e.g., `PR01`).
67
+
68
+ ### Artifacts
69
+ - `pmoskills.get_artifacts()`: Returns a dict of all artifacts.
70
+ - `pmoskills.get_artifact(id)`: Retrieves a specific artifact by its ID (e.g., `A01`).
71
+
72
+ ### References
73
+ - `pmoskills.get_reference_files()`: Returns a dict of reference documents.
74
+ - `pmoskills.get_reference_file(path)`: Retrieves a specific reference file content by its relative path.
75
+
76
+ ### Shared Assets
77
+ - `pmoskills.get_shared_files()`: Returns a dict of shared assets.
78
+ - `pmoskills.get_shared_file(path)`: Retrieves a specific shared file by its relative path.
79
+
80
+ ### Compliance Tests
81
+ - `pmoskills.get_test_files()`: Returns a dict of compliance test assets.
82
+ - `pmoskills.get_test_file(id)`: Retrieves a test asset by its ID.
83
+
84
+ ### Ontology & System Prompts
85
+ - `pmoskills.get_system_prompts()`: Returns a dict of system role prompts.
86
+ - `pmoskills.get_system_prompt(id)`: Retrieves a specific system prompt (e.g., `pmo-orchestrator`).
87
+ - `pmoskills.get_ontology()`: Retrieves the PMOSkills ontology specification.
@@ -0,0 +1,71 @@
1
+ # PMOSkills Python SDK
2
+
3
+ Python SDK for **PMOSkills** — an Executable Skill System & PMO Reference Architecture built on the PMI PMBOK® 8th Edition.
4
+
5
+ This SDK provides programmatic access to the entire compiled PMOSkills database (skills, processes, artifacts, reference guides, shared tools, and tests) for use in Python agentic AI and LLM workflows (e.g., LangGraph, Autogen, CrewAI).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pip install pmoskills
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ```python
16
+ from pmoskills import pmoskills, inject
17
+
18
+ # 1. Access executable skills (Packs 01 to 07, 48 skills total)
19
+ skill = pmoskills.get_skill("SKL-01-01")
20
+ print(f"Skill Title: {skill['title']}")
21
+ print(f"Focus Domain: {skill['metadata']['domain']}")
22
+
23
+ # 2. Access PMBOK 8 Process Records
24
+ process = pmoskills.get_process("PR01")
25
+ print(f"Process: {process['title']}")
26
+ print(f"Inputs: {process['inputs']}")
27
+
28
+ # 3. Retrieve Artifact Templates
29
+ artifact = pmoskills.get_artifact("A01")
30
+ print(f"Artifact Template:\n{artifact['rawContent']}")
31
+
32
+ # 4. Inject variables into templates/prompts
33
+ prompt_template = "Draft a plan for [project_name] with complexity tier [complexity]."
34
+ injected = inject(prompt_template, {
35
+ "project_name": "Apex Project",
36
+ "complexity": "T1"
37
+ })
38
+ print(injected)
39
+ ```
40
+
41
+ ## API Reference
42
+
43
+ ### Executable Skills
44
+ - `pmoskills.get_skills()`: Returns a dict of all skills.
45
+ - `pmoskills.get_skill(id)`: Retrieves a specific skill by its ID (e.g., `SKL-01-01`).
46
+ - `pmoskills.get_skills_by_domain(domain)`: Returns all skills in a specific Performance Domain (e.g., `Planning`).
47
+
48
+ ### Processes
49
+ - `pmoskills.get_processes()`: Returns a dict of all PMBOK 8 processes.
50
+ - `pmoskills.get_process(id)`: Retrieves a specific process by its ID (e.g., `PR01`).
51
+
52
+ ### Artifacts
53
+ - `pmoskills.get_artifacts()`: Returns a dict of all artifacts.
54
+ - `pmoskills.get_artifact(id)`: Retrieves a specific artifact by its ID (e.g., `A01`).
55
+
56
+ ### References
57
+ - `pmoskills.get_reference_files()`: Returns a dict of reference documents.
58
+ - `pmoskills.get_reference_file(path)`: Retrieves a specific reference file content by its relative path.
59
+
60
+ ### Shared Assets
61
+ - `pmoskills.get_shared_files()`: Returns a dict of shared assets.
62
+ - `pmoskills.get_shared_file(path)`: Retrieves a specific shared file by its relative path.
63
+
64
+ ### Compliance Tests
65
+ - `pmoskills.get_test_files()`: Returns a dict of compliance test assets.
66
+ - `pmoskills.get_test_file(id)`: Retrieves a test asset by its ID.
67
+
68
+ ### Ontology & System Prompts
69
+ - `pmoskills.get_system_prompts()`: Returns a dict of system role prompts.
70
+ - `pmoskills.get_system_prompt(id)`: Retrieves a specific system prompt (e.g., `pmo-orchestrator`).
71
+ - `pmoskills.get_ontology()`: Retrieves the PMOSkills ontology specification.
@@ -0,0 +1,4 @@
1
+ from .loader import PMOSkillsLoader, pmoskills
2
+ from .injector import inject
3
+
4
+ __all__ = ["PMOSkillsLoader", "pmoskills", "inject"]