ia-tracker-qca 0.1.0__tar.gz → 0.1.1__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.
- {ia_tracker_qca-0.1.0/src/ia_tracker_qca.egg-info → ia_tracker_qca-0.1.1}/PKG-INFO +13 -4
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/README.md +12 -3
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/pyproject.toml +1 -1
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/__init__.py +1 -1
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1/src/ia_tracker_qca.egg-info}/PKG-INFO +13 -4
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/LICENCE +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/MANIFEST.in +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/requirements.txt +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/setup.cfg +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/setup.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/database.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/exceptions.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/models.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/providers/__init__.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/providers/anthropic.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/providers/base.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/providers/maritaca.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_cost_tracker/tracker.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_tracker_qca.egg-info/SOURCES.txt +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_tracker_qca.egg-info/dependency_links.txt +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_tracker_qca.egg-info/requires.txt +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_tracker_qca.egg-info/top_level.txt +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/tests/test_anthropic_integration.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/tests/test_anthropic_real.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/tests/test_completo.py +0 -0
- {ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/tests/test_maritaca_integration.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ia_tracker_qca
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Biblioteca para rastreamento e auditoria de custos de APIs de IA
|
|
5
5
|
Author-email: Sua Equipe <contato@suaempresa.com>
|
|
6
6
|
License: MIT
|
|
@@ -43,14 +43,14 @@ Biblioteca Python para rastreamento e auditoria de custos de APIs de IA (Maritac
|
|
|
43
43
|
## Instalação
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
pip install
|
|
46
|
+
pip install ia_tracker_qca
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Uso básico (não recomendado pois demora mais por causa que busca os valores atualizados na hora!):
|
|
51
51
|
|
|
52
52
|
```python
|
|
53
|
-
from
|
|
53
|
+
from ia_tracker_qca import IATracker
|
|
54
54
|
|
|
55
55
|
# Inicializar
|
|
56
56
|
tracker = IATracker(
|
|
@@ -84,7 +84,7 @@ print(f"Total de chamadas: {stats['total_chamadas']}")
|
|
|
84
84
|
|
|
85
85
|
Exemplo de uso em uma aplicação em produção:
|
|
86
86
|
```python
|
|
87
|
-
from
|
|
87
|
+
from ia_tracker_qca import IATracker
|
|
88
88
|
|
|
89
89
|
tracker = IATracker(db_connection_string=os.getenv("DB_CONNECTION_STRING"))
|
|
90
90
|
|
|
@@ -138,3 +138,12 @@ for modelo in modelos:
|
|
|
138
138
|
f"R$ {modelo.custo_output_por_1k}/1k output")
|
|
139
139
|
|
|
140
140
|
```
|
|
141
|
+
|
|
142
|
+
# Para att a lib:
|
|
143
|
+
## 1. Editar arquivos (README, código, etc)
|
|
144
|
+
## 2. Atualizar versões manualmente (pyproject.toml e __init__.py)
|
|
145
|
+
## 3. Executar no vscode
|
|
146
|
+
```bash
|
|
147
|
+
Remove-Item -Recurse -Force dist, build -ErrorAction SilentlyContinue; Get-ChildItem -Recurse -Filter "*.egg-info" | Remove-Item -Recurse -Force; python -m build; python -m twine upload dist/*; git add .; git commit -m "Release v0.1.1"; git tag v0.1.1; git push origin main; git push --tags
|
|
148
|
+
|
|
149
|
+
```
|
|
@@ -12,14 +12,14 @@ Biblioteca Python para rastreamento e auditoria de custos de APIs de IA (Maritac
|
|
|
12
12
|
## Instalação
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
pip install
|
|
15
|
+
pip install ia_tracker_qca
|
|
16
16
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Uso básico (não recomendado pois demora mais por causa que busca os valores atualizados na hora!):
|
|
20
20
|
|
|
21
21
|
```python
|
|
22
|
-
from
|
|
22
|
+
from ia_tracker_qca import IATracker
|
|
23
23
|
|
|
24
24
|
# Inicializar
|
|
25
25
|
tracker = IATracker(
|
|
@@ -53,7 +53,7 @@ print(f"Total de chamadas: {stats['total_chamadas']}")
|
|
|
53
53
|
|
|
54
54
|
Exemplo de uso em uma aplicação em produção:
|
|
55
55
|
```python
|
|
56
|
-
from
|
|
56
|
+
from ia_tracker_qca import IATracker
|
|
57
57
|
|
|
58
58
|
tracker = IATracker(db_connection_string=os.getenv("DB_CONNECTION_STRING"))
|
|
59
59
|
|
|
@@ -106,4 +106,13 @@ for modelo in modelos:
|
|
|
106
106
|
f"R$ {modelo.custo_input_por_1k}/1k input, "
|
|
107
107
|
f"R$ {modelo.custo_output_por_1k}/1k output")
|
|
108
108
|
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
# Para att a lib:
|
|
112
|
+
## 1. Editar arquivos (README, código, etc)
|
|
113
|
+
## 2. Atualizar versões manualmente (pyproject.toml e __init__.py)
|
|
114
|
+
## 3. Executar no vscode
|
|
115
|
+
```bash
|
|
116
|
+
Remove-Item -Recurse -Force dist, build -ErrorAction SilentlyContinue; Get-ChildItem -Recurse -Filter "*.egg-info" | Remove-Item -Recurse -Force; python -m build; python -m twine upload dist/*; git add .; git commit -m "Release v0.1.1"; git tag v0.1.1; git push origin main; git push --tags
|
|
117
|
+
|
|
109
118
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ia_tracker_qca
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Biblioteca para rastreamento e auditoria de custos de APIs de IA
|
|
5
5
|
Author-email: Sua Equipe <contato@suaempresa.com>
|
|
6
6
|
License: MIT
|
|
@@ -43,14 +43,14 @@ Biblioteca Python para rastreamento e auditoria de custos de APIs de IA (Maritac
|
|
|
43
43
|
## Instalação
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
pip install
|
|
46
|
+
pip install ia_tracker_qca
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Uso básico (não recomendado pois demora mais por causa que busca os valores atualizados na hora!):
|
|
51
51
|
|
|
52
52
|
```python
|
|
53
|
-
from
|
|
53
|
+
from ia_tracker_qca import IATracker
|
|
54
54
|
|
|
55
55
|
# Inicializar
|
|
56
56
|
tracker = IATracker(
|
|
@@ -84,7 +84,7 @@ print(f"Total de chamadas: {stats['total_chamadas']}")
|
|
|
84
84
|
|
|
85
85
|
Exemplo de uso em uma aplicação em produção:
|
|
86
86
|
```python
|
|
87
|
-
from
|
|
87
|
+
from ia_tracker_qca import IATracker
|
|
88
88
|
|
|
89
89
|
tracker = IATracker(db_connection_string=os.getenv("DB_CONNECTION_STRING"))
|
|
90
90
|
|
|
@@ -138,3 +138,12 @@ for modelo in modelos:
|
|
|
138
138
|
f"R$ {modelo.custo_output_por_1k}/1k output")
|
|
139
139
|
|
|
140
140
|
```
|
|
141
|
+
|
|
142
|
+
# Para att a lib:
|
|
143
|
+
## 1. Editar arquivos (README, código, etc)
|
|
144
|
+
## 2. Atualizar versões manualmente (pyproject.toml e __init__.py)
|
|
145
|
+
## 3. Executar no vscode
|
|
146
|
+
```bash
|
|
147
|
+
Remove-Item -Recurse -Force dist, build -ErrorAction SilentlyContinue; Get-ChildItem -Recurse -Filter "*.egg-info" | Remove-Item -Recurse -Force; python -m build; python -m twine upload dist/*; git add .; git commit -m "Release v0.1.1"; git tag v0.1.1; git push origin main; git push --tags
|
|
148
|
+
|
|
149
|
+
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ia_tracker_qca-0.1.0 → ia_tracker_qca-0.1.1}/src/ia_tracker_qca.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|