fleet-python 0.2.4__tar.gz → 0.2.5__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.

Potentially problematic release.


This version of fleet-python might be problematic. Click here for more details.

Files changed (53) hide show
  1. {fleet_python-0.2.4/fleet_python.egg-info → fleet_python-0.2.5}/PKG-INFO +11 -11
  2. {fleet_python-0.2.4 → fleet_python-0.2.5}/README.md +10 -10
  3. {fleet_python-0.2.4 → fleet_python-0.2.5/fleet_python.egg-info}/PKG-INFO +11 -11
  4. {fleet_python-0.2.4 → fleet_python-0.2.5}/pyproject.toml +1 -1
  5. {fleet_python-0.2.4 → fleet_python-0.2.5}/LICENSE +0 -0
  6. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/dsl_example.py +0 -0
  7. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/example.py +0 -0
  8. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/json_tasks_example.py +0 -0
  9. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/nova_act_example.py +0 -0
  10. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/openai_example.py +0 -0
  11. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/openai_simple_example.py +0 -0
  12. {fleet_python-0.2.4 → fleet_python-0.2.5}/examples/quickstart.py +0 -0
  13. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/__init__.py +0 -0
  14. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/base.py +0 -0
  15. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/client.py +0 -0
  16. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/env/__init__.py +0 -0
  17. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/env/client.py +0 -0
  18. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/exceptions.py +0 -0
  19. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/instance/__init__.py +0 -0
  20. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/instance/base.py +0 -0
  21. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/instance/client.py +0 -0
  22. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/instance/models.py +0 -0
  23. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/models.py +0 -0
  24. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/playwright.py +0 -0
  25. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/resources/__init__.py +0 -0
  26. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/resources/base.py +0 -0
  27. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/resources/browser.py +0 -0
  28. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/_async/resources/sqlite.py +0 -0
  29. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/base.py +0 -0
  30. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/client.py +0 -0
  31. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/env/__init__.py +0 -0
  32. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/env/client.py +0 -0
  33. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/exceptions.py +0 -0
  34. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/instance/__init__.py +0 -0
  35. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/instance/base.py +0 -0
  36. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/instance/client.py +0 -0
  37. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/instance/models.py +0 -0
  38. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/models.py +0 -0
  39. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/playwright.py +0 -0
  40. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/resources/__init__.py +0 -0
  41. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/resources/base.py +0 -0
  42. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/resources/browser.py +0 -0
  43. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/resources/sqlite.py +0 -0
  44. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/verifiers/__init__.py +0 -0
  45. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/verifiers/code.py +0 -0
  46. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/verifiers/db.py +0 -0
  47. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet/verifiers/sql_differ.py +0 -0
  48. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet_python.egg-info/SOURCES.txt +0 -0
  49. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet_python.egg-info/dependency_links.txt +0 -0
  50. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet_python.egg-info/requires.txt +0 -0
  51. {fleet_python-0.2.4 → fleet_python-0.2.5}/fleet_python.egg-info/top_level.txt +0 -0
  52. {fleet_python-0.2.4 → fleet_python-0.2.5}/scripts/unasync.py +0 -0
  53. {fleet_python-0.2.4 → fleet_python-0.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fleet-python
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Python SDK for Fleet environments
5
5
  Author-email: Fleet AI <nic@fleet.so>
6
6
  License: Apache-2.0
@@ -64,20 +64,20 @@ export FLEET_API_KEY="sk_your_key_here"
64
64
  import fleet as flt
65
65
 
66
66
  # Create environment by key
67
- env = await flt.env.make("fira")
67
+ env = flt.env.make("fira")
68
68
 
69
69
  # Reset environment with seed and options
70
- await env.reset(
70
+ env.reset(
71
71
  seed=42,
72
72
  timestamp=datetime.now()
73
73
  )
74
74
 
75
75
  # Access environment state ('crm' is the resource id for a sqlite database)
76
76
  sql = env.state("sqlite://crm")
77
- await sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
77
+ sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
78
78
 
79
79
  # Clean up
80
- await env.close()
80
+ env.close()
81
81
  ```
82
82
 
83
83
  ## Environment Management
@@ -86,10 +86,10 @@ await env.close()
86
86
 
87
87
  ```python
88
88
  # Create environment instance with explicit version
89
- env = await flt.env.make("fira:v1.2.5")
89
+ env = flt.env.make("fira:v1.2.5")
90
90
 
91
91
  # Create environment instance with default (latest) version
92
- env = await flt.env.make("fira")
92
+ env = flt.env.make("fira")
93
93
 
94
94
  ```
95
95
 
@@ -97,18 +97,18 @@ env = await flt.env.make("fira")
97
97
 
98
98
  ```python
99
99
  # Connect to a running instance
100
- env = await flt.env.get("env_instance_id")
100
+ env = flt.env.get("env_instance_id")
101
101
 
102
102
  # List all running instances
103
- instances = await flt.env.list_instances()
103
+ instances = flt.env.list_instances()
104
104
  for instance in instances:
105
105
  print(f"Instance: {instance.instance_id}")
106
106
  print(f"Type: {instance.environment_type}")
107
107
  print(f"Status: {instance.status}")
108
108
 
109
109
  # Filter instances by status (running, pending, stopped, error)
110
- running_instances = await flt.env.list_instances(status_filter="running")
110
+ running_instances = flt.env.list_instances(status_filter="running")
111
111
 
112
112
  # List available environment types
113
- available_envs = await flt.env.list_envs()
113
+ available_envs = flt.env.list_envs()
114
114
  ```
@@ -26,20 +26,20 @@ export FLEET_API_KEY="sk_your_key_here"
26
26
  import fleet as flt
27
27
 
28
28
  # Create environment by key
29
- env = await flt.env.make("fira")
29
+ env = flt.env.make("fira")
30
30
 
31
31
  # Reset environment with seed and options
32
- await env.reset(
32
+ env.reset(
33
33
  seed=42,
34
34
  timestamp=datetime.now()
35
35
  )
36
36
 
37
37
  # Access environment state ('crm' is the resource id for a sqlite database)
38
38
  sql = env.state("sqlite://crm")
39
- await sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
39
+ sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
40
40
 
41
41
  # Clean up
42
- await env.close()
42
+ env.close()
43
43
  ```
44
44
 
45
45
  ## Environment Management
@@ -48,10 +48,10 @@ await env.close()
48
48
 
49
49
  ```python
50
50
  # Create environment instance with explicit version
51
- env = await flt.env.make("fira:v1.2.5")
51
+ env = flt.env.make("fira:v1.2.5")
52
52
 
53
53
  # Create environment instance with default (latest) version
54
- env = await flt.env.make("fira")
54
+ env = flt.env.make("fira")
55
55
 
56
56
  ```
57
57
 
@@ -59,18 +59,18 @@ env = await flt.env.make("fira")
59
59
 
60
60
  ```python
61
61
  # Connect to a running instance
62
- env = await flt.env.get("env_instance_id")
62
+ env = flt.env.get("env_instance_id")
63
63
 
64
64
  # List all running instances
65
- instances = await flt.env.list_instances()
65
+ instances = flt.env.list_instances()
66
66
  for instance in instances:
67
67
  print(f"Instance: {instance.instance_id}")
68
68
  print(f"Type: {instance.environment_type}")
69
69
  print(f"Status: {instance.status}")
70
70
 
71
71
  # Filter instances by status (running, pending, stopped, error)
72
- running_instances = await flt.env.list_instances(status_filter="running")
72
+ running_instances = flt.env.list_instances(status_filter="running")
73
73
 
74
74
  # List available environment types
75
- available_envs = await flt.env.list_envs()
75
+ available_envs = flt.env.list_envs()
76
76
  ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fleet-python
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Python SDK for Fleet environments
5
5
  Author-email: Fleet AI <nic@fleet.so>
6
6
  License: Apache-2.0
@@ -64,20 +64,20 @@ export FLEET_API_KEY="sk_your_key_here"
64
64
  import fleet as flt
65
65
 
66
66
  # Create environment by key
67
- env = await flt.env.make("fira")
67
+ env = flt.env.make("fira")
68
68
 
69
69
  # Reset environment with seed and options
70
- await env.reset(
70
+ env.reset(
71
71
  seed=42,
72
72
  timestamp=datetime.now()
73
73
  )
74
74
 
75
75
  # Access environment state ('crm' is the resource id for a sqlite database)
76
76
  sql = env.state("sqlite://crm")
77
- await sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
77
+ sql.exec("UPDATE customers SET status = 'active' WHERE id = 123")
78
78
 
79
79
  # Clean up
80
- await env.close()
80
+ env.close()
81
81
  ```
82
82
 
83
83
  ## Environment Management
@@ -86,10 +86,10 @@ await env.close()
86
86
 
87
87
  ```python
88
88
  # Create environment instance with explicit version
89
- env = await flt.env.make("fira:v1.2.5")
89
+ env = flt.env.make("fira:v1.2.5")
90
90
 
91
91
  # Create environment instance with default (latest) version
92
- env = await flt.env.make("fira")
92
+ env = flt.env.make("fira")
93
93
 
94
94
  ```
95
95
 
@@ -97,18 +97,18 @@ env = await flt.env.make("fira")
97
97
 
98
98
  ```python
99
99
  # Connect to a running instance
100
- env = await flt.env.get("env_instance_id")
100
+ env = flt.env.get("env_instance_id")
101
101
 
102
102
  # List all running instances
103
- instances = await flt.env.list_instances()
103
+ instances = flt.env.list_instances()
104
104
  for instance in instances:
105
105
  print(f"Instance: {instance.instance_id}")
106
106
  print(f"Type: {instance.environment_type}")
107
107
  print(f"Status: {instance.status}")
108
108
 
109
109
  # Filter instances by status (running, pending, stopped, error)
110
- running_instances = await flt.env.list_instances(status_filter="running")
110
+ running_instances = flt.env.list_instances(status_filter="running")
111
111
 
112
112
  # List available environment types
113
- available_envs = await flt.env.list_envs()
113
+ available_envs = flt.env.list_envs()
114
114
  ```
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "fleet-python"
7
- version = "0.2.4"
7
+ version = "0.2.5"
8
8
  description = "Python SDK for Fleet environments"
9
9
  authors = [
10
10
  {name = "Fleet AI", email = "nic@fleet.so"},
File without changes
File without changes
File without changes