redcrown 0.1.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 (176) hide show
  1. redcrown-0.1.0/PKG-INFO +20 -0
  2. redcrown-0.1.0/pyproject.toml +35 -0
  3. redcrown-0.1.0/redcrown/__init__.py +1 -0
  4. redcrown-0.1.0/redcrown/api.py +1043 -0
  5. redcrown-0.1.0/redcrown/auth/__init__.py +0 -0
  6. redcrown-0.1.0/redcrown/auth/dependencies.py +61 -0
  7. redcrown-0.1.0/redcrown/auth/jwt.py +39 -0
  8. redcrown-0.1.0/redcrown/auth/org.py +37 -0
  9. redcrown-0.1.0/redcrown/benchmark_page.py +202 -0
  10. redcrown-0.1.0/redcrown/billing.py +215 -0
  11. redcrown-0.1.0/redcrown/blobstore.py +128 -0
  12. redcrown-0.1.0/redcrown/cli.py +308 -0
  13. redcrown-0.1.0/redcrown/cli_auth.py +149 -0
  14. redcrown-0.1.0/redcrown/config.py +46 -0
  15. redcrown-0.1.0/redcrown/credentials.py +17 -0
  16. redcrown-0.1.0/redcrown/crypto.py +47 -0
  17. redcrown-0.1.0/redcrown/custom_http.py +46 -0
  18. redcrown-0.1.0/redcrown/datasets/__init__.py +1 -0
  19. redcrown-0.1.0/redcrown/datasets/aispire_import.py +219 -0
  20. redcrown-0.1.0/redcrown/datasets/primock57.py +229 -0
  21. redcrown-0.1.0/redcrown/db/__init__.py +0 -0
  22. redcrown-0.1.0/redcrown/db/audit_repo.py +30 -0
  23. redcrown-0.1.0/redcrown/db/captures_repo.py +102 -0
  24. redcrown-0.1.0/redcrown/db/credentials_repo.py +60 -0
  25. redcrown-0.1.0/redcrown/db/exp_runs_repo.py +100 -0
  26. redcrown-0.1.0/redcrown/db/experiments_repo.py +93 -0
  27. redcrown-0.1.0/redcrown/db/invites_repo.py +74 -0
  28. redcrown-0.1.0/redcrown/db/oauth_repo.py +145 -0
  29. redcrown-0.1.0/redcrown/db/orgs_repo.py +97 -0
  30. redcrown-0.1.0/redcrown/db/pool.py +19 -0
  31. redcrown-0.1.0/redcrown/db/proof_links_repo.py +89 -0
  32. redcrown-0.1.0/redcrown/db/proxied_endpoints_repo.py +85 -0
  33. redcrown-0.1.0/redcrown/db/review_examples_repo.py +53 -0
  34. redcrown-0.1.0/redcrown/db/reviews_repo.py +265 -0
  35. redcrown-0.1.0/redcrown/db/runs_repo.py +90 -0
  36. redcrown-0.1.0/redcrown/db/subscriptions_repo.py +61 -0
  37. redcrown-0.1.0/redcrown/db/tasks_repo.py +44 -0
  38. redcrown-0.1.0/redcrown/engine.py +62 -0
  39. redcrown-0.1.0/redcrown/eval_runner.py +386 -0
  40. redcrown-0.1.0/redcrown/experiment.py +128 -0
  41. redcrown-0.1.0/redcrown/import_results.py +137 -0
  42. redcrown-0.1.0/redcrown/infra_pricing.py +51 -0
  43. redcrown-0.1.0/redcrown/ingest.py +26 -0
  44. redcrown-0.1.0/redcrown/jobs.py +31 -0
  45. redcrown-0.1.0/redcrown/models.py +48 -0
  46. redcrown-0.1.0/redcrown/oauth/__init__.py +0 -0
  47. redcrown-0.1.0/redcrown/oauth/keys.py +28 -0
  48. redcrown-0.1.0/redcrown/oauth/routes.py +299 -0
  49. redcrown-0.1.0/redcrown/oauth/supabase_login.py +20 -0
  50. redcrown-0.1.0/redcrown/oauth/tokens.py +70 -0
  51. redcrown-0.1.0/redcrown/pricing.py +53 -0
  52. redcrown-0.1.0/redcrown/providers/__init__.py +0 -0
  53. redcrown-0.1.0/redcrown/providers/anthropic_provider.py +76 -0
  54. redcrown-0.1.0/redcrown/providers/aws_transcribe_provider.py +242 -0
  55. redcrown-0.1.0/redcrown/providers/base.py +11 -0
  56. redcrown-0.1.0/redcrown/providers/bedrock_provider.py +58 -0
  57. redcrown-0.1.0/redcrown/providers/byohttp_provider.py +77 -0
  58. redcrown-0.1.0/redcrown/providers/deepgram_provider.py +56 -0
  59. redcrown-0.1.0/redcrown/providers/demo.py +43 -0
  60. redcrown-0.1.0/redcrown/providers/openai_compatible.py +119 -0
  61. redcrown-0.1.0/redcrown/providers/openai_provider.py +15 -0
  62. redcrown-0.1.0/redcrown/providers/registry.py +192 -0
  63. redcrown-0.1.0/redcrown/providers/whisper_provider.py +65 -0
  64. redcrown-0.1.0/redcrown/proxy.py +55 -0
  65. redcrown-0.1.0/redcrown/replay.py +96 -0
  66. redcrown-0.1.0/redcrown/report_export.py +67 -0
  67. redcrown-0.1.0/redcrown/scaffold.py +165 -0
  68. redcrown-0.1.0/redcrown/scoring/__init__.py +0 -0
  69. redcrown-0.1.0/redcrown/scoring/builtin.py +41 -0
  70. redcrown-0.1.0/redcrown/scoring/extraction.py +23 -0
  71. redcrown-0.1.0/redcrown/scoring/judge.py +47 -0
  72. redcrown-0.1.0/redcrown/scoring/medical_terms.py +94 -0
  73. redcrown-0.1.0/redcrown/scoring/pipeline.py +34 -0
  74. redcrown-0.1.0/redcrown/scoring/transcription.py +78 -0
  75. redcrown-0.1.0/redcrown/scoring/winner.py +41 -0
  76. redcrown-0.1.0/redcrown/shadow.py +45 -0
  77. redcrown-0.1.0/redcrown/ssrf.py +104 -0
  78. redcrown-0.1.0/redcrown.egg-info/PKG-INFO +20 -0
  79. redcrown-0.1.0/redcrown.egg-info/SOURCES.txt +174 -0
  80. redcrown-0.1.0/redcrown.egg-info/dependency_links.txt +1 -0
  81. redcrown-0.1.0/redcrown.egg-info/entry_points.txt +2 -0
  82. redcrown-0.1.0/redcrown.egg-info/requires.txt +15 -0
  83. redcrown-0.1.0/redcrown.egg-info/top_level.txt +1 -0
  84. redcrown-0.1.0/setup.cfg +4 -0
  85. redcrown-0.1.0/tests/test_aispire_import.py +220 -0
  86. redcrown-0.1.0/tests/test_anthropic_provider.py +44 -0
  87. redcrown-0.1.0/tests/test_api.py +88 -0
  88. redcrown-0.1.0/tests/test_api_authed.py +93 -0
  89. redcrown-0.1.0/tests/test_api_billing.py +189 -0
  90. redcrown-0.1.0/tests/test_api_credentials.py +125 -0
  91. redcrown-0.1.0/tests/test_api_custom_http.py +72 -0
  92. redcrown-0.1.0/tests/test_api_experiments.py +138 -0
  93. redcrown-0.1.0/tests/test_api_import.py +184 -0
  94. redcrown-0.1.0/tests/test_api_input_capture.py +111 -0
  95. redcrown-0.1.0/tests/test_api_proof_owner.py +105 -0
  96. redcrown-0.1.0/tests/test_api_proof_token.py +125 -0
  97. redcrown-0.1.0/tests/test_api_proxy.py +368 -0
  98. redcrown-0.1.0/tests/test_api_replay.py +91 -0
  99. redcrown-0.1.0/tests/test_api_review_owner.py +92 -0
  100. redcrown-0.1.0/tests/test_api_review_token.py +82 -0
  101. redcrown-0.1.0/tests/test_api_scaffold.py +56 -0
  102. redcrown-0.1.0/tests/test_api_workspaces.py +135 -0
  103. redcrown-0.1.0/tests/test_audit_repo.py +32 -0
  104. redcrown-0.1.0/tests/test_auth_dependency.py +78 -0
  105. redcrown-0.1.0/tests/test_auth_jwt.py +52 -0
  106. redcrown-0.1.0/tests/test_aws_transcribe_provider.py +375 -0
  107. redcrown-0.1.0/tests/test_aws_transcribe_registry.py +98 -0
  108. redcrown-0.1.0/tests/test_bedrock_provider.py +46 -0
  109. redcrown-0.1.0/tests/test_bedrock_registry.py +121 -0
  110. redcrown-0.1.0/tests/test_benchmark_page.py +81 -0
  111. redcrown-0.1.0/tests/test_billing_plan.py +126 -0
  112. redcrown-0.1.0/tests/test_blobstore.py +107 -0
  113. redcrown-0.1.0/tests/test_byohttp_provider.py +72 -0
  114. redcrown-0.1.0/tests/test_captures_repo.py +87 -0
  115. redcrown-0.1.0/tests/test_cli.py +153 -0
  116. redcrown-0.1.0/tests/test_cli_auth.py +99 -0
  117. redcrown-0.1.0/tests/test_cli_build_dataset.py +189 -0
  118. redcrown-0.1.0/tests/test_cli_import.py +103 -0
  119. redcrown-0.1.0/tests/test_cli_push.py +85 -0
  120. redcrown-0.1.0/tests/test_cost_estimate.py +38 -0
  121. redcrown-0.1.0/tests/test_credentials.py +27 -0
  122. redcrown-0.1.0/tests/test_credentials_repo.py +56 -0
  123. redcrown-0.1.0/tests/test_crypto.py +41 -0
  124. redcrown-0.1.0/tests/test_custom_http.py +70 -0
  125. redcrown-0.1.0/tests/test_deepgram_provider.py +46 -0
  126. redcrown-0.1.0/tests/test_demo_provider.py +49 -0
  127. redcrown-0.1.0/tests/test_engine.py +78 -0
  128. redcrown-0.1.0/tests/test_eval_receipts.py +72 -0
  129. redcrown-0.1.0/tests/test_eval_runner.py +573 -0
  130. redcrown-0.1.0/tests/test_eval_runner_assemble.py +55 -0
  131. redcrown-0.1.0/tests/test_exp_runs_repo.py +107 -0
  132. redcrown-0.1.0/tests/test_experiment_models.py +83 -0
  133. redcrown-0.1.0/tests/test_experiments_repo.py +82 -0
  134. redcrown-0.1.0/tests/test_import_results.py +193 -0
  135. redcrown-0.1.0/tests/test_infra_pricing.py +30 -0
  136. redcrown-0.1.0/tests/test_ingest.py +46 -0
  137. redcrown-0.1.0/tests/test_ingest_payload_data.py +15 -0
  138. redcrown-0.1.0/tests/test_invites_repo.py +42 -0
  139. redcrown-0.1.0/tests/test_jobs.py +60 -0
  140. redcrown-0.1.0/tests/test_judge.py +69 -0
  141. redcrown-0.1.0/tests/test_models.py +44 -0
  142. redcrown-0.1.0/tests/test_oauth_device_routes.py +110 -0
  143. redcrown-0.1.0/tests/test_oauth_keys.py +44 -0
  144. redcrown-0.1.0/tests/test_oauth_repo.py +107 -0
  145. redcrown-0.1.0/tests/test_oauth_routes.py +267 -0
  146. redcrown-0.1.0/tests/test_oauth_tokens.py +73 -0
  147. redcrown-0.1.0/tests/test_openai_compatible.py +136 -0
  148. redcrown-0.1.0/tests/test_openai_provider.py +55 -0
  149. redcrown-0.1.0/tests/test_org_dependency.py +68 -0
  150. redcrown-0.1.0/tests/test_orgs_repo.py +49 -0
  151. redcrown-0.1.0/tests/test_payload_dispatch.py +63 -0
  152. redcrown-0.1.0/tests/test_pipeline.py +44 -0
  153. redcrown-0.1.0/tests/test_pricing.py +27 -0
  154. redcrown-0.1.0/tests/test_pricing_units.py +33 -0
  155. redcrown-0.1.0/tests/test_primock57_harness.py +211 -0
  156. redcrown-0.1.0/tests/test_proof_links_repo.py +126 -0
  157. redcrown-0.1.0/tests/test_proxied_endpoints_repo.py +106 -0
  158. redcrown-0.1.0/tests/test_proxy.py +71 -0
  159. redcrown-0.1.0/tests/test_registry.py +102 -0
  160. redcrown-0.1.0/tests/test_replay.py +84 -0
  161. redcrown-0.1.0/tests/test_report_export.py +48 -0
  162. redcrown-0.1.0/tests/test_review_examples_repo.py +56 -0
  163. redcrown-0.1.0/tests/test_reviews_repo.py +217 -0
  164. redcrown-0.1.0/tests/test_runs_repo.py +61 -0
  165. redcrown-0.1.0/tests/test_scaffold.py +82 -0
  166. redcrown-0.1.0/tests/test_scoring_builtin.py +47 -0
  167. redcrown-0.1.0/tests/test_scoring_extraction.py +20 -0
  168. redcrown-0.1.0/tests/test_scoring_medical_terms.py +93 -0
  169. redcrown-0.1.0/tests/test_scoring_transcription.py +68 -0
  170. redcrown-0.1.0/tests/test_shadow.py +71 -0
  171. redcrown-0.1.0/tests/test_ssrf.py +137 -0
  172. redcrown-0.1.0/tests/test_subscriptions_repo.py +66 -0
  173. redcrown-0.1.0/tests/test_supabase_login.py +39 -0
  174. redcrown-0.1.0/tests/test_tasks_repo.py +44 -0
  175. redcrown-0.1.0/tests/test_whisper_provider.py +37 -0
  176. redcrown-0.1.0/tests/test_winner.py +81 -0
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: redcrown
3
+ Version: 0.1.0
4
+ Summary: Localized model benchmarking with receipts: run head-to-head evals on your own data, locally, and turn them into shareable proof reports
5
+ License: Proprietary
6
+ Requires-Python: >=3.11
7
+ Requires-Dist: pydantic>=2.9
8
+ Requires-Dist: pydantic-settings>=2.5
9
+ Requires-Dist: httpx>=0.27
10
+ Requires-Dist: aioboto3>=15
11
+ Requires-Dist: amazon-transcribe>=0.6
12
+ Provides-Extra: server
13
+ Requires-Dist: fastapi>=0.115; extra == "server"
14
+ Requires-Dist: uvicorn[standard]>=0.30; extra == "server"
15
+ Requires-Dist: python-multipart>=0.0.30; extra == "server"
16
+ Requires-Dist: sse-starlette>=2.1; extra == "server"
17
+ Requires-Dist: asyncpg>=0.30; extra == "server"
18
+ Requires-Dist: PyJWT>=2.9; extra == "server"
19
+ Requires-Dist: cryptography>=43; extra == "server"
20
+ Requires-Dist: stripe>=10; extra == "server"
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=69"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "redcrown"
7
+ version = "0.1.0"
8
+ description = "Localized model benchmarking with receipts: run head-to-head evals on your own data, locally, and turn them into shareable proof reports"
9
+ requires-python = ">=3.11"
10
+ license = { text = "Proprietary" }
11
+ dependencies = [
12
+ "pydantic>=2.9",
13
+ "pydantic-settings>=2.5",
14
+ "httpx>=0.27",
15
+ "aioboto3>=15",
16
+ "amazon-transcribe>=0.6",
17
+ ]
18
+
19
+ [project.scripts]
20
+ redcrown = "redcrown.cli:main"
21
+
22
+ [project.optional-dependencies]
23
+ server = [
24
+ "fastapi>=0.115",
25
+ "uvicorn[standard]>=0.30",
26
+ "python-multipart>=0.0.30",
27
+ "sse-starlette>=2.1",
28
+ "asyncpg>=0.30",
29
+ "PyJWT>=2.9",
30
+ "cryptography>=43",
31
+ "stripe>=10",
32
+ ]
33
+
34
+ [tool.setuptools.packages.find]
35
+ include = ["redcrown*"]
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"