datasette-agent-micropython 0.1a0__tar.gz → 0.1a1__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 (14) hide show
  1. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/PKG-INFO +4 -4
  2. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython/__init__.py +1 -1
  3. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython.egg-info/PKG-INFO +4 -4
  4. datasette_agent_micropython-0.1a1/datasette_agent_micropython.egg-info/requires.txt +3 -0
  5. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/pyproject.toml +4 -4
  6. datasette_agent_micropython-0.1a0/datasette_agent_micropython.egg-info/requires.txt +0 -3
  7. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/LICENSE +0 -0
  8. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/README.md +0 -0
  9. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython.egg-info/SOURCES.txt +0 -0
  10. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython.egg-info/dependency_links.txt +0 -0
  11. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython.egg-info/entry_points.txt +0 -0
  12. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/datasette_agent_micropython.egg-info/top_level.txt +0 -0
  13. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/setup.cfg +0 -0
  14. {datasette_agent_micropython-0.1a0 → datasette_agent_micropython-0.1a1}/tests/test_agent_micropython.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasette-agent-micropython
3
- Version: 0.1a0
3
+ Version: 0.1a1
4
4
  Summary: Run Python code in a MicroPython/WASM sandbox
5
5
  Author: Simon Willison
6
6
  License-Expression: Apache-2.0
@@ -9,11 +9,11 @@ Project-URL: Changelog, https://github.com/datasette/datasette-agent-micropython
9
9
  Project-URL: Issues, https://github.com/datasette/datasette-agent-micropython/issues
10
10
  Project-URL: CI, https://github.com/datasette/datasette-agent-micropython/actions
11
11
  Classifier: Framework :: Datasette
12
- Requires-Python: >=3.10
12
+ Requires-Python: >=3.11
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: datasette>=1.0a31
16
- Requires-Dist: datasette-agent>=0.1a4
15
+ Requires-Dist: datasette>=1.0a44
16
+ Requires-Dist: datasette-agent>=0.7a0
17
17
  Requires-Dist: micropython-wasm>=0.1a1
18
18
  Dynamic: license-file
19
19
 
@@ -369,7 +369,7 @@ async def _read_only_sql_query(datasette, actor, name_of_database, sql, params=N
369
369
  result = await db.execute(sql, params=params, truncate=True)
370
370
  rows = [_json_safe_value(dict(row)) for row in result.rows]
371
371
  return {
372
- "columns": result.columns,
372
+ "columns": list(result.columns.names),
373
373
  "rows": rows,
374
374
  "truncated": result.truncated,
375
375
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasette-agent-micropython
3
- Version: 0.1a0
3
+ Version: 0.1a1
4
4
  Summary: Run Python code in a MicroPython/WASM sandbox
5
5
  Author: Simon Willison
6
6
  License-Expression: Apache-2.0
@@ -9,11 +9,11 @@ Project-URL: Changelog, https://github.com/datasette/datasette-agent-micropython
9
9
  Project-URL: Issues, https://github.com/datasette/datasette-agent-micropython/issues
10
10
  Project-URL: CI, https://github.com/datasette/datasette-agent-micropython/actions
11
11
  Classifier: Framework :: Datasette
12
- Requires-Python: >=3.10
12
+ Requires-Python: >=3.11
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: datasette>=1.0a31
16
- Requires-Dist: datasette-agent>=0.1a4
15
+ Requires-Dist: datasette>=1.0a44
16
+ Requires-Dist: datasette-agent>=0.7a0
17
17
  Requires-Dist: micropython-wasm>=0.1a1
18
18
  Dynamic: license-file
19
19
 
@@ -0,0 +1,3 @@
1
+ datasette>=1.0a44
2
+ datasette-agent>=0.7a0
3
+ micropython-wasm>=0.1a1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "datasette-agent-micropython"
3
- version = "0.1a0"
3
+ version = "0.1a1"
4
4
  description = "Run Python code in a MicroPython/WASM sandbox"
5
5
  readme = "README.md"
6
6
  authors = [{name = "Simon Willison"}]
@@ -8,10 +8,10 @@ license = "Apache-2.0"
8
8
  classifiers=[
9
9
  "Framework :: Datasette"
10
10
  ]
11
- requires-python = ">=3.10"
11
+ requires-python = ">=3.11"
12
12
  dependencies = [
13
- "datasette>=1.0a31",
14
- "datasette-agent>=0.1a4",
13
+ "datasette>=1.0a44",
14
+ "datasette-agent>=0.7a0",
15
15
  "micropython-wasm>=0.1a1",
16
16
  ]
17
17
 
@@ -1,3 +0,0 @@
1
- datasette>=1.0a31
2
- datasette-agent>=0.1a4
3
- micropython-wasm>=0.1a1