envd 0.4.3__py2.py3-none-musllinux_1_2_x86_64.whl → 1.0.0a2__py2.py3-none-musllinux_1_2_x86_64.whl

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 envd might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: envd
3
- Version: 0.4.3
3
+ Version: 1.0.0a2
4
4
  Summary: A development environment management tool for data scientists.
5
5
  Home-page: https://github.com/tensorchord/envd
6
6
  Author: TensorChord
@@ -57,10 +57,13 @@ Environments built with `envd` provide the following features out-of-the-box:
57
57
 
58
58
  ```python
59
59
  def build():
60
+ base(dev=True)
61
+ install.conda()
62
+ install.python()
60
63
  install.python_packages(name = [
61
64
  "numpy",
62
65
  ])
63
- shell("zsh")
66
+ shell("fish")
64
67
  config.jupyter()
65
68
  ```
66
69
 
@@ -112,7 +115,9 @@ Forget copy-pasting Dockerfile instructions - use envd to easily build functions
112
115
  envdlib = include("https://github.com/tensorchord/envdlib")
113
116
 
114
117
  def build():
115
- base(os="ubuntu22.04", language="python")
118
+ base(dev=True)
119
+ install.conda()
120
+ install.python()
116
121
  envdlib.tensorboard(host_port=8888)
117
122
  ```
118
123
 
@@ -196,13 +201,15 @@ The build manifest `build.envd` looks like:
196
201
 
197
202
  ```python title=build.envd
198
203
  def build():
199
- base(os="ubuntu22.04", language="python3")
204
+ base(dev=True)
205
+ install.conda()
206
+ install.python()
200
207
  # Configure the pip index if needed.
201
208
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
202
209
  install.python_packages(name = [
203
210
  "numpy",
204
211
  ])
205
- shell("zsh")
212
+ shell("fish")
206
213
  ```
207
214
 
208
215
  *Note that we use Python here as an example but please check out examples for other languages such as R and Julia [here](https://github.com/tensorchord/envd/tree/main/examples).*
@@ -215,29 +222,34 @@ cd envd-quick-start && envd up
215
222
 
216
223
  ```bash
217
224
  $ cd envd-quick-start && envd up
218
- [+] ⌚ parse build.envd and download/cache dependencies 2.8s ✅ (finished)
219
- => download oh-my-zsh 2.8s
220
- [+] 🐋 build envd environment 18.3s (25/25) ✅ (finished)
221
- => create apt source dir 0.0s
222
- => local://cache-dir 0.1s
223
- => => transferring cache-dir: 5.12MB 0.1s
224
- ...
225
- => pip install numpy 13.0s
226
- => copy /oh-my-zsh /home/envd/.oh-my-zsh 0.1s
227
- => mkfile /home/envd/install.sh 0.0s
228
- => install oh-my-zsh 0.1s
229
- => mkfile /home/envd/.zshrc 0.0s
230
- => install shell 0.0s
231
- => install PyPI packages 0.0s
232
- => merging all components into one 0.3s
233
- => => merging 0.3s
234
- => mkfile /home/envd/.gitconfig 0.0s
235
- => exporting to oci image format 2.4s
236
- => => exporting layers 2.0s
237
- => => exporting manifest sha256:7dbe9494d2a7a39af16d514b997a5a8f08b637f 0.0s
238
- => => exporting config sha256:1da06b907d53cf8a7312c138c3221e590dedc2717 0.0s
239
- => => sending tarball 0.4s
240
- envd-quick-start via Py v3.9.13 via 🅒 envd
225
+ [+] ⌚ parse build.envd and download/cache dependencies 6.2s ✅ (finished)
226
+ [+] build envd environment 19.0s (47/47) FINISHED
227
+ => CACHED [internal] setting pip cache mount permissions 0.0s
228
+ => docker-image://docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
229
+ => => resolve docker.io/tensorchord/envd-sshd-from-scratch:v0.4.3 2.3s
230
+ => docker-image://docker.io/library/ubuntu:22.04 0.0s
231
+ ......
232
+ => [internal] pip install numpy 2.5s
233
+ => CACHED [internal] download fish shell 0.0s
234
+ => [internal] configure user permissions for /opt/conda 1.0s
235
+ => [internal] create dir for ssh key 0.5s
236
+ => [internal] install ssh keys 0.2s
237
+ => [internal] copy fish shell from the builder image 0.2s
238
+ => [internal] install fish shell 0.5s
239
+ ......
240
+ => [internal] create work dir: /home/envd/envd-quick-start 0.2s
241
+ => exporting to image 7.7s
242
+ => => exporting layers 7.7s
243
+ => => writing image sha256:464a0c12759d3d1732404f217d5c6e06d0ee4890cccd66391a608daf2bd314e4 0.0s
244
+ => => naming to docker.io/library/envd-quick-start:dev 0.0s
245
+ ------
246
+ > importing cache manifest from docker.io/tensorchord/python-cache:envd-v0.4.3:
247
+ ------
248
+ ⣽ [5/5] attach the environment [2s]
249
+ Welcome to fish, the friendly interactive shell
250
+ Type help for instructions on how to use fish
251
+
252
+ envd-quick-start on git master [!] via Py v3.11.11 via 🅒 envd as sudo
241
253
  ⬢ [envd]❯ # You are in the container-based environment!
242
254
  ```
243
255
 
@@ -247,13 +259,15 @@ Please edit the `build.envd` to enable jupyter notebook:
247
259
 
248
260
  ```python title=build.envd
249
261
  def build():
250
- base(os="ubuntu22.04", language="python3")
262
+ base(dev=True)
263
+ install.conda()
264
+ install.python()
251
265
  # Configure the pip index if needed.
252
266
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
253
267
  install.python_packages(name = [
254
268
  "numpy",
255
269
  ])
256
- shell("zsh")
270
+ shell("fish")
257
271
  config.jupyter()
258
272
  ```
259
273
 
@@ -269,7 +283,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
269
283
  ## Difference between v0 and v1
270
284
 
271
285
  > [!NOTE]
272
- > To use the `v1` config file, add `# syntax=v1` to the first line of your `build.envd` file.
286
+ > Start from `envd v1.0`, `v1` syntax is the default syntax for `build.envd` file.
273
287
 
274
288
  | Features | v0 | v1 |
275
289
  | --- | --- | --- |
@@ -279,11 +293,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
279
293
  | support serving | ⚠️ | ✅ |
280
294
  | support custom base image | ⚠️ | ✅ |
281
295
  | support installing multiple languages | ⚠️ | ✅ |
282
- | support `moby` builder | ❌ | ✅ <sup>[(a)](#v1-moby)</sup> |
283
-
284
- > [!NOTE]
285
- > <a name="v1-moby">(a)</a> To use the `moby` builder, you will need to create a new context with `envd context create --name moby-test --builder moby-worker --use`.
286
- > For more information about the `moby` builder, check the [issue-1693](https://github.com/tensorchord/envd/issues/1693).
296
+ | support `moby` builder | ❌ | ✅ |
287
297
 
288
298
  > [!IMPORTANT]
289
299
  > For more details, check the [upgrade to v1](https://envd.tensorchord.ai/guide/v1.html) doc.
@@ -0,0 +1,6 @@
1
+ envd-1.0.0a2.dist-info/LICENSE,sha256=eyTBZk0yxn_VnN5cGn9-0nJCXtMCubZ2iFQZCEODWxk,11341
2
+ envd-1.0.0a2.dist-info/WHEEL,sha256=2mM8kmnCemg6xH3QeqJfWIRiHV1m29_nzdqV6eJEF30,145
3
+ envd-1.0.0a2.dist-info/top_level.txt,sha256=1OHC94DZ5nAbn2I1jx5cCPXDMEO0oyGjaWD3VA5sri0,5
4
+ envd-1.0.0a2.dist-info/METADATA,sha256=LPM3DHcwed_q75pJRHkUFVLcvheGc8nniqzNsZwQu4k,39375
5
+ envd-1.0.0a2.dist-info/RECORD,,
6
+ envd-1.0.0a2.data/data/bin/envd,sha256=wPzcNqU9SjEjEsQFu07sY3TF_TCPklrUMIlwoudVD9E,40083608
@@ -1,6 +0,0 @@
1
- envd-0.4.3.dist-info/top_level.txt,sha256=1OHC94DZ5nAbn2I1jx5cCPXDMEO0oyGjaWD3VA5sri0,5
2
- envd-0.4.3.dist-info/RECORD,,
3
- envd-0.4.3.dist-info/LICENSE,sha256=eyTBZk0yxn_VnN5cGn9-0nJCXtMCubZ2iFQZCEODWxk,11341
4
- envd-0.4.3.dist-info/METADATA,sha256=3so7eiLDOooOwZwi1DwDBtHc63Y4JLJa-cReHDvoXAc,39206
5
- envd-0.4.3.dist-info/WHEEL,sha256=2mM8kmnCemg6xH3QeqJfWIRiHV1m29_nzdqV6eJEF30,145
6
- envd-0.4.3.data/data/bin/envd,sha256=LmzSwDuhMNBiqHQQ_YC5wUE_F8Egw3lRtf137-Zu8GY,40501400
File without changes
File without changes