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