abstract-atoms 0.1.0__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.
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# dependencies
|
|
2
|
+
node_modules
|
|
3
|
+
.venv
|
|
4
|
+
__pycache__
|
|
5
|
+
.ruff_cache
|
|
6
|
+
.pytest_cache
|
|
7
|
+
|
|
8
|
+
# build output
|
|
9
|
+
dist
|
|
10
|
+
.turbo
|
|
11
|
+
|
|
12
|
+
# macOS
|
|
13
|
+
.DS_Store
|
|
14
|
+
|
|
15
|
+
# wrangler local vars
|
|
16
|
+
.dev.vars
|
|
17
|
+
.wrangler
|
|
18
|
+
|
|
19
|
+
.env
|
|
20
|
+
.env.*
|
|
21
|
+
!.env.example
|
|
22
|
+
|
|
23
|
+
.tmp/
|
|
24
|
+
|
|
25
|
+
# Ant farm scene sources and build output (apps/sim/assets.py)
|
|
26
|
+
apps/sim/.assets/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: abstract-atoms
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Abstract's robot API from Python in one install: the SDK and the abstract command.
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Requires-Dist: abstract-client==0.1.0
|
|
8
|
+
Requires-Dist: abstract-robots==0.1.0
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
|
|
11
|
+
# abstract-atoms
|
|
12
|
+
|
|
13
|
+
Abstract's robot API from Python, in one install, the way Dream Labs ships `dreamlabs`:
|
|
14
|
+
|
|
15
|
+
| Package | Import | What it is |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| `abstract-client` (`client/`) | `atoms` | The SDK: `Client` and `AtomsClient`. Its one dependency is `httpx2`; it is all a robot with its own stack needs. |
|
|
18
|
+
| `abstract-robots` (`robots/`) | `abstract_robots` | The `abstract` command and the robot station, built on the SDK. |
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
uv tool install abstract-atoms # the `abstract` command, on your PATH
|
|
22
|
+
uv add abstract-atoms # both, in your project
|
|
23
|
+
uv add abstract-client # the SDK alone
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The three are released together at one version. Tests: `pytest apps/atoms` (the contract tests
|
|
27
|
+
need Bun and the engine's packages: `uv run --project apps/engine pytest apps/atoms`).
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# abstract-atoms
|
|
2
|
+
|
|
3
|
+
Abstract's robot API from Python, in one install, the way Dream Labs ships `dreamlabs`:
|
|
4
|
+
|
|
5
|
+
| Package | Import | What it is |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| `abstract-client` (`client/`) | `atoms` | The SDK: `Client` and `AtomsClient`. Its one dependency is `httpx2`; it is all a robot with its own stack needs. |
|
|
8
|
+
| `abstract-robots` (`robots/`) | `abstract_robots` | The `abstract` command and the robot station, built on the SDK. |
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
uv tool install abstract-atoms # the `abstract` command, on your PATH
|
|
12
|
+
uv add abstract-atoms # both, in your project
|
|
13
|
+
uv add abstract-client # the SDK alone
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The three are released together at one version. Tests: `pytest apps/atoms` (the contract tests
|
|
17
|
+
need Bun and the engine's packages: `uv run --project apps/engine pytest apps/atoms`).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "abstract-atoms"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Abstract's robot API from Python in one install: the SDK and the abstract command."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
requires-python = ">=3.10"
|
|
8
|
+
# Released together at one version, since the command uses the SDK's internals.
|
|
9
|
+
dependencies = ["abstract-client==0.1.0", "abstract-robots==0.1.0"]
|
|
10
|
+
|
|
11
|
+
[project.scripts]
|
|
12
|
+
# `uv tool install` puts only this package's own commands on your PATH, so it names abstract-robots'.
|
|
13
|
+
abstract = "abstract_robots:main"
|
|
14
|
+
|
|
15
|
+
[build-system]
|
|
16
|
+
requires = ["hatchling"]
|
|
17
|
+
build-backend = "hatchling.build"
|
|
18
|
+
|
|
19
|
+
[tool.hatch.build.targets.wheel]
|
|
20
|
+
bypass-selection = true # no code of its own: it installs the two packages
|
|
21
|
+
|
|
22
|
+
[tool.hatch.build.targets.sdist]
|
|
23
|
+
only-include = ["README.md"]
|