datalegion-cli 1.10.1__tar.gz → 1.10.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.
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/PKG-INFO +10 -10
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/README.md +9 -9
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/pyproject.toml +1 -1
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/commands/company.py +2 -2
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/commands/person.py +2 -2
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/main.py +1 -1
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/.gitignore +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/LICENSE +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/__init__.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/async_typer.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/client.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/commands/__init__.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/commands/credits.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/commands/utility.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/config.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/logging.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/login.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/output.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/src/datalegion_cli/update.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/__init__.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/conftest.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_client.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_commands.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_config.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_live.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_logging.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_login.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_output.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_package_contents.py +0 -0
- {datalegion_cli-1.10.1 → datalegion_cli-1.10.2}/tests/test_update.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: datalegion-cli
|
|
3
|
-
Version: 1.10.
|
|
3
|
+
Version: 1.10.2
|
|
4
4
|
Summary: CLI for the Data Legion API — agent-friendly, fully async
|
|
5
5
|
Project-URL: Homepage, https://www.datalegion.ai
|
|
6
6
|
Project-URL: Documentation, https://www.datalegion.ai/docs
|
|
@@ -210,7 +210,7 @@ datalegion-cli person count --filters '{"job_title": "nurse practitioner", "comp
|
|
|
210
210
|
|
|
211
211
|
`total_status` is `about`, `at_least` (counting ran out of time: a lower bound) or `under` (fewer than 10).
|
|
212
212
|
|
|
213
|
-
### Person
|
|
213
|
+
### Person Discover (Beta)
|
|
214
214
|
|
|
215
215
|
```bash
|
|
216
216
|
# Natural-language search
|
|
@@ -254,7 +254,7 @@ datalegion-cli company search --sql "SELECT * FROM companies WHERE industry ILIK
|
|
|
254
254
|
datalegion-cli company count --filters '{"industry": "banking", "locations.country_code": "GB"}'
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
### Company
|
|
257
|
+
### Company Discover (Beta)
|
|
258
258
|
|
|
259
259
|
```bash
|
|
260
260
|
# Natural-language search
|
|
@@ -322,7 +322,7 @@ datalegion-cli person enrich --email bad 2>/dev/null
|
|
|
322
322
|
|
|
323
323
|
## Sandbox
|
|
324
324
|
|
|
325
|
-
Try commands without spending credits: `--sandbox` (or `LEGION_SANDBOX=1`, or `datalegion-cli config set sandbox true`) makes
|
|
325
|
+
Try commands without spending credits: `--sandbox` (or `LEGION_SANDBOX=1`, or `datalegion-cli config set sandbox true`) makes Enrichment, Search and Discover return sample records with every field a real record has. Utilities, which are free, still call the real API. Sandbox Discover answers only a few fixed example queries.
|
|
326
326
|
|
|
327
327
|
```bash
|
|
328
328
|
datalegion-cli --sandbox person enrich --email anyone@example.com
|
|
@@ -330,12 +330,12 @@ datalegion-cli --sandbox person enrich --email anyone@example.com
|
|
|
330
330
|
|
|
331
331
|
## Global Flags
|
|
332
332
|
|
|
333
|
-
| Flag | Description
|
|
334
|
-
| ------------------ |
|
|
335
|
-
| `--verbose` / `-v` | Enable debug logging to stderr
|
|
336
|
-
| `--quiet` / `-q` | Suppress all log output
|
|
337
|
-
| `--sandbox` | Return sample records from
|
|
338
|
-
| `--help` | Show help for any command
|
|
333
|
+
| Flag | Description |
|
|
334
|
+
| ------------------ | ---------------------------------------------------------------------------- |
|
|
335
|
+
| `--verbose` / `-v` | Enable debug logging to stderr |
|
|
336
|
+
| `--quiet` / `-q` | Suppress all log output |
|
|
337
|
+
| `--sandbox` | Return sample records from Enrichment, Search and Discover, using no credits |
|
|
338
|
+
| `--help` | Show help for any command |
|
|
339
339
|
|
|
340
340
|
## Development
|
|
341
341
|
|
|
@@ -175,7 +175,7 @@ datalegion-cli person count --filters '{"job_title": "nurse practitioner", "comp
|
|
|
175
175
|
|
|
176
176
|
`total_status` is `about`, `at_least` (counting ran out of time: a lower bound) or `under` (fewer than 10).
|
|
177
177
|
|
|
178
|
-
### Person
|
|
178
|
+
### Person Discover (Beta)
|
|
179
179
|
|
|
180
180
|
```bash
|
|
181
181
|
# Natural-language search
|
|
@@ -219,7 +219,7 @@ datalegion-cli company search --sql "SELECT * FROM companies WHERE industry ILIK
|
|
|
219
219
|
datalegion-cli company count --filters '{"industry": "banking", "locations.country_code": "GB"}'
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
### Company
|
|
222
|
+
### Company Discover (Beta)
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
225
|
# Natural-language search
|
|
@@ -287,7 +287,7 @@ datalegion-cli person enrich --email bad 2>/dev/null
|
|
|
287
287
|
|
|
288
288
|
## Sandbox
|
|
289
289
|
|
|
290
|
-
Try commands without spending credits: `--sandbox` (or `LEGION_SANDBOX=1`, or `datalegion-cli config set sandbox true`) makes
|
|
290
|
+
Try commands without spending credits: `--sandbox` (or `LEGION_SANDBOX=1`, or `datalegion-cli config set sandbox true`) makes Enrichment, Search and Discover return sample records with every field a real record has. Utilities, which are free, still call the real API. Sandbox Discover answers only a few fixed example queries.
|
|
291
291
|
|
|
292
292
|
```bash
|
|
293
293
|
datalegion-cli --sandbox person enrich --email anyone@example.com
|
|
@@ -295,12 +295,12 @@ datalegion-cli --sandbox person enrich --email anyone@example.com
|
|
|
295
295
|
|
|
296
296
|
## Global Flags
|
|
297
297
|
|
|
298
|
-
| Flag | Description
|
|
299
|
-
| ------------------ |
|
|
300
|
-
| `--verbose` / `-v` | Enable debug logging to stderr
|
|
301
|
-
| `--quiet` / `-q` | Suppress all log output
|
|
302
|
-
| `--sandbox` | Return sample records from
|
|
303
|
-
| `--help` | Show help for any command
|
|
298
|
+
| Flag | Description |
|
|
299
|
+
| ------------------ | ---------------------------------------------------------------------------- |
|
|
300
|
+
| `--verbose` / `-v` | Enable debug logging to stderr |
|
|
301
|
+
| `--quiet` / `-q` | Suppress all log output |
|
|
302
|
+
| `--sandbox` | Return sample records from Enrichment, Search and Discover, using no credits |
|
|
303
|
+
| `--help` | Show help for any command |
|
|
304
304
|
|
|
305
305
|
## Development
|
|
306
306
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Company
|
|
1
|
+
"""Company Enrichment, Search and Discover commands."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ from datalegion_cli.commands import (
|
|
|
20
20
|
)
|
|
21
21
|
from datalegion_cli.output import emit_credits, emit_error, emit_json, emit_search_warning
|
|
22
22
|
|
|
23
|
-
app = typer.Typer(name="company", help="Company
|
|
23
|
+
app = typer.Typer(name="company", help="Company Enrichment, Search and Discover.")
|
|
24
24
|
|
|
25
25
|
# ── Shared options ───────────────────────────────────────────────────
|
|
26
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Person
|
|
1
|
+
"""Person Enrichment, Search and Discover commands."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ from datalegion_cli.commands import (
|
|
|
20
20
|
)
|
|
21
21
|
from datalegion_cli.output import emit_credits, emit_error, emit_json, emit_search_warning
|
|
22
22
|
|
|
23
|
-
app = typer.Typer(name="person", help="Person
|
|
23
|
+
app = typer.Typer(name="person", help="Person Enrichment, Search and Discover.")
|
|
24
24
|
|
|
25
25
|
# ── Shared options ───────────────────────────────────────────────────
|
|
26
26
|
|
|
@@ -41,7 +41,7 @@ def main_callback(
|
|
|
41
41
|
bool,
|
|
42
42
|
typer.Option(
|
|
43
43
|
"--sandbox",
|
|
44
|
-
help="Return sample records from
|
|
44
|
+
help="Return sample records from Enrichment, Search and Discover, using no credits.",
|
|
45
45
|
),
|
|
46
46
|
] = False,
|
|
47
47
|
) -> None:
|
|
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
|
|
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
|