open-pharma-plugins 2.2.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.
Files changed (141) hide show
  1. open_pharma_plugins-2.2.0/LICENSE +202 -0
  2. open_pharma_plugins-2.2.0/PKG-INFO +135 -0
  3. open_pharma_plugins-2.2.0/README.md +80 -0
  4. open_pharma_plugins-2.2.0/pyproject.toml +110 -0
  5. open_pharma_plugins-2.2.0/setup.cfg +4 -0
  6. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/__init__.py +14 -0
  7. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/__main__.py +11 -0
  8. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/_campaign_store.py +162 -0
  9. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/_claim_engine.py +262 -0
  10. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/_renderer.py +119 -0
  11. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/brand_kit/legal.json +21 -0
  12. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/brand_kit/logo.svg +4 -0
  13. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/brand_kit/palette.json +11 -0
  14. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/brand_kit/product.png +1 -0
  15. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/brand_kit/typography.json +14 -0
  16. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/fixtures/sample_approved_claims.json +119 -0
  17. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/__init__.py +34 -0
  18. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/_common.py +12 -0
  19. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/brief.py +72 -0
  20. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/claims.py +15 -0
  21. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/copy.py +47 -0
  22. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/journey.py +21 -0
  23. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/message.py +25 -0
  24. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/mlr.py +29 -0
  25. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/models/validation.py +32 -0
  26. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/policy/rules.json +79 -0
  27. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/templates/banner.svg.j2 +26 -0
  28. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/templates/email.html.j2 +54 -0
  29. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/__init__.py +0 -0
  30. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/create_campaign_brief.py +212 -0
  31. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/generate_audience_journey.py +129 -0
  32. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/generate_channel_copy.py +199 -0
  33. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/generate_message_architecture.py +121 -0
  34. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/package_mlr_submission.py +230 -0
  35. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/render_banner.py +99 -0
  36. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/render_email.py +101 -0
  37. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/render_poster.py +222 -0
  38. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/retrieve_approved_claims.py +71 -0
  39. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/retrieve_brand_components.py +76 -0
  40. open_pharma_plugins-2.2.0/src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio/tools/validate_claims_and_fair_balance.py +285 -0
  41. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/__init__.py +13 -0
  42. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/__main__.py +11 -0
  43. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_artifacts.py +87 -0
  44. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_cache.py +144 -0
  45. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_clinical_trials.py +569 -0
  46. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_dailymed.py +260 -0
  47. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_fda.py +255 -0
  48. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_pubmed.py +342 -0
  49. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_regulatory.py +140 -0
  50. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_runs.py +278 -0
  51. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_transport.py +83 -0
  52. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_watchlist.py +113 -0
  53. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/_web_search.py +331 -0
  54. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/models.py +525 -0
  55. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/__init__.py +0 -0
  56. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_extract_events.py +247 -0
  57. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_landscape.py +195 -0
  58. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_refresh.py +101 -0
  59. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_report.py +402 -0
  60. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_scan_news.py +48 -0
  61. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_scan_publications.py +46 -0
  62. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_scan_regulatory.py +64 -0
  63. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_scan_trials.py +85 -0
  64. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_status.py +106 -0
  65. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_timeline.py +453 -0
  66. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_track.py +121 -0
  67. open_pharma_plugins-2.2.0/src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence/tools/ci_trial_detail.py +55 -0
  68. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/__init__.py +13 -0
  69. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/__main__.py +11 -0
  70. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/_content_store.py +131 -0
  71. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/_grounding.py +75 -0
  72. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/_html_renderers.py +546 -0
  73. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/fixtures/sample_product_message.pdf +156 -0
  74. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/fixtures/sample_training_deck.pptx +0 -0
  75. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/models.py +265 -0
  76. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/__init__.py +0 -0
  77. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/get_document_page.py +67 -0
  78. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/ingest_document.py +147 -0
  79. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/list_documents.py +51 -0
  80. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/render_output.py +118 -0
  81. open_pharma_plugins-2.2.0/src/capabilities/field-training/open_pharma_plugins_field_training/tools/search_content.py +57 -0
  82. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/__init__.py +14 -0
  83. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/__main__.py +11 -0
  84. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/_crm_store.py +70 -0
  85. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/batch.py +891 -0
  86. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/batch_cli.py +221 -0
  87. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/batch_csv.py +206 -0
  88. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/fixtures/sample_accounts.csv +27 -0
  89. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/models.py +356 -0
  90. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/__init__.py +0 -0
  91. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/get_account.py +48 -0
  92. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/list_accounts.py +66 -0
  93. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_clinical_trials.py +175 -0
  94. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_congresses.py +134 -0
  95. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_grants.py +181 -0
  96. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_guidelines.py +238 -0
  97. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_hco_web.py +73 -0
  98. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_hcp_web.py +199 -0
  99. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_orcid.py +214 -0
  100. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/search_publications.py +207 -0
  101. open_pharma_plugins-2.2.0/src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence/tools/update_account.py +84 -0
  102. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/__init__.py +14 -0
  103. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/__main__.py +11 -0
  104. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/_optimizer.py +400 -0
  105. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/_renderer.py +149 -0
  106. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/_scoring.py +82 -0
  107. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/_universe.py +145 -0
  108. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/fixtures/sample_universe.csv +81 -0
  109. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/models.py +135 -0
  110. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/tools/__init__.py +0 -0
  111. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/tools/load_universe.py +47 -0
  112. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/tools/recommend_engagements.py +80 -0
  113. open_pharma_plugins-2.2.0/src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement/tools/render_plan.py +90 -0
  114. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/__init__.py +14 -0
  115. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/__main__.py +11 -0
  116. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/data.py +300 -0
  117. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/fixtures/constraints.csv +11 -0
  118. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/fixtures/current_alignment.csv +81 -0
  119. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/fixtures/hcps.csv +81 -0
  120. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/fixtures/reps.csv +9 -0
  121. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/geo.py +175 -0
  122. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/models.py +201 -0
  123. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/scoring.py +125 -0
  124. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/solver.py +504 -0
  125. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/__init__.py +0 -0
  126. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_align.py +138 -0
  127. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_cluster.py +247 -0
  128. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_compare.py +173 -0
  129. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_evaluate.py +119 -0
  130. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_status.py +34 -0
  131. open_pharma_plugins-2.2.0/src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment/tools/ta_visualize.py +504 -0
  132. open_pharma_plugins-2.2.0/src/mcp_framework.py +495 -0
  133. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/PKG-INFO +135 -0
  134. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/SOURCES.txt +139 -0
  135. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/dependency_links.txt +1 -0
  136. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/entry_points.txt +8 -0
  137. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/requires.txt +40 -0
  138. open_pharma_plugins-2.2.0/src/open_pharma_plugins.egg-info/top_level.txt +8 -0
  139. open_pharma_plugins-2.2.0/src/shared/__init__.py +11 -0
  140. open_pharma_plugins-2.2.0/src/shared/env.py +217 -0
  141. open_pharma_plugins-2.2.0/src/shared/filesystem.py +110 -0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,135 @@
1
+ Metadata-Version: 2.4
2
+ Name: open-pharma-plugins
3
+ Version: 2.2.0
4
+ Summary: Open Pharma Plugins: Agent Skills + MCP tools for pharmaceutical commercial operations — HCP intelligence, territory alignment, competitive intelligence, field training, engagement planning, and campaign creation.
5
+ Author: EAI Commercial Team
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/PharmaGenAI/open-pharma-plugins
8
+ Project-URL: Repository, https://github.com/PharmaGenAI/open-pharma-plugins
9
+ Project-URL: Issues, https://github.com/PharmaGenAI/open-pharma-plugins/issues
10
+ Keywords: mcp,pharma,commercial,agent-skills,hcp
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
+ Requires-Python: <3.14,>=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: mcp<2,>=1.0.0
24
+ Requires-Dist: anyio<5,>=4.0
25
+ Requires-Dist: pydantic<3,>=2.8
26
+ Provides-Extra: hcp-intelligence
27
+ Requires-Dist: requests<3,>=2.31; extra == "hcp-intelligence"
28
+ Provides-Extra: hcp-intelligence-synth
29
+ Requires-Dist: requests<3,>=2.31; extra == "hcp-intelligence-synth"
30
+ Requires-Dist: openai<4,>=1; extra == "hcp-intelligence-synth"
31
+ Provides-Extra: field-training
32
+ Requires-Dist: pypdfium2<6,>=4; extra == "field-training"
33
+ Requires-Dist: python-pptx<2,>=1; extra == "field-training"
34
+ Provides-Extra: field-training-fixtures
35
+ Requires-Dist: pypdfium2<6,>=4; extra == "field-training-fixtures"
36
+ Requires-Dist: python-pptx<2,>=1; extra == "field-training-fixtures"
37
+ Requires-Dist: reportlab<6,>=4; extra == "field-training-fixtures"
38
+ Provides-Extra: next-best-engagement
39
+ Provides-Extra: territory-alignment
40
+ Provides-Extra: competitive-intelligence
41
+ Requires-Dist: pypdfium2<6,>=4; extra == "competitive-intelligence"
42
+ Requires-Dist: python-docx<2,>=1; extra == "competitive-intelligence"
43
+ Provides-Extra: campaign-studio
44
+ Requires-Dist: jinja2<4,>=3.1; extra == "campaign-studio"
45
+ Requires-Dist: reportlab<6,>=4; extra == "campaign-studio"
46
+ Provides-Extra: all
47
+ Requires-Dist: requests<3,>=2.31; extra == "all"
48
+ Requires-Dist: openai<4,>=1; extra == "all"
49
+ Requires-Dist: pypdfium2<6,>=4; extra == "all"
50
+ Requires-Dist: python-pptx<2,>=1; extra == "all"
51
+ Requires-Dist: python-docx<2,>=1; extra == "all"
52
+ Requires-Dist: reportlab<6,>=4; extra == "all"
53
+ Requires-Dist: jinja2<4,>=3.1; extra == "all"
54
+ Dynamic: license-file
55
+
56
+ # Open Pharma Plugins
57
+
58
+ Agent Skills and MCP tools for pharmaceutical commercial operations.
59
+
60
+ > **Public beta.** Validate outputs before operational use. Campaign and field-training artifacts are drafts for qualified medical/legal/regulatory review, not automated approval.
61
+
62
+ ## Capabilities
63
+
64
+ | Capability | Tools | Description |
65
+ |---|---:|---|
66
+ | [HCP Intelligence](cookbooks/hcp-intelligence/usage.md) | 11 | Build evidence-backed HCP/HCO profiles from public sources |
67
+ | [Field Training](cookbooks/field-training/usage.md) | 5 | Turn approved PDF/PPTX paths into grounded learning packages, assessments, role-play kits, and scorecards |
68
+ | [Campaign Studio](cookbooks/campaign-studio/usage.md) | 11 | Create, validate, render, and package campaign drafts for MLR review |
69
+ | [Next-Best-Engagement](cookbooks/next-best-engagement/usage.md) | 3 | Score HCPs and produce consent-aware engagement plans |
70
+ | [Territory Alignment](cookbooks/territory-alignment/usage.md) | 6 | Compare HCP-to-rep assignments and plan visit clusters |
71
+ | [Competitive Intelligence](cookbooks/competitive-intelligence/usage.md) | 12 | Collect one evidence run and project reproducible briefings and timelines |
72
+
73
+ ## Architecture
74
+
75
+ <p align="center"><img src="docs/assets/architecture.svg" width="960" alt="Architecture diagram"></p>
76
+
77
+ Each source plugin bundles a Skill with one MCP server. The Python wheel contains the six MCP servers and their runtime fixtures; Skills, cookbooks, and marketplace manifests are installed from the repository rather than the wheel.
78
+
79
+ ## Quick start
80
+
81
+ Python 3.10–3.13 is supported. Install one or more MCP servers from the published distribution:
82
+
83
+ ```bash
84
+ python -m pip install "open-pharma-plugins[territory-alignment,competitive-intelligence]"
85
+ open-pharma-plugins-territory-alignment --version
86
+ ```
87
+
88
+ For the complete Skill + MCP plugin, download and inspect the guided installer before running it:
89
+
90
+ ```bash
91
+ curl -fsSLO https://raw.githubusercontent.com/PharmaGenAI/open-pharma-plugins/main/install.sh
92
+ less install.sh
93
+ bash install.sh
94
+ ```
95
+
96
+ The installer requires `uv`/`uvx`; it never installs a package manager on your behalf. See [Installation](docs/en/installation.md) for tag-pinned and source-checkout options.
97
+
98
+ ## Configuration and local data
99
+
100
+ Copy `.env.example` to `~/.open-pharma-plugins/config` and set only the providers you use. Process environment variables take precedence. Mutable data defaults to private capability directories under `~/.open-pharma-plugins`; files are written with mode `0600` and directories with `0700` where POSIX permissions are available.
101
+
102
+ Common settings include:
103
+
104
+ | Variable | Used by |
105
+ |---|---|
106
+ | `SERPER_API_KEY` / `TAVILY_API_KEY` / `EXA_API_KEY` | Web search |
107
+ | `OPENROUTER_API_KEY` / `OPENROUTER_BASE_URL` | Optional HCP batch profile synthesis |
108
+ | `NCBI_API_KEY` | PubMed |
109
+ | `OPENFDA_API_KEY` | openFDA |
110
+ | `OPEN_PHARMA_*_DIR` | Capability-specific mutable-data locations |
111
+
112
+ API keys are not persisted in competitive-intelligence cache metadata, evidence URLs, runs, or reports. Source queries are still sent to the selected external provider, so do not place secrets or unnecessary personal data in search terms. Reports and timelines can reuse one immutable run instead of repeating provider calls.
113
+
114
+ HCP batch extraction/synthesis defaults to `high` reasoning effort, a 120-second request timeout,
115
+ and zero SDK retries. An installed HCP plugin accepts user-supplied input/output paths through the
116
+ tag-pinned `open-pharma-plugins-hcp-batch` console and produces canonical account JSON,
117
+ `batch_summary.csv`, and `batch_manifest.json`. See the
118
+ [HCP batch guide](docs/en/hcp_batch.md) for dry-run, confirmation, provider, CSV, and resume rules.
119
+
120
+ ## Documentation
121
+
122
+ - [Installation](docs/en/installation.md)
123
+ - [Configuration](docs/en/configuration.md)
124
+ - [HCP batch processing and CSV review](docs/en/hcp_batch.md)
125
+ - [Data security and compliance boundaries](docs/en/data_security.md)
126
+ - [Local development](docs/en/local_development.md)
127
+ - [Testing](docs/en/testing.md)
128
+ - [Adding a capability](docs/en/how_to_add_new_capability.md)
129
+ - [Releasing](docs/en/releasing.md)
130
+ - [Manual harness setup](docs/en/manual_harnesses.md)
131
+ - [Chinese documentation](docs/zh/) · [Japanese documentation](docs/jp/)
132
+
133
+ ## License
134
+
135
+ Apache-2.0. See [LICENSE](LICENSE).
@@ -0,0 +1,80 @@
1
+ # Open Pharma Plugins
2
+
3
+ Agent Skills and MCP tools for pharmaceutical commercial operations.
4
+
5
+ > **Public beta.** Validate outputs before operational use. Campaign and field-training artifacts are drafts for qualified medical/legal/regulatory review, not automated approval.
6
+
7
+ ## Capabilities
8
+
9
+ | Capability | Tools | Description |
10
+ |---|---:|---|
11
+ | [HCP Intelligence](cookbooks/hcp-intelligence/usage.md) | 11 | Build evidence-backed HCP/HCO profiles from public sources |
12
+ | [Field Training](cookbooks/field-training/usage.md) | 5 | Turn approved PDF/PPTX paths into grounded learning packages, assessments, role-play kits, and scorecards |
13
+ | [Campaign Studio](cookbooks/campaign-studio/usage.md) | 11 | Create, validate, render, and package campaign drafts for MLR review |
14
+ | [Next-Best-Engagement](cookbooks/next-best-engagement/usage.md) | 3 | Score HCPs and produce consent-aware engagement plans |
15
+ | [Territory Alignment](cookbooks/territory-alignment/usage.md) | 6 | Compare HCP-to-rep assignments and plan visit clusters |
16
+ | [Competitive Intelligence](cookbooks/competitive-intelligence/usage.md) | 12 | Collect one evidence run and project reproducible briefings and timelines |
17
+
18
+ ## Architecture
19
+
20
+ <p align="center"><img src="docs/assets/architecture.svg" width="960" alt="Architecture diagram"></p>
21
+
22
+ Each source plugin bundles a Skill with one MCP server. The Python wheel contains the six MCP servers and their runtime fixtures; Skills, cookbooks, and marketplace manifests are installed from the repository rather than the wheel.
23
+
24
+ ## Quick start
25
+
26
+ Python 3.10–3.13 is supported. Install one or more MCP servers from the published distribution:
27
+
28
+ ```bash
29
+ python -m pip install "open-pharma-plugins[territory-alignment,competitive-intelligence]"
30
+ open-pharma-plugins-territory-alignment --version
31
+ ```
32
+
33
+ For the complete Skill + MCP plugin, download and inspect the guided installer before running it:
34
+
35
+ ```bash
36
+ curl -fsSLO https://raw.githubusercontent.com/PharmaGenAI/open-pharma-plugins/main/install.sh
37
+ less install.sh
38
+ bash install.sh
39
+ ```
40
+
41
+ The installer requires `uv`/`uvx`; it never installs a package manager on your behalf. See [Installation](docs/en/installation.md) for tag-pinned and source-checkout options.
42
+
43
+ ## Configuration and local data
44
+
45
+ Copy `.env.example` to `~/.open-pharma-plugins/config` and set only the providers you use. Process environment variables take precedence. Mutable data defaults to private capability directories under `~/.open-pharma-plugins`; files are written with mode `0600` and directories with `0700` where POSIX permissions are available.
46
+
47
+ Common settings include:
48
+
49
+ | Variable | Used by |
50
+ |---|---|
51
+ | `SERPER_API_KEY` / `TAVILY_API_KEY` / `EXA_API_KEY` | Web search |
52
+ | `OPENROUTER_API_KEY` / `OPENROUTER_BASE_URL` | Optional HCP batch profile synthesis |
53
+ | `NCBI_API_KEY` | PubMed |
54
+ | `OPENFDA_API_KEY` | openFDA |
55
+ | `OPEN_PHARMA_*_DIR` | Capability-specific mutable-data locations |
56
+
57
+ API keys are not persisted in competitive-intelligence cache metadata, evidence URLs, runs, or reports. Source queries are still sent to the selected external provider, so do not place secrets or unnecessary personal data in search terms. Reports and timelines can reuse one immutable run instead of repeating provider calls.
58
+
59
+ HCP batch extraction/synthesis defaults to `high` reasoning effort, a 120-second request timeout,
60
+ and zero SDK retries. An installed HCP plugin accepts user-supplied input/output paths through the
61
+ tag-pinned `open-pharma-plugins-hcp-batch` console and produces canonical account JSON,
62
+ `batch_summary.csv`, and `batch_manifest.json`. See the
63
+ [HCP batch guide](docs/en/hcp_batch.md) for dry-run, confirmation, provider, CSV, and resume rules.
64
+
65
+ ## Documentation
66
+
67
+ - [Installation](docs/en/installation.md)
68
+ - [Configuration](docs/en/configuration.md)
69
+ - [HCP batch processing and CSV review](docs/en/hcp_batch.md)
70
+ - [Data security and compliance boundaries](docs/en/data_security.md)
71
+ - [Local development](docs/en/local_development.md)
72
+ - [Testing](docs/en/testing.md)
73
+ - [Adding a capability](docs/en/how_to_add_new_capability.md)
74
+ - [Releasing](docs/en/releasing.md)
75
+ - [Manual harness setup](docs/en/manual_harnesses.md)
76
+ - [Chinese documentation](docs/zh/) · [Japanese documentation](docs/jp/)
77
+
78
+ ## License
79
+
80
+ Apache-2.0. See [LICENSE](LICENSE).
@@ -0,0 +1,110 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "open-pharma-plugins"
7
+ dynamic = ["version"]
8
+ description = "Open Pharma Plugins: Agent Skills + MCP tools for pharmaceutical commercial operations — HCP intelligence, territory alignment, competitive intelligence, field training, engagement planning, and campaign creation."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10,<3.14"
11
+ license = "Apache-2.0"
12
+ license-files = ["LICENSE"]
13
+ authors = [{ name = "EAI Commercial Team" }]
14
+ keywords = ["mcp", "pharma", "commercial", "agent-skills", "hcp"]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ "Operating System :: OS Independent",
24
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
25
+ ]
26
+ dependencies = [
27
+ "mcp>=1.0.0,<2",
28
+ "anyio>=4.0,<5",
29
+ "pydantic>=2.8,<3",
30
+ ]
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/PharmaGenAI/open-pharma-plugins"
34
+ Repository = "https://github.com/PharmaGenAI/open-pharma-plugins"
35
+ Issues = "https://github.com/PharmaGenAI/open-pharma-plugins/issues"
36
+
37
+ [project.optional-dependencies]
38
+ hcp-intelligence = ["requests>=2.31,<3"]
39
+ hcp-intelligence-synth = ["requests>=2.31,<3", "openai>=1,<4"]
40
+ field-training = ["pypdfium2>=4,<6", "python-pptx>=1,<2"]
41
+ field-training-fixtures = ["pypdfium2>=4,<6", "python-pptx>=1,<2", "reportlab>=4,<6"]
42
+ next-best-engagement = []
43
+ territory-alignment = []
44
+ competitive-intelligence = ["pypdfium2>=4,<6", "python-docx>=1,<2"]
45
+ campaign-studio = ["jinja2>=3.1,<4", "reportlab>=4,<6"]
46
+ all = [
47
+ "requests>=2.31,<3",
48
+ "openai>=1,<4",
49
+ "pypdfium2>=4,<6",
50
+ "python-pptx>=1,<2",
51
+ "python-docx>=1,<2",
52
+ "reportlab>=4,<6",
53
+ "jinja2>=3.1,<4",
54
+ ]
55
+
56
+ [dependency-groups]
57
+ dev = [
58
+ "build>=1,<2",
59
+ "cyclonedx-bom>=7.3,<8",
60
+ "packaging>=24",
61
+ "pip-audit>=2.9,<3",
62
+ "pytest>=8,<10",
63
+ "ruff>=0.12,<1",
64
+ "tomli>=2; python_version < '3.11'",
65
+ "twine>=6,<7",
66
+ "zizmor>=1.29,<2",
67
+ ]
68
+
69
+ [project.scripts]
70
+ open-pharma-plugins-hcp-intelligence = "open_pharma_plugins_hcp_intelligence.__main__:main"
71
+ open-pharma-plugins-hcp-batch = "open_pharma_plugins_hcp_intelligence.batch_cli:main"
72
+ open-pharma-plugins-field-training = "open_pharma_plugins_field_training.__main__:main"
73
+ open-pharma-plugins-campaign-studio = "open_pharma_plugins_campaign_studio.__main__:main"
74
+ open-pharma-plugins-next-best-engagement = "open_pharma_plugins_next_best_engagement.__main__:main"
75
+ open-pharma-plugins-territory-alignment = "open_pharma_plugins_territory_alignment.__main__:main"
76
+ open-pharma-plugins-competitive-intelligence = "open_pharma_plugins_competitive_intelligence.__main__:main"
77
+
78
+ [tool.pytest.ini_options]
79
+ testpaths = ["tests"]
80
+ addopts = "-p no:hydra_pytest"
81
+ markers = [
82
+ "reachability: opt-in checks against real external API endpoints",
83
+ ]
84
+
85
+ [tool.setuptools]
86
+ py-modules = ["mcp_framework"]
87
+
88
+ [tool.setuptools.package-dir]
89
+ "" = "src"
90
+ open_pharma_plugins_hcp_intelligence = "src/capabilities/hcp-intelligence/open_pharma_plugins_hcp_intelligence"
91
+ open_pharma_plugins_field_training = "src/capabilities/field-training/open_pharma_plugins_field_training"
92
+ open_pharma_plugins_campaign_studio = "src/capabilities/campaign-studio/open_pharma_plugins_campaign_studio"
93
+ open_pharma_plugins_next_best_engagement = "src/capabilities/next-best-engagement/open_pharma_plugins_next_best_engagement"
94
+ open_pharma_plugins_territory_alignment = "src/capabilities/territory-alignment/open_pharma_plugins_territory_alignment"
95
+ open_pharma_plugins_competitive_intelligence = "src/capabilities/competitive-intelligence/open_pharma_plugins_competitive_intelligence"
96
+ shared = "src/shared"
97
+
98
+ [tool.setuptools.packages.find]
99
+ where = ["src/capabilities/hcp-intelligence", "src/capabilities/field-training", "src/capabilities/campaign-studio", "src/capabilities/next-best-engagement", "src/capabilities/territory-alignment", "src/capabilities/competitive-intelligence", "src"]
100
+ include = ["open_pharma_plugins*", "shared*"]
101
+
102
+ [tool.setuptools.package-data]
103
+ open_pharma_plugins_hcp_intelligence = ["fixtures/*.csv"]
104
+ open_pharma_plugins_field_training = ["fixtures/*.pdf", "fixtures/*.pptx"]
105
+ open_pharma_plugins_campaign_studio = ["fixtures/*.json", "fixtures/brand_kit/*", "templates/*", "policy/*"]
106
+ open_pharma_plugins_next_best_engagement = ["fixtures/*.csv"]
107
+ open_pharma_plugins_territory_alignment = ["fixtures/*.csv"]
108
+
109
+ [tool.setuptools.dynamic]
110
+ version = { attr = "mcp_framework.__version__" }
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,14 @@
1
+ from mcp_framework import build_registry
2
+
3
+ __version__ = "1.0.1"
4
+
5
+ SPECS, get_handler, list_tools = build_registry(__name__, ["tools"])
6
+
7
+ USAGE_NOTE = (
8
+ "Campaign Studio creates end-to-end pharmaceutical campaign materials: "
9
+ "structured briefs, audience journeys, message architectures, channel copy, "
10
+ "rendered assets (email HTML, banner SVG, poster PDF) with claim validation "
11
+ "and MLR review packaging."
12
+ )
13
+
14
+ SYSTEM_DEPS = []
@@ -0,0 +1,11 @@
1
+ from pathlib import Path
2
+
3
+ from mcp_framework import run_main
4
+
5
+
6
+ def main() -> None:
7
+ run_main(__package__ or Path(__file__).resolve().parent.name)
8
+
9
+
10
+ if __name__ == "__main__":
11
+ main()