mimiry 0.2.3__tar.gz → 0.3.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.
- {mimiry-0.2.3 → mimiry-0.3.0}/PKG-INFO +49 -2
- {mimiry-0.2.3 → mimiry-0.3.0}/README.md +48 -1
- {mimiry-0.2.3 → mimiry-0.3.0}/pyproject.toml +1 -1
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/PKG-INFO +49 -2
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/SOURCES.txt +2 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/__init__.py +1 -1
- mimiry-0.3.0/src/mimiry/_cli.py +526 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_client.py +32 -0
- mimiry-0.3.0/tests/test_cli.py +332 -0
- mimiry-0.3.0/tests/test_client_volumes.py +86 -0
- mimiry-0.2.3/src/mimiry/_cli.py +0 -101
- {mimiry-0.2.3 → mimiry-0.3.0}/setup.cfg +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/dependency_links.txt +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/entry_points.txt +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/requires.txt +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/Mimiry.egg-info/top_level.txt +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/__main__.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_auth.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_availability.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_config.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_serialization.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_session.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_setup.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/_ssh.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/exceptions.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/function.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/image.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/src/mimiry/run.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/tests/test_availability.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/tests/test_bootstrap.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/tests/test_config.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/tests/test_session.py +0 -0
- {mimiry-0.2.3 → mimiry-0.3.0}/tests/test_setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Mimiry
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Python SDK for serverless compute
|
|
5
5
|
Author-email: Oliver <oliversorensen39@gmail.com>
|
|
6
6
|
License: Proprietary
|
|
@@ -66,7 +66,54 @@ Always check what's currently available before selecting hardware:
|
|
|
66
66
|
mimiry availability
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Filter with `--gpu-family T4`, `--provider gcp`, `--location europe-west4-a`,
|
|
70
|
+
`--min-vram 16`, and/or `--available-only`.
|
|
71
|
+
|
|
72
|
+
## Managing sessions
|
|
73
|
+
|
|
74
|
+
Run and manage GPU sessions entirely from the CLI — no Python required:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# Launch a job (omit --command for an interactive box; --wait blocks until it starts)
|
|
78
|
+
mimiry session create --image nvcr.io/nvidia/cuda:12.6.2-runtime-ubuntu24.04 \
|
|
79
|
+
--gpu T4 --provider gcp --command "nvidia-smi" --wait
|
|
80
|
+
|
|
81
|
+
mimiry sessions # list recent sessions, newest first
|
|
82
|
+
mimiry sessions --active # only running / provisioning (i.e. still billing)
|
|
83
|
+
mimiry session status <id> # full detail (--events N for history, --wait to block until done)
|
|
84
|
+
mimiry session logs <id> # container logs (--tail N, --timestamps, --follow to stream)
|
|
85
|
+
mimiry session ssh <id> # interactive shell into a running session
|
|
86
|
+
mimiry session terminate <id>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`mimiry session list` is the long form of `mimiry sessions`; add `--json` for
|
|
90
|
+
machine-readable output. `session create` also accepts `--env KEY=VAL`,
|
|
91
|
+
`--volume NAME:MOUNT`, `--gpu-count`, and
|
|
92
|
+
`--auto-terminate {never,on_complete,on_success}`.
|
|
93
|
+
|
|
94
|
+
## Volumes
|
|
95
|
+
|
|
96
|
+
Persistent block storage that survives session termination:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
mimiry volume create --name data --size-gb 100
|
|
100
|
+
mimiry volume list # hides deleted; --all to include them
|
|
101
|
+
mimiry volume status <id>
|
|
102
|
+
mimiry volume extend <id> --size-gb 200 # grow only (cannot shrink)
|
|
103
|
+
mimiry volume delete <id>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Attach one at launch: `mimiry session create … --volume data:/mnt/data`.
|
|
107
|
+
|
|
108
|
+
## Account
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
mimiry balance # remaining credit
|
|
112
|
+
mimiry quota # usage limits
|
|
113
|
+
mimiry transactions # credit/debit history
|
|
114
|
+
mimiry whoami # verify auth end-to-end
|
|
115
|
+
mimiry config # show resolved key path + API base (no network)
|
|
116
|
+
```
|
|
70
117
|
|
|
71
118
|
## Python version
|
|
72
119
|
|
|
@@ -45,7 +45,54 @@ Always check what's currently available before selecting hardware:
|
|
|
45
45
|
mimiry availability
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Filter with `--gpu-family T4`, `--provider gcp`, `--location europe-west4-a`,
|
|
49
|
+
`--min-vram 16`, and/or `--available-only`.
|
|
50
|
+
|
|
51
|
+
## Managing sessions
|
|
52
|
+
|
|
53
|
+
Run and manage GPU sessions entirely from the CLI — no Python required:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Launch a job (omit --command for an interactive box; --wait blocks until it starts)
|
|
57
|
+
mimiry session create --image nvcr.io/nvidia/cuda:12.6.2-runtime-ubuntu24.04 \
|
|
58
|
+
--gpu T4 --provider gcp --command "nvidia-smi" --wait
|
|
59
|
+
|
|
60
|
+
mimiry sessions # list recent sessions, newest first
|
|
61
|
+
mimiry sessions --active # only running / provisioning (i.e. still billing)
|
|
62
|
+
mimiry session status <id> # full detail (--events N for history, --wait to block until done)
|
|
63
|
+
mimiry session logs <id> # container logs (--tail N, --timestamps, --follow to stream)
|
|
64
|
+
mimiry session ssh <id> # interactive shell into a running session
|
|
65
|
+
mimiry session terminate <id>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
`mimiry session list` is the long form of `mimiry sessions`; add `--json` for
|
|
69
|
+
machine-readable output. `session create` also accepts `--env KEY=VAL`,
|
|
70
|
+
`--volume NAME:MOUNT`, `--gpu-count`, and
|
|
71
|
+
`--auto-terminate {never,on_complete,on_success}`.
|
|
72
|
+
|
|
73
|
+
## Volumes
|
|
74
|
+
|
|
75
|
+
Persistent block storage that survives session termination:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
mimiry volume create --name data --size-gb 100
|
|
79
|
+
mimiry volume list # hides deleted; --all to include them
|
|
80
|
+
mimiry volume status <id>
|
|
81
|
+
mimiry volume extend <id> --size-gb 200 # grow only (cannot shrink)
|
|
82
|
+
mimiry volume delete <id>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Attach one at launch: `mimiry session create … --volume data:/mnt/data`.
|
|
86
|
+
|
|
87
|
+
## Account
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
mimiry balance # remaining credit
|
|
91
|
+
mimiry quota # usage limits
|
|
92
|
+
mimiry transactions # credit/debit history
|
|
93
|
+
mimiry whoami # verify auth end-to-end
|
|
94
|
+
mimiry config # show resolved key path + API base (no network)
|
|
95
|
+
```
|
|
49
96
|
|
|
50
97
|
## Python version
|
|
51
98
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Mimiry
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Python SDK for serverless compute
|
|
5
5
|
Author-email: Oliver <oliversorensen39@gmail.com>
|
|
6
6
|
License: Proprietary
|
|
@@ -66,7 +66,54 @@ Always check what's currently available before selecting hardware:
|
|
|
66
66
|
mimiry availability
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
Filter with `--gpu-family T4`, `--provider gcp`, `--location europe-west4-a`,
|
|
70
|
+
`--min-vram 16`, and/or `--available-only`.
|
|
71
|
+
|
|
72
|
+
## Managing sessions
|
|
73
|
+
|
|
74
|
+
Run and manage GPU sessions entirely from the CLI — no Python required:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# Launch a job (omit --command for an interactive box; --wait blocks until it starts)
|
|
78
|
+
mimiry session create --image nvcr.io/nvidia/cuda:12.6.2-runtime-ubuntu24.04 \
|
|
79
|
+
--gpu T4 --provider gcp --command "nvidia-smi" --wait
|
|
80
|
+
|
|
81
|
+
mimiry sessions # list recent sessions, newest first
|
|
82
|
+
mimiry sessions --active # only running / provisioning (i.e. still billing)
|
|
83
|
+
mimiry session status <id> # full detail (--events N for history, --wait to block until done)
|
|
84
|
+
mimiry session logs <id> # container logs (--tail N, --timestamps, --follow to stream)
|
|
85
|
+
mimiry session ssh <id> # interactive shell into a running session
|
|
86
|
+
mimiry session terminate <id>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
`mimiry session list` is the long form of `mimiry sessions`; add `--json` for
|
|
90
|
+
machine-readable output. `session create` also accepts `--env KEY=VAL`,
|
|
91
|
+
`--volume NAME:MOUNT`, `--gpu-count`, and
|
|
92
|
+
`--auto-terminate {never,on_complete,on_success}`.
|
|
93
|
+
|
|
94
|
+
## Volumes
|
|
95
|
+
|
|
96
|
+
Persistent block storage that survives session termination:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
mimiry volume create --name data --size-gb 100
|
|
100
|
+
mimiry volume list # hides deleted; --all to include them
|
|
101
|
+
mimiry volume status <id>
|
|
102
|
+
mimiry volume extend <id> --size-gb 200 # grow only (cannot shrink)
|
|
103
|
+
mimiry volume delete <id>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Attach one at launch: `mimiry session create … --volume data:/mnt/data`.
|
|
107
|
+
|
|
108
|
+
## Account
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
mimiry balance # remaining credit
|
|
112
|
+
mimiry quota # usage limits
|
|
113
|
+
mimiry transactions # credit/debit history
|
|
114
|
+
mimiry whoami # verify auth end-to-end
|
|
115
|
+
mimiry config # show resolved key path + API base (no network)
|
|
116
|
+
```
|
|
70
117
|
|
|
71
118
|
## Python version
|
|
72
119
|
|