cortad 0.3.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.
- cortad-0.3.1/.gitignore +24 -0
- cortad-0.3.1/PKG-INFO +29 -0
- cortad-0.3.1/README.md +19 -0
- cortad-0.3.1/cortad.py +1581 -0
- cortad-0.3.1/pyproject.toml +28 -0
cortad-0.3.1/.gitignore
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
# A link named node_modules is not a folder, and the line above does not match it.
|
|
3
|
+
node_modules
|
|
4
|
+
build/
|
|
5
|
+
dist/
|
|
6
|
+
.env
|
|
7
|
+
.env.*
|
|
8
|
+
!.env.example
|
|
9
|
+
.DS_Store
|
|
10
|
+
.dev.vars
|
|
11
|
+
.dev.vars.*
|
|
12
|
+
.wrangler/
|
|
13
|
+
|
|
14
|
+
# Local demo material, never shipped
|
|
15
|
+
frontend/local/
|
|
16
|
+
|
|
17
|
+
# Running the Python SDK test leaves this behind
|
|
18
|
+
__pycache__/
|
|
19
|
+
|
|
20
|
+
# pnpm store from packing the SDK
|
|
21
|
+
.pnpm-store/
|
|
22
|
+
|
|
23
|
+
# Made by python/make.sh from the file the site serves; never committed.
|
|
24
|
+
python/cortad.py
|
cortad-0.3.1/PKG-INFO
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: cortad
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Summary: Ship production AI traffic to Cortad so simulated behaviour can be measured against the real thing.
|
|
5
|
+
Project-URL: Homepage, https://cortad.com
|
|
6
|
+
Author: Cortad
|
|
7
|
+
License: LicenseRef-Proprietary
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# cortad
|
|
12
|
+
|
|
13
|
+
Every model call your app makes, as it happens, sent to Cortad.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install cortad
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
import os
|
|
21
|
+
from cortad import cortad
|
|
22
|
+
|
|
23
|
+
bl = cortad(key=os.environ["CORTAD_INGEST_KEY"], capture_content=True)
|
|
24
|
+
bl.install()
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The key is read from the environment, never written into code. The SDK records which version of your
|
|
28
|
+
app answered each conversation: it reads your host's deploy variable where there is one, and the
|
|
29
|
+
commit of the checkout you are running from where there is not.
|
cortad-0.3.1/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# cortad
|
|
2
|
+
|
|
3
|
+
Every model call your app makes, as it happens, sent to Cortad.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install cortad
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```python
|
|
10
|
+
import os
|
|
11
|
+
from cortad import cortad
|
|
12
|
+
|
|
13
|
+
bl = cortad(key=os.environ["CORTAD_INGEST_KEY"], capture_content=True)
|
|
14
|
+
bl.install()
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The key is read from the environment, never written into code. The SDK records which version of your
|
|
18
|
+
app answered each conversation: it reads your host's deploy variable where there is one, and the
|
|
19
|
+
commit of the checkout you are running from where there is not.
|