sigma-terminal 3.3.1__tar.gz → 3.3.2__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 (33) hide show
  1. sigma_terminal-3.3.2/.github/workflows/release.yml +114 -0
  2. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/PKG-INFO +5 -5
  3. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/README.md +4 -4
  4. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/pyproject.toml +1 -1
  5. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/scripts/create_app.py +1 -1
  6. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/__init__.py +2 -2
  7. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/config.py +4 -4
  8. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/setup.py +1 -1
  9. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/.gitignore +0 -0
  10. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/LICENSE +0 -0
  11. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/scripts/build.sh +0 -0
  12. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/__main__.py +0 -0
  13. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/analytics/__init__.py +0 -0
  14. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/app.py +0 -0
  15. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/backtest.py +0 -0
  16. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/charts.py +0 -0
  17. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/cli.py +0 -0
  18. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/comparison.py +0 -0
  19. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/core/__init__.py +0 -0
  20. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/core/engine.py +0 -0
  21. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/core/intent.py +0 -0
  22. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/core/models.py +0 -0
  23. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/data/__init__.py +0 -0
  24. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/data/models.py +0 -0
  25. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/llm.py +0 -0
  26. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/monitoring.py +0 -0
  27. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/portfolio.py +0 -0
  28. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/reporting.py +0 -0
  29. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/robustness.py +0 -0
  30. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/strategy.py +0 -0
  31. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/tools/backtest.py +0 -0
  32. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/tools.py +0 -0
  33. {sigma_terminal-3.3.1 → sigma_terminal-3.3.2}/sigma/visualization.py +0 -0
@@ -0,0 +1,114 @@
1
+ name: Release to PyPI and GitHub
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ permissions:
9
+ contents: write
10
+
11
+ jobs:
12
+ build:
13
+ name: Build distribution
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: '3.12'
23
+
24
+ - name: Install build dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ pip install build twine
28
+
29
+ - name: Build package
30
+ run: python -m build
31
+
32
+ - name: Check package
33
+ run: twine check dist/*
34
+
35
+ - name: Upload distribution artifacts
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: python-package-distributions
39
+ path: dist/
40
+
41
+ publish-pypi:
42
+ name: Publish to PyPI
43
+ needs: build
44
+ runs-on: ubuntu-latest
45
+ environment:
46
+ name: pypi
47
+ url: https://pypi.org/p/sigma-terminal
48
+
49
+ permissions:
50
+ id-token: write
51
+
52
+ steps:
53
+ - name: Download distribution artifacts
54
+ uses: actions/download-artifact@v4
55
+ with:
56
+ name: python-package-distributions
57
+ path: dist/
58
+
59
+ - name: Publish to PyPI
60
+ uses: pypa/gh-action-pypi-publish@release/v1
61
+
62
+ github-release:
63
+ name: Create GitHub Release
64
+ needs: [build, publish-pypi]
65
+ runs-on: ubuntu-latest
66
+
67
+ permissions:
68
+ contents: write
69
+
70
+ steps:
71
+ - uses: actions/checkout@v4
72
+
73
+ - name: Download distribution artifacts
74
+ uses: actions/download-artifact@v4
75
+ with:
76
+ name: python-package-distributions
77
+ path: dist/
78
+
79
+ - name: Get version from tag
80
+ id: get_version
81
+ run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
82
+
83
+ - name: Generate release notes
84
+ id: release_notes
85
+ run: |
86
+ echo "## What's New in v${{ steps.get_version.outputs.VERSION }}" > RELEASE_NOTES.md
87
+ echo "" >> RELEASE_NOTES.md
88
+ echo "### Installation" >> RELEASE_NOTES.md
89
+ echo "" >> RELEASE_NOTES.md
90
+ echo '```bash' >> RELEASE_NOTES.md
91
+ echo "pip install sigma-terminal==${{ steps.get_version.outputs.VERSION }}" >> RELEASE_NOTES.md
92
+ echo '```' >> RELEASE_NOTES.md
93
+ echo "" >> RELEASE_NOTES.md
94
+ echo "Or upgrade from a previous version:" >> RELEASE_NOTES.md
95
+ echo "" >> RELEASE_NOTES.md
96
+ echo '```bash' >> RELEASE_NOTES.md
97
+ echo "pip install --upgrade sigma-terminal" >> RELEASE_NOTES.md
98
+ echo '```' >> RELEASE_NOTES.md
99
+ echo "" >> RELEASE_NOTES.md
100
+ echo "### Downloads" >> RELEASE_NOTES.md
101
+ echo "" >> RELEASE_NOTES.md
102
+ echo "The distribution files are attached to this release." >> RELEASE_NOTES.md
103
+
104
+ - name: Create GitHub Release
105
+ uses: softprops/action-gh-release@v2
106
+ with:
107
+ name: Sigma v${{ steps.get_version.outputs.VERSION }}
108
+ body_path: RELEASE_NOTES.md
109
+ files: |
110
+ dist/*
111
+ draft: false
112
+ prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
113
+ env:
114
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sigma-terminal
3
- Version: 3.3.1
3
+ Version: 3.3.2
4
4
  Summary: Sigma - Finance Research Agent
5
5
  Project-URL: Homepage, https://github.com/desenyon/sigma
6
6
  Project-URL: Documentation, https://github.com/desenyon/sigma/wiki
@@ -75,7 +75,7 @@ Description-Content-Type: text/markdown
75
75
  </p>
76
76
 
77
77
  <p align="center">
78
- <img src="https://img.shields.io/badge/version-3.3.1-blue.svg" alt="Version 3.3.1"/>
78
+ <img src="https://img.shields.io/badge/version-3.3.2-blue.svg" alt="Version 3.3.2"/>
79
79
  <img src="https://img.shields.io/badge/python-3.11+-green.svg" alt="Python 3.11+"/>
80
80
  <img src="https://img.shields.io/badge/platform-macOS-lightgrey.svg" alt="macOS"/>
81
81
  <img src="https://img.shields.io/badge/AI-Multi--Provider-purple.svg" alt="Multi-Provider AI"/>
@@ -121,8 +121,8 @@ Switch between providers on the fly. Use free tiers or bring your own keys.
121
121
 
122
122
  | Provider | Models | Speed | Cost | Tool Calls |
123
123
  | ----------------------- | ------------------------- | --------- | ------------------- | ---------- |
124
- | **Google Gemini** | gemini-2.0-flash, 1.5-pro | Fast | Free tier | Native |
125
- | **OpenAI** | gpt-4o, o1-preview | Fast | Paid | Native |
124
+ | **Google Gemini** | gemini-3-flash-preview, 2.5-pro | Fast | Free tier | Native |
125
+ | **OpenAI** | gpt-4o, o1, o3-mini | Fast | Paid | Native |
126
126
  | **Anthropic** | claude-sonnet-4, opus | Fast | Paid | Native |
127
127
  | **Groq** | llama-3.3-70b | Very Fast | Free tier | Native |
128
128
  | **xAI** | grok-2 | Fast | Paid | Native |
@@ -353,7 +353,7 @@ XAI_API_KEY=xai-...
353
353
 
354
354
  # Defaults
355
355
  DEFAULT_PROVIDER=google
356
- DEFAULT_MODEL=gemini-2.0-flash
356
+ DEFAULT_MODEL=gemini-3-flash-preview
357
357
 
358
358
  # Integrations
359
359
  OLLAMA_HOST=http://localhost:11434
@@ -15,7 +15,7 @@
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
- <img src="https://img.shields.io/badge/version-3.3.1-blue.svg" alt="Version 3.3.1"/>
18
+ <img src="https://img.shields.io/badge/version-3.3.2-blue.svg" alt="Version 3.3.2"/>
19
19
  <img src="https://img.shields.io/badge/python-3.11+-green.svg" alt="Python 3.11+"/>
20
20
  <img src="https://img.shields.io/badge/platform-macOS-lightgrey.svg" alt="macOS"/>
21
21
  <img src="https://img.shields.io/badge/AI-Multi--Provider-purple.svg" alt="Multi-Provider AI"/>
@@ -61,8 +61,8 @@ Switch between providers on the fly. Use free tiers or bring your own keys.
61
61
 
62
62
  | Provider | Models | Speed | Cost | Tool Calls |
63
63
  | ----------------------- | ------------------------- | --------- | ------------------- | ---------- |
64
- | **Google Gemini** | gemini-2.0-flash, 1.5-pro | Fast | Free tier | Native |
65
- | **OpenAI** | gpt-4o, o1-preview | Fast | Paid | Native |
64
+ | **Google Gemini** | gemini-3-flash-preview, 2.5-pro | Fast | Free tier | Native |
65
+ | **OpenAI** | gpt-4o, o1, o3-mini | Fast | Paid | Native |
66
66
  | **Anthropic** | claude-sonnet-4, opus | Fast | Paid | Native |
67
67
  | **Groq** | llama-3.3-70b | Very Fast | Free tier | Native |
68
68
  | **xAI** | grok-2 | Fast | Paid | Native |
@@ -293,7 +293,7 @@ XAI_API_KEY=xai-...
293
293
 
294
294
  # Defaults
295
295
  DEFAULT_PROVIDER=google
296
- DEFAULT_MODEL=gemini-2.0-flash
296
+ DEFAULT_MODEL=gemini-3-flash-preview
297
297
 
298
298
  # Integrations
299
299
  OLLAMA_HOST=http://localhost:11434
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "sigma-terminal"
7
- version = "3.3.1"
7
+ version = "3.3.2"
8
8
  description = "Sigma - Finance Research Agent"
9
9
  readme = "README.md"
10
10
  license = {text = "Proprietary"}
@@ -10,7 +10,7 @@ from pathlib import Path
10
10
 
11
11
 
12
12
  APP_NAME = "Sigma"
13
- VERSION = "3.3.1"
13
+ VERSION = "3.3.2"
14
14
  BUNDLE_ID = "com.sigma.app"
15
15
 
16
16
 
@@ -1,5 +1,5 @@
1
1
  """
2
- Sigma v3.3.1 - Finance Research Agent
2
+ Sigma v3.3.2 - Finance Research Agent
3
3
 
4
4
  An elite finance research agent combining:
5
5
  - Multi-provider AI (Google Gemini, OpenAI, Anthropic, Groq, xAI, Ollama)
@@ -12,7 +12,7 @@ An elite finance research agent combining:
12
12
  - Monitoring, alerts, and watchlists
13
13
  """
14
14
 
15
- __version__ = "3.3.1"
15
+ __version__ = "3.3.2"
16
16
  __author__ = "Sigma Team"
17
17
 
18
18
  # Core functionality
@@ -1,4 +1,4 @@
1
- """Configuration management for Sigma v3.3.1."""
1
+ """Configuration management for Sigma v3.3.2."""
2
2
 
3
3
  import os
4
4
  import shutil
@@ -11,7 +11,7 @@ from pydantic import Field
11
11
  from pydantic_settings import BaseSettings
12
12
 
13
13
 
14
- __version__ = "3.3.1"
14
+ __version__ = "3.3.2"
15
15
 
16
16
 
17
17
  class LLMProvider(str, Enum):
@@ -26,8 +26,8 @@ class LLMProvider(str, Enum):
26
26
 
27
27
  # Available models per provider
28
28
  AVAILABLE_MODELS = {
29
- "google": ["gemini-2.0-flash", "gemini-1.5-flash", "gemini-1.5-pro"],
30
- "openai": ["gpt-4o", "gpt-4o-mini", "gpt-4-turbo", "o1-preview", "o1-mini"],
29
+ "google": ["gemini-3-flash-preview", "gemini-2.5-pro", "gemini-2.5-flash"],
30
+ "openai": ["gpt-4o", "gpt-4o-mini", "o1", "o1-mini", "o3-mini"],
31
31
  "anthropic": ["claude-sonnet-4-20250514", "claude-3-5-sonnet-20241022", "claude-3-opus-20240229"],
32
32
  "groq": ["llama-3.3-70b-versatile", "llama-3.1-8b-instant", "mixtral-8x7b-32768"],
33
33
  "xai": ["grok-2", "grok-2-mini"],
@@ -403,7 +403,7 @@ def quick_setup():
403
403
  choice = Prompt.ask("Provider", choices=["1", "2", "3"], default="1")
404
404
 
405
405
  providers = {
406
- "1": ("google", "gemini-2.0-flash"),
406
+ "1": ("google", "gemini-3-flash-preview"),
407
407
  "2": ("groq", "llama-3.3-70b-versatile"),
408
408
  "3": ("ollama", "llama3.2"),
409
409
  }
File without changes