tracebloc 4.0.4__tar.gz → 5.0.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 (212) hide show
  1. {tracebloc-4.0.4 → tracebloc-5.0.0}/PKG-INFO +2 -2
  2. {tracebloc-4.0.4 → tracebloc-5.0.0}/README.md +1 -1
  3. {tracebloc-4.0.4 → tracebloc-5.0.0}/pyproject.toml +1 -1
  4. tracebloc-5.0.0/tracebloc/auth/__init__.py +4 -0
  5. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/client.py +1 -1
  6. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/config.py +2 -2
  7. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/__init__.py +2 -5
  8. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/user_methods.py +2 -2
  9. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/subdataset.py +1 -1
  10. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/user_methods.py +1 -1
  11. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/user.py +2 -2
  12. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc.egg-info/PKG-INFO +2 -2
  13. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc.egg-info/SOURCES.txt +0 -6
  14. tracebloc-4.0.4/tracebloc/_linking.py +0 -15
  15. tracebloc-4.0.4/tracebloc/_upload_conversion.py +0 -17
  16. tracebloc-4.0.4/tracebloc/auth/__init__.py +0 -6
  17. tracebloc-4.0.4/tracebloc/env_login.py +0 -18
  18. tracebloc-4.0.4/tracebloc/library_fetch.py +0 -11
  19. tracebloc-4.0.4/tracebloc/lifelines_weights.py +0 -17
  20. tracebloc-4.0.4/tracebloc/link_model_dataset.py +0 -17
  21. {tracebloc-4.0.4 → tracebloc-5.0.0}/MANIFEST.in +0 -0
  22. {tracebloc-4.0.4 → tracebloc-5.0.0}/license.txt +0 -0
  23. {tracebloc-4.0.4 → tracebloc-5.0.0}/setup.cfg +0 -0
  24. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/__init__.py +0 -0
  25. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/api/__init__.py +0 -0
  26. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/api/experiment_status.py +0 -0
  27. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/api/responses.py +0 -0
  28. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/auth/env_login.py +0 -0
  29. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/checks.py +0 -0
  30. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/compat/__init__.py +0 -0
  31. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/compat/deprecation.py +0 -0
  32. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/compat/frameworks.py +0 -0
  33. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/contracts/stage_urls.v1.json +0 -0
  34. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
  35. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/contracts/survival_payload.py +0 -0
  36. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/contracts/training_requirements.source.json +0 -0
  37. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/contracts/training_requirements.txt +0 -0
  38. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/__init__.py +0 -0
  39. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/acceptance.py +0 -0
  40. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/__init__.py +0 -0
  41. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/hf/__init__.py +0 -0
  42. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/hf/_build.py +0 -0
  43. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/hf/_model_type.py +0 -0
  44. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/tabular.py +0 -0
  45. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/vision/__init__.py +0 -0
  46. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/families/vision/_matching.py +0 -0
  47. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/gate.py +0 -0
  48. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/heads.py +0 -0
  49. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/interfaces.py +0 -0
  50. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/licence/__init__.py +0 -0
  51. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/licence/spdx.py +0 -0
  52. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/outputs.py +0 -0
  53. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/__init__.py +0 -0
  54. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/arguments.py +0 -0
  55. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/assemble.py +0 -0
  56. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/checkpoint.py +0 -0
  57. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/gate_rules.py +0 -0
  58. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/generate.py +0 -0
  59. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/head.py +0 -0
  60. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/import_check.py +0 -0
  61. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/layer0.py +0 -0
  62. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/live.py +0 -0
  63. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/model_class.py +0 -0
  64. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/remote.py +0 -0
  65. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/repo.py +0 -0
  66. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/shake.py +0 -0
  67. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/owncode/source_tree.py +0 -0
  68. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/package.py +0 -0
  69. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/padding.py +0 -0
  70. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/report.py +0 -0
  71. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/tokenizers.py +0 -0
  72. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/convert/training_versions.py +0 -0
  73. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/__init__.py +0 -0
  74. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/base.py +0 -0
  75. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/detection.py +0 -0
  76. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/keypoint_detection.py +0 -0
  77. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/semantic_segmentation.py +0 -0
  78. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/tabular.py +0 -0
  79. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/text.py +0 -0
  80. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/time_series.py +0 -0
  81. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/datasets/time_to_event.py +0 -0
  82. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/downloads/lifelines_weights.py +0 -0
  83. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/downloads/seed_weights.py +0 -0
  84. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/exceptions.py +0 -0
  85. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/fetch.py +0 -0
  86. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/inference.py +0 -0
  87. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/answer.py +0 -0
  88. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/augmentation_methods.py +0 -0
  89. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/check_model.py +0 -0
  90. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/conversion.py +0 -0
  91. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/data_methods.py +0 -0
  92. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/library.py +0 -0
  93. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/model_dataset.py +0 -0
  94. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/regeneration.py +0 -0
  95. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/response.py +0 -0
  96. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/stored.py +0 -0
  97. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/linking/training_methods.py +0 -0
  98. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/__init__.py +0 -0
  99. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/_partials.tpl +0 -0
  100. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/embeddings.tpl +0 -0
  101. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
  102. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
  103. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/survival.tpl +0 -0
  104. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
  105. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
  106. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/__init__.py +0 -0
  107. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/classes.py +0 -0
  108. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/declaration.py +0 -0
  109. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/fitted_model.py +0 -0
  110. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/frame_recording.py +0 -0
  111. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/link_check.py +0 -0
  112. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/pairs.py +0 -0
  113. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/schema.py +0 -0
  114. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/seed_prefixes.py +0 -0
  115. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/sklearn_check.py +0 -0
  116. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/survival.py +0 -0
  117. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/torch_checks.py +0 -0
  118. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/raw_mode/width_note.py +0 -0
  119. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/__init__.py +0 -0
  120. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/augmentation.py +0 -0
  121. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/callbacks.py +0 -0
  122. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/converted.py +0 -0
  123. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/features.py +0 -0
  124. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/image_channels.py +0 -0
  125. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/image_size.py +0 -0
  126. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/link_total.py +0 -0
  127. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/lora.py +0 -0
  128. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/lora_validation.py +0 -0
  129. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/loss.py +0 -0
  130. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/loss_policy.py +0 -0
  131. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/loss_source.py +0 -0
  132. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/memory_estimate.py +0 -0
  133. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/memory_sizing.py +0 -0
  134. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/plan.py +0 -0
  135. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/preprocessing.py +0 -0
  136. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/shape.py +0 -0
  137. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/submitter.py +0 -0
  138. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/training/summary.py +0 -0
  139. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/__init__.py +0 -0
  140. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/lifelines_time_to_event.py +0 -0
  141. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/loss_config.py +0 -0
  142. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/model_params.py +0 -0
  143. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/model_upload.py +0 -0
  144. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/nlp_probes.py +0 -0
  145. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
  146. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/sequence_length.py +0 -0
  147. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/skl_tabular_base.py +0 -0
  148. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/skl_tabular_classifier.py +0 -0
  149. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/skl_tabular_regression.py +0 -0
  150. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/statistical_base.py +0 -0
  151. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/survival_base.py +0 -0
  152. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
  153. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_embeddings.py +0 -0
  154. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_handler.py +0 -0
  155. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_image_classifier.py +0 -0
  156. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_key_point_detector.py +0 -0
  157. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
  158. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
  159. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_nlp_base.py +0 -0
  160. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_object_detector.py +0 -0
  161. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
  162. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
  163. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
  164. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_tabular_classifier.py +0 -0
  165. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_tabular_regression.py +0 -0
  166. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_text_classifier.py +0 -0
  167. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_text_regressor.py +0 -0
  168. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_time_series_classifier.py +0 -0
  169. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
  170. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_time_to_event.py +0 -0
  171. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/torch_token_classifier.py +0 -0
  172. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/weight_loaders.py +0 -0
  173. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/weights_averaging.py +0 -0
  174. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/weights_check.py +0 -0
  175. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/upload/weights_parts.py +0 -0
  176. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/__init__.py +0 -0
  177. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/class_order.py +0 -0
  178. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/constants.py +0 -0
  179. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/custom_loss_probe.py +0 -0
  180. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/data_probes.py +0 -0
  181. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/declared_classes.py +0 -0
  182. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/declared_cls.py +0 -0
  183. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/detection_utils.py +0 -0
  184. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/device.py +0 -0
  185. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/entry_point.py +0 -0
  186. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/errors.py +0 -0
  187. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/feature_dict.py +0 -0
  188. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/model_loading.py +0 -0
  189. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/model_params.py +0 -0
  190. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/registry.py +0 -0
  191. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/resources.py +0 -0
  192. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/safetensors_io.py +0 -0
  193. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/staging.py +0 -0
  194. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/tabular_classification_utils.py +0 -0
  195. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
  196. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/tabular_regression_utils.py +0 -0
  197. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/text_classification_utils.py +0 -0
  198. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/time_series_utils.py +0 -0
  199. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/time_to_event_utils.py +0 -0
  200. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/utils/warnings_once.py +0 -0
  201. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/__init__.py +0 -0
  202. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/checker.py +0 -0
  203. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/estimator_checks.py +0 -0
  204. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/header_rules.py +0 -0
  205. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/lifelines_checks.py +0 -0
  206. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/pytorch_checks.py +0 -0
  207. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/rewriter.py +0 -0
  208. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/scikit_survival_checks.py +0 -0
  209. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc/validation/sklearn_checks.py +0 -0
  210. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc.egg-info/dependency_links.txt +0 -0
  211. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc.egg-info/requires.txt +0 -0
  212. {tracebloc-4.0.4 → tracebloc-5.0.0}/tracebloc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tracebloc
3
- Version: 4.0.4
3
+ Version: 5.0.0
4
4
  Summary: Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace.
5
5
  Author-email: tracebloc <lukas@tracebloc.io>
6
6
  License-Expression: MIT
@@ -198,7 +198,7 @@ trained it:
198
198
 
199
199
  ```python
200
200
  from lifelines import CoxPHFitter
201
- from tracebloc.lifelines_weights import load_lifelines_model
201
+ from tracebloc.downloads.lifelines_weights import load_lifelines_model
202
202
 
203
203
  model = load_lifelines_model("<experiment_key>.safetensors", CoxPHFitter())
204
204
  # or build the fitter from the downloaded model file:
@@ -109,7 +109,7 @@ trained it:
109
109
 
110
110
  ```python
111
111
  from lifelines import CoxPHFitter
112
- from tracebloc.lifelines_weights import load_lifelines_model
112
+ from tracebloc.downloads.lifelines_weights import load_lifelines_model
113
113
 
114
114
  model = load_lifelines_model("<experiment_key>.safetensors", CoxPHFitter())
115
115
  # or build the fitter from the downloaded model file:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "tracebloc"
7
- version = "4.0.4"
7
+ version = "5.0.0"
8
8
  description = "Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace."
9
9
  license = "MIT"
10
10
  license-files = ["license.txt"]
@@ -0,0 +1,4 @@
1
+ """Logging in without a prompt (RFC-0348 C.3).
2
+
3
+ ``env_login`` reads a scoped token from the environment.
4
+ """
@@ -449,7 +449,7 @@ class TraceblocClient:
449
449
  # TypeError covers non-dict bodies (list, null, scalars, str) —
450
450
  # the ``["token"]`` subscript blows up with TypeError rather than
451
451
  # KeyError there. Seen in the wild; matches the defensive pattern
452
- # already used in link_model_dataset.py's JSON-body handlers.
452
+ # already used in linking/model_dataset.py's JSON-body handlers.
453
453
  raise APIError(
454
454
  response.status_code,
455
455
  f"Login succeeded but response had no token/token_scheme: {format_exception(error)}",
@@ -3,7 +3,7 @@
3
3
  :class:`TraceblocConfig` centralizes the API and frontend URLs and the
4
4
  default HTTP timeout. It replaces the scattered environment→URL
5
5
  mappings that used to live in ``utils/general_utils.env_url`` and
6
- inline in ``link_model_dataset.py``. (The ``env_url`` shim was kept
6
+ inline in the training-plan facade. (The ``env_url`` shim was kept
7
7
  until all call sites were wired to this config, then deleted in #266.)
8
8
  """
9
9
 
@@ -32,7 +32,7 @@ _STAGE_FRONTENDS: Mapping[str, str] = {
32
32
 
33
33
  #: Names the SDK accepted before the contract existed that the contract does
34
34
  #: not carry: ``"ds"`` is a legacy alias for development preserved from the
35
- #: original ``link_model_dataset.py`` inline logic, and ``""`` is production
35
+ #: training-plan facade's original inline logic, and ``""`` is production
36
36
  #: for compatibility with the original ``env_url``.
37
37
  _SDK_ONLY_ALIASES: Mapping[str, str] = {"ds": "dev", "": "prod"}
38
38
 
@@ -7,9 +7,6 @@ compared keys), ``regeneration`` (a converted package rebuilt for the linked
7
7
  dataset), ``stored`` (linking a model the backend already stores) and
8
8
  ``conversion`` (``upload_model``'s front door through the converter).
9
9
 
10
- The old root modules ``tracebloc._linking`` and ``_upload_conversion`` still
11
- re-export every name they defined, for the e2e harness that reads them;
12
- RFC-0348 E.4 removed ``_link_answer``, ``_link_regeneration`` and
13
- ``_stored_link``. The package imports nothing at load, so importing
14
- one submodule never pulls in the others.
10
+ The package imports nothing at load, so importing one submodule never pulls
11
+ in the others.
15
12
  """
@@ -18,7 +18,7 @@ from tracebloc.compat.deprecation import (
18
18
  from tracebloc.linking.response import (
19
19
  _apply_link_success,
20
20
  _map_link_response,
21
- _parse_api_message, # noqa: F401 — moved to _linking (#296); re-exported because tests import it from here
21
+ _parse_api_message, # noqa: F401 — moved to linking.response (#296); re-exported because tests import it from here
22
22
  regenerated_for_link,
23
23
  )
24
24
  from tracebloc.linking.conversion import dataset_task, for_upload
@@ -201,7 +201,7 @@ class UserLinkMethods:
201
201
  ``raise ... from api_error`` and available on ``exc.__cause__``.
202
202
  Thin orchestrator since #296: response→error mapping, diagnostics
203
203
  rendering, and success-state computation live in
204
- ``tracebloc/_linking.py``. ``raise_on_error=False`` lets
204
+ ``tracebloc/linking/response.py``. ``raise_on_error=False`` lets
205
205
  ``_map_link_response`` map specific status codes (400/403/409/204)
206
206
  to distinct messages; network errors still surface as APIError(0).
207
207
  """
@@ -430,7 +430,7 @@ def request_error(request: Any, class_names: Any, total_images: Any) -> Optional
430
430
  """The first thing wrong with ``request``, or ``None`` if nothing is.
431
431
 
432
432
  One entry point rather than three call sites, because
433
- ``link_model_dataset.py`` sits at its committed line budget and that budget
433
+ ``linking/model_dataset.py`` sits at its committed line budget and that budget
434
434
  only ratchets DOWN — three separate guard blocks there would have cost 22
435
435
  lines against one line of slack. Chaining them here keeps the facade's diff
436
436
  net-zero and puts the whole request-validation contract in one place, which
@@ -18,7 +18,7 @@ from tracebloc.compat.deprecation import (
18
18
  from tracebloc.linking.response import (
19
19
  _apply_link_success,
20
20
  _map_link_response,
21
- _parse_api_message, # noqa: F401 — moved to _linking (#296); re-exported because tests import it from here
21
+ _parse_api_message, # noqa: F401 — moved to linking.response (#296); re-exported because tests import it from here
22
22
  regenerated_for_link,
23
23
  )
24
24
  from tracebloc.linking.conversion import dataset_task, for_upload
@@ -9,7 +9,7 @@ from .compat.deprecation import UNSET, resolve_renamed_kwarg
9
9
  from .linking.response import (
10
10
  _apply_link_success,
11
11
  _map_link_response,
12
- _parse_api_message, # noqa: F401 — moved to _linking (#296); re-exported because tests import it from here
12
+ _parse_api_message, # noqa: F401 — moved to linking.response (#296); re-exported because tests import it from here
13
13
  regenerated_for_link,
14
14
  )
15
15
  from .linking.conversion import dataset_task, for_upload
@@ -114,7 +114,7 @@ class User(UserUploadMethods, UserLinkMethods):
114
114
  ) from None
115
115
  # TRACEBLOC_API_URL, when the deployment sets it, replaces the URL
116
116
  # this stage name maps to; the name itself is untouched and
117
- # still travels to LinkModelDataset below. See env_login.
117
+ # still travels to LinkModelDataset below. See tracebloc.auth.env_login.
118
118
  self.__env_login = read_environment_login()
119
119
  self.__config = self.__env_login.apply_to(self.__config)
120
120
  if self.__env_login.api_host is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tracebloc
3
- Version: 4.0.4
3
+ Version: 5.0.0
4
4
  Summary: Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace.
5
5
  Author-email: tracebloc <lukas@tracebloc.io>
6
6
  License-Expression: MIT
@@ -198,7 +198,7 @@ trained it:
198
198
 
199
199
  ```python
200
200
  from lifelines import CoxPHFitter
201
- from tracebloc.lifelines_weights import load_lifelines_model
201
+ from tracebloc.downloads.lifelines_weights import load_lifelines_model
202
202
 
203
203
  model = load_lifelines_model("<experiment_key>.safetensors", CoxPHFitter())
204
204
  # or build the fitter from the downloaded model file:
@@ -3,18 +3,12 @@ README.md
3
3
  license.txt
4
4
  pyproject.toml
5
5
  tracebloc/__init__.py
6
- tracebloc/_linking.py
7
- tracebloc/_upload_conversion.py
8
6
  tracebloc/checks.py
9
7
  tracebloc/client.py
10
8
  tracebloc/config.py
11
- tracebloc/env_login.py
12
9
  tracebloc/exceptions.py
13
10
  tracebloc/fetch.py
14
11
  tracebloc/inference.py
15
- tracebloc/library_fetch.py
16
- tracebloc/lifelines_weights.py
17
- tracebloc/link_model_dataset.py
18
12
  tracebloc/user.py
19
13
  tracebloc.egg-info/PKG-INFO
20
14
  tracebloc.egg-info/SOURCES.txt
@@ -1,15 +0,0 @@
1
- """Re-exports only (RFC-0348 C.1): moved to
2
- :mod:`tracebloc.linking.response`. Every name stays importable from this path
3
- for existing callers; new code imports from the new module.
4
- """
5
-
6
- from tracebloc.linking.response import ( # noqa: F401 (re-export, RFC-0348 C.1)
7
- _apply_link_success,
8
- _map_link_response,
9
- _parse_api_message,
10
- _render_mismatch_diagnostics,
11
- _status_reason,
12
- DATASET_KEY_HINT,
13
- LinkSuccessState,
14
- regenerated_for_link,
15
- )
@@ -1,17 +0,0 @@
1
- """Re-exports only (RFC-0348 C.1): moved to
2
- :mod:`tracebloc.linking.conversion`. Every name stays importable from this path
3
- for existing callers; new code imports from the new module.
4
- """
5
-
6
- from tracebloc.linking.conversion import ( # noqa: F401 (re-export, RFC-0348 C.1)
7
- _category,
8
- _json,
9
- _not_found,
10
- _todays_path,
11
- ASK,
12
- dataset_task,
13
- DATASET_TASK_PATH,
14
- for_upload,
15
- refuse_unsendable,
16
- UploadInput,
17
- )
@@ -1,6 +0,0 @@
1
- """Logging in without a prompt (RFC-0348 C.3).
2
-
3
- ``env_login`` reads a scoped token from the environment. The old root module
4
- ``tracebloc.env_login`` re-exports it: backend's notebook image still imports
5
- that path (RFC-0348 E.4 kept it).
6
- """
@@ -1,18 +0,0 @@
1
- """Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.auth.env_login`.
2
-
3
- Every name stays importable from this path for existing callers; new code
4
- imports from the new module.
5
- """
6
-
7
- from tracebloc.auth.env_login import ( # noqa: F401 (re-export, RFC-0348 C.3)
8
- TOKEN_ENV_VAR,
9
- API_URL_ENV_VAR,
10
- APP_URL_ENV_VAR,
11
- ENV_TOKEN_SCHEME,
12
- _ALLOWED_URL_SCHEMES,
13
- _has_forbidden_character,
14
- _read_var,
15
- _validate_base_url,
16
- EnvironmentLogin,
17
- read_environment_login,
18
- )
@@ -1,11 +0,0 @@
1
- """Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.linking.library`.
2
-
3
- Every name stays importable from this path for existing callers; new code
4
- imports from the new module.
5
- """
6
-
7
- from tracebloc.linking.library import ( # noqa: F401 (re-export, RFC-0348 C.3)
8
- _library_id,
9
- fetch_library_model,
10
- user_fetch_library_model,
11
- )
@@ -1,17 +0,0 @@
1
- """Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.downloads.lifelines_weights`.
2
-
3
- Every name stays importable from this path for existing callers; new code
4
- imports from the new module. RFC-0348 E.4 kept this path: the README and the
5
- CHANGELOG tell customers to import ``load_lifelines_model`` from it.
6
- """
7
-
8
- from tracebloc.downloads.lifelines_weights import ( # noqa: F401 (re-export, RFC-0348 C.3)
9
- EXTRA,
10
- _REQUIRED_MODULES,
11
- _ENTRY_POINT,
12
- _NOT_COEFFICIENTS,
13
- _require_modules,
14
- _model_from_file,
15
- _read,
16
- load_lifelines_model,
17
- )
@@ -1,17 +0,0 @@
1
- """Re-exports only (RFC-0348 C.3): moved to :mod:`tracebloc.linking.model_dataset`.
2
-
3
- Every name stays importable from this path for existing callers; new code
4
- imports from the new module.
5
- """
6
-
7
- from tracebloc.linking.model_dataset import ( # noqa: F401 (re-export, RFC-0348 C.3)
8
- LinkModelDataset,
9
- )
10
-
11
- from tracebloc.compat.deprecation import deprecated_aliases
12
-
13
- __getattr__, __dir__ = deprecated_aliases(
14
- {
15
- "LinkModelDataSet": "LinkModelDataset",
16
- }
17
- )
File without changes
File without changes
File without changes
File without changes
File without changes