Skip to content

Commit 4bce43f

Browse files
committed
Rebrand to seeya
1 parent f6a17d7 commit 4bce43f

98 files changed

Lines changed: 1100 additions & 1100 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/integration.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

27-
- name: Install away + dev deps
27+
- name: Install seeya + dev deps
2828
run: |
2929
pip install -e ".[redis,rabbitmq]"
3030
pip install pytest pytest-asyncio
@@ -80,7 +80,7 @@ jobs:
8080
python-version: "3.13"
8181

8282
# --- Install --------------------------------------------------------
83-
- name: Install away + backend extras
83+
- name: Install seeya + backend extras
8484
run: |
8585
pip install -e ".[${{ matrix.backend.extras }}]"
8686
pip install pytest pytest-asyncio pytest-timeout
@@ -94,15 +94,15 @@ jobs:
9494
- name: Generate signing token
9595
if: matrix.signing
9696
run: |
97-
TOKEN=$(python -c "from away.core.token import generate_token; print(generate_token())")
98-
echo "AWAY_SIGNING_TOKEN=$TOKEN" >> "$GITHUB_ENV"
97+
TOKEN=$(python -c "from seeya.core.token import generate_token; print(generate_token())")
98+
echo "SEEYA_SIGNING_TOKEN=$TOKEN" >> "$GITHUB_ENV"
9999
100100
# --- Run e2e tests --------------------------------------------------
101101
- name: Run end-to-end tests
102102
env:
103-
AWAY_TEST_BACKEND: ${{ matrix.backend.url }}
104-
AWAY_TEST_SIGNING: ${{ matrix.signing && '1' || '0' }}
105-
AWAY_TEST_SANDBOX: ${{ matrix.sandbox && '1' || '0' }}
103+
SEEYA_TEST_BACKEND: ${{ matrix.backend.url }}
104+
SEEYA_TEST_SIGNING: ${{ matrix.signing && '1' || '0' }}
105+
SEEYA_TEST_SANDBOX: ${{ matrix.sandbox && '1' || '0' }}
106106
run: pytest tests/test_e2e.py -x -v --timeout=120
107107

108108
# --- Dump worker logs on failure ------------------------------------
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
echo "=== Worker process logs ==="
113113
# Collected by the test fixtures via subprocess
114-
cat /tmp/away-worker-*.log 2>/dev/null || echo "(no log files)"
114+
cat /tmp/seeya-worker-*.log 2>/dev/null || echo "(no log files)"
115115
116116
# -----------------------------------------------------------------------
117117
# Mypy type checking
@@ -124,10 +124,10 @@ jobs:
124124
with:
125125
python-version: "3.13"
126126

127-
- name: Install away + dev deps
127+
- name: Install seeya + dev deps
128128
run: |
129129
pip install -e ".[redis,rabbitmq]"
130130
pip install mypy pytest pytest-asyncio
131131
132132
- name: Run mypy
133-
run: mypy away/
133+
run: mypy seeya/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ software and other kinds of works, specifically designed to ensure
1212
cooperation with the community in the case of network server software.
1313

1414
The licenses for most software and other practical works are designed
15-
to take away your freedom to share and change the works. By contrast,
15+
to take seeya your freedom to share and change the works. By contrast,
1616
our General Public Licenses are intended to guarantee your freedom to
1717
share and change all versions of a program--to make sure it remains free
1818
software for all its users.

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# away
1+
# seeya
22

33
**Run any Python function on a remote worker — zero setup, zero deployment.**
44

@@ -7,21 +7,21 @@
77
[![Typed](https://img.shields.io/badge/typing-strict%20mypy-blue)](https://mypy-lang.org/)
88
[![Zero Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)]()
99

10-
Add `@trace` to a function. away captures its source, dependencies, and imports automatically.
10+
Add `@trace` to a function. seeya captures its source, dependencies, and imports automatically.
1111
Workers reconstruct and execute everything from scratch — no shared filesystem, no deployment pipeline.
1212
Missing packages are installed on the fly.
1313

1414
## Quick start
1515

1616
```bash
17-
pip install away
17+
pip install seeya
1818
```
1919

2020
```python
21-
import asyncio, math, away
22-
from away import trace
21+
import asyncio, math, seeya
22+
from seeya import trace
2323

24-
away.connect("local://localhost:9748")
24+
seeya.connect("local://localhost:9748")
2525

2626
def add(a, b):
2727
return a + b
@@ -39,7 +39,7 @@ asyncio.run(main())
3939
Only the entry point needs `@trace` — everything it calls is captured automatically.
4040

4141
```bash
42-
away worker --backend local://localhost:9748 --tmp # start a worker
42+
seeya worker --backend local://localhost:9748 --tmp # start a worker
4343
python my_script.py # → 5.0
4444
```
4545

@@ -50,8 +50,8 @@ For multi-machine, swap `local://` for `redis://` or an `https://` managed broke
5050
Run tasks inside Docker containers for isolation — transparent to clients:
5151

5252
```bash
53-
away sandbox setup # build image (once)
54-
away worker --backend redis://localhost:6379 --sandbox # run with isolation
53+
seeya sandbox setup # build image (once)
54+
seeya worker --backend redis://localhost:6379 --sandbox # run with isolation
5555
```
5656

5757
See [Sandbox](docs/SANDBOX.md) for configuration and management.
@@ -62,13 +62,13 @@ Pre-shared token or PIN-based pairing + HMAC-SHA256 — workers reject untrusted
6262

6363
```bash
6464
# Token-based (recommended for CI/CD)
65-
away token generate # generate once
66-
export AWAY_SIGNING_TOKEN=<token> # set on client & worker
67-
away worker --backend redis://localhost:6379 --require-signing
65+
seeya token generate # generate once
66+
export SEEYA_SIGNING_TOKEN=<token> # set on client & worker
67+
seeya worker --backend redis://localhost:6379 --require-signing
6868

6969
# PIN-based pairing (interactive)
70-
away worker --backend redis://localhost:6379 --pair # displays a 6-digit PIN
71-
away pair --backend redis://localhost:6379 # on client: enter the PIN
70+
seeya worker --backend redis://localhost:6379 --pair # displays a 6-digit PIN
71+
seeya pair --backend redis://localhost:6379 # on client: enter the PIN
7272
```
7373

7474
After setup, tasks are signed automatically. No client-side code changes. See [Signing & Pairing](docs/SIGNING.md) for details.
@@ -83,7 +83,7 @@ After setup, tasks are signed automatically. No client-side code changes. See [S
8383
| **Retry & timeout** | `@trace(timeout=30, retries=3)` with exponential backoff |
8484
| **Scheduling** | `.run_in(delay)`, `.run_at(datetime)`, `.run_every(freq)` with cancellation |
8585
| **Throttling** | `@trace(throttle=timedelta(hours=24)/50)` — rate-limit executions |
86-
| **Progress & cancellation** | `away.progress(3, 10)` inside tasks; `await future.cancel()` on client |
86+
| **Progress & cancellation** | `seeya.progress(3, 10)` inside tasks; `await future.cancel()` on client |
8787
| **Heartbeat & stall detection** | Workers heartbeat; clients raise `TaskStalled` on silence |
8888
| **Content-hash caching** | Same code = cache hit, regardless of client |
8989
| **Pluggable backends** | `local://` (same-machine TCP), `redis://`, `amqp://` (RabbitMQ), `http://`/`https://` (hosted broker API) |
@@ -104,8 +104,8 @@ After setup, tasks are signed automatically. No client-side code changes. See [S
104104
## Examples
105105

106106
```bash
107-
away worker --backend local://localhost:9748 --tmp
108-
away run examples/remote_execution.py
107+
seeya worker --backend local://localhost:9748 --tmp
108+
seeya run examples/remote_execution.py
109109
```
110110

111111
[`remote_execution.py`](examples/remote_execution.py) · [`async_execution.py`](examples/async_execution.py) · [`package_installation.py`](examples/package_installation.py) · [`progress_reporting.py`](examples/progress_reporting.py) · [`cancellation.py`](examples/cancellation.py) · [`scheduling.py`](examples/scheduling.py) · [`throttling_and_retry.py`](examples/throttling_and_retry.py) · [`large_module.py`](examples/large_module.py)

away/core/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

away/graph/__init__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

away/worker/__init__.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

away/worker/backends/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

away/worker/sandbox/Dockerfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)