python-fastllm 0.0.25__tar.gz → 0.0.26__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 (28) hide show
  1. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/PKG-INFO +1 -1
  2. python_fastllm-0.0.26/fastllm/__init__.py +1 -0
  3. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/types.py +9 -5
  4. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/PKG-INFO +1 -1
  5. python_fastllm-0.0.25/fastllm/__init__.py +0 -1
  6. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/README.md +0 -0
  7. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/_modidx.py +0 -0
  8. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/acomplete.py +0 -0
  9. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/anthropic.py +0 -0
  10. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/chat.py +0 -0
  11. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/codex.py +0 -0
  12. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/gemini.py +0 -0
  13. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/openai_chat.py +0 -0
  14. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/openai_responses.py +0 -0
  15. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/anthropic.json +0 -0
  16. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/anthropic.yml +0 -0
  17. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/gemini.json +0 -0
  18. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/openai.with-code-samples.json +0 -0
  19. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/openai.with-code-samples.yml +0 -0
  20. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/specs/spec_manifest.json +0 -0
  21. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/fastllm/streaming.py +0 -0
  22. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/pyproject.toml +0 -0
  23. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/SOURCES.txt +0 -0
  24. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/dependency_links.txt +0 -0
  25. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/entry_points.txt +0 -0
  26. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/requires.txt +0 -0
  27. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/python_fastllm.egg-info/top_level.txt +0 -0
  28. {python_fastllm-0.0.25 → python_fastllm-0.0.26}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fastllm
3
- Version: 0.0.25
3
+ Version: 0.0.26
4
4
  Author-email: Kerem Turgutlu <keremturgutlu@gmail.com>
5
5
  License: Apache-2.0
6
6
  Project-URL: Repository, https://github.com/AnswerDotAI/fastllm
@@ -0,0 +1 @@
1
+ __version__ = "0.0.26"
@@ -3,11 +3,11 @@
3
3
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_types.ipynb.
4
4
 
5
5
  # %% auto #0
6
- __all__ = ['PartType', 'FinishReason', 'api_registry', 'model_prices_url', 'haik45', 'sonn45', 'sonn', 'sonn46', 'opus46', 'opus',
7
- 'gpt54', 'gpt54m', 'gpt55', 'codex54', 'codex54m', 'codex55', 'codex53spark', 'model_info_registry',
8
- 'modern_llm', 'deepseek_v4_common', 'mimo_v25_common', 'codex_pricing', 'Part', 'Msg', 'ToolCall',
9
- 'display_list', 'Usage', 'Completion', 'APIRegistry', 'mk_completion', 'mk_tool_res_msg', 'fn_schema',
10
- 'sys_text', 'part_txt', 'data_url', 'url_mime', 'payload_kwargs', 'get_api_key', 'resize_b64',
6
+ __all__ = ['PartType', 'FinishReason', 'api_registry', 'model_prices_url', 'haik45', 'sonn45', 'sonn', 'sonn46', 'sonn5',
7
+ 'opus46', 'opus', 'gpt54', 'gpt54m', 'gpt55', 'codex54', 'codex54m', 'codex55', 'codex53spark',
8
+ 'model_info_registry', 'modern_llm', 'deepseek_v4_common', 'mimo_v25_common', 'codex_pricing', 'Part', 'Msg',
9
+ 'ToolCall', 'display_list', 'Usage', 'Completion', 'APIRegistry', 'mk_completion', 'mk_tool_res_msg',
10
+ 'fn_schema', 'sys_text', 'part_txt', 'data_url', 'url_mime', 'payload_kwargs', 'get_api_key', 'resize_b64',
11
11
  'model_prices_meta', 'infer_api_name', 'get_model_meta', 'register_model_info', 'get_model_info',
12
12
  'get_model_pricing', 'approx_pricing', 'is_deepseek_peak_hour']
13
13
 
@@ -287,6 +287,7 @@ def get_model_meta(model, vendor_name=None, tfm=noop):
287
287
  haik45 = "claude-haiku-4-5"
288
288
  sonn45 = "claude-sonnet-4-5"
289
289
  sonn = sonn46 = "claude-sonnet-4-6"
290
+ sonn5 = "claude-sonnet-5"
290
291
  opus46 = "claude-opus-4-6"
291
292
  opus = "claude-opus-4-8"
292
293
  gpt54 = "gpt-5.4"
@@ -406,6 +407,9 @@ register_model_info(codex53spark, 'codex', **codex_pricing,
406
407
  for model in (haik45, sonn45, sonn46, opus46, opus):
407
408
  register_model_info(model, 'claude_code', base=model, base_vendor_name='anthropic', **codex_pricing)
408
409
 
410
+ # %% ../nbs/00_types.ipynb #60630540
411
+ register_model_info(sonn5, base=sonn5, max_input_tokens=760_000)
412
+
409
413
  # %% ../nbs/00_types.ipynb #24cc47ec
410
414
  def get_model_pricing(mn, vendor_name, million=True):
411
415
  return {k:round(v * (1e6 if million else 1), 6)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fastllm
3
- Version: 0.0.25
3
+ Version: 0.0.26
4
4
  Author-email: Kerem Turgutlu <keremturgutlu@gmail.com>
5
5
  License: Apache-2.0
6
6
  Project-URL: Repository, https://github.com/AnswerDotAI/fastllm
@@ -1 +0,0 @@
1
- __version__ = "0.0.25"