envd 0.4.0__py2.py3-none-macosx_11_0_arm64.whl → 1.0.0a2__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.0
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
@@ -11,12 +11,9 @@ Classifier: Topic :: Software Development :: Build Tools
11
11
  Classifier: Intended Audience :: Science/Research
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: Apache Software License
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3.12
18
- Classifier: Programming Language :: Python :: 3.13
19
- Requires-Python: >=3.6
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 2
16
+ Classifier: Programming Language :: Python :: 3
20
17
  Description-Content-Type: text/markdown
21
18
  License-File: LICENSE
22
19
 
@@ -59,10 +56,13 @@ Environments built with `envd` provide the following features out-of-the-box:
59
56
 
60
57
  ```python
61
58
  def build():
59
+ base(dev=True)
60
+ install.conda()
61
+ install.python()
62
62
  install.python_packages(name = [
63
63
  "numpy",
64
64
  ])
65
- shell("zsh")
65
+ shell("fish")
66
66
  config.jupyter()
67
67
  ```
68
68
 
@@ -114,7 +114,9 @@ Forget copy-pasting Dockerfile instructions - use envd to easily build functions
114
114
  envdlib = include("https://github.com/tensorchord/envdlib")
115
115
 
116
116
  def build():
117
- base(os="ubuntu22.04", language="python")
117
+ base(dev=True)
118
+ install.conda()
119
+ install.python()
118
120
  envdlib.tensorboard(host_port=8888)
119
121
  ```
120
122
 
@@ -198,13 +200,15 @@ The build manifest `build.envd` looks like:
198
200
 
199
201
  ```python title=build.envd
200
202
  def build():
201
- base(os="ubuntu22.04", language="python3")
203
+ base(dev=True)
204
+ install.conda()
205
+ install.python()
202
206
  # Configure the pip index if needed.
203
207
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
204
208
  install.python_packages(name = [
205
209
  "numpy",
206
210
  ])
207
- shell("zsh")
211
+ shell("fish")
208
212
  ```
209
213
 
210
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).*
@@ -217,29 +221,34 @@ cd envd-quick-start && envd up
217
221
 
218
222
  ```bash
219
223
  $ cd envd-quick-start && envd up
220
- [+] ⌚ parse build.envd and download/cache dependencies 2.8s ✅ (finished)
221
- => download oh-my-zsh 2.8s
222
- [+] 🐋 build envd environment 18.3s (25/25) ✅ (finished)
223
- => create apt source dir 0.0s
224
- => local://cache-dir 0.1s
225
- => => transferring cache-dir: 5.12MB 0.1s
226
- ...
227
- => pip install numpy 13.0s
228
- => copy /oh-my-zsh /home/envd/.oh-my-zsh 0.1s
229
- => mkfile /home/envd/install.sh 0.0s
230
- => install oh-my-zsh 0.1s
231
- => mkfile /home/envd/.zshrc 0.0s
232
- => install shell 0.0s
233
- => install PyPI packages 0.0s
234
- => merging all components into one 0.3s
235
- => => merging 0.3s
236
- => mkfile /home/envd/.gitconfig 0.0s
237
- => exporting to oci image format 2.4s
238
- => => exporting layers 2.0s
239
- => => exporting manifest sha256:7dbe9494d2a7a39af16d514b997a5a8f08b637f 0.0s
240
- => => exporting config sha256:1da06b907d53cf8a7312c138c3221e590dedc2717 0.0s
241
- => => sending tarball 0.4s
242
- 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
243
252
  ⬢ [envd]❯ # You are in the container-based environment!
244
253
  ```
245
254
 
@@ -249,13 +258,15 @@ Please edit the `build.envd` to enable jupyter notebook:
249
258
 
250
259
  ```python title=build.envd
251
260
  def build():
252
- base(os="ubuntu22.04", language="python3")
261
+ base(dev=True)
262
+ install.conda()
263
+ install.python()
253
264
  # Configure the pip index if needed.
254
265
  # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
255
266
  install.python_packages(name = [
256
267
  "numpy",
257
268
  ])
258
- shell("zsh")
269
+ shell("fish")
259
270
  config.jupyter()
260
271
  ```
261
272
 
@@ -271,7 +282,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
271
282
  ## Difference between v0 and v1
272
283
 
273
284
  > [!NOTE]
274
- > 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.
275
286
 
276
287
  | Features | v0 | v1 |
277
288
  | --- | --- | --- |
@@ -281,11 +292,7 @@ envd-quick-start http://localhost:42779 envd-quick-start.envd /home/g
281
292
  | support serving | ⚠️ | ✅ |
282
293
  | support custom base image | ⚠️ | ✅ |
283
294
  | support installing multiple languages | ⚠️ | ✅ |
284
- | support `moby` builder | ❌ | ✅ <sup>[(a)](#v1-moby)</sup> |
285
-
286
- > [!NOTE]
287
- > <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`.
288
- > For more information about the `moby` builder, check the [issue-1693](https://github.com/tensorchord/envd/issues/1693).
295
+ | support `moby` builder | ❌ | ✅ |
289
296
 
290
297
  > [!IMPORTANT]
291
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.0a2.dist-info/RECORD,,
2
+ envd-1.0.0a2.dist-info/LICENSE,sha256=eyTBZk0yxn_VnN5cGn9-0nJCXtMCubZ2iFQZCEODWxk,11341
3
+ envd-1.0.0a2.dist-info/WHEEL,sha256=9hJ1FuEZbvzXm6h3sCN_KazEtrTFzJoM157UZyUxwA0,138
4
+ envd-1.0.0a2.dist-info/top_level.txt,sha256=1OHC94DZ5nAbn2I1jx5cCPXDMEO0oyGjaWD3VA5sri0,5
5
+ envd-1.0.0a2.dist-info/METADATA,sha256=mjA9hr-w4B2-HrNjSe7bMrfmtNBjoEkDTVUzNVrqLcA,39355
6
+ envd-1.0.0a2.data/data/bin/envd,sha256=YXuMVQTQFa8UL-was_wYjz_OXU3Oeh_yZCEFNfYzhLQ,80894498
@@ -1,6 +0,0 @@
1
- envd-0.4.0.dist-info/RECORD,,
2
- envd-0.4.0.dist-info/LICENSE,sha256=eyTBZk0yxn_VnN5cGn9-0nJCXtMCubZ2iFQZCEODWxk,11341
3
- envd-0.4.0.dist-info/WHEEL,sha256=9hJ1FuEZbvzXm6h3sCN_KazEtrTFzJoM157UZyUxwA0,138
4
- envd-0.4.0.dist-info/top_level.txt,sha256=1OHC94DZ5nAbn2I1jx5cCPXDMEO0oyGjaWD3VA5sri0,5
5
- envd-0.4.0.dist-info/METADATA,sha256=vjeCD1K6qD6bqdRQGX_VK5IWHAgWhGF1Ov095ksI2Sk,39324
6
- envd-0.4.0.data/data/bin/envd,sha256=TA6wWyDZXKeiyR_uSgaR-KIRdS5gHzCdZTEc9kKgL_Y,81738370
File without changes
File without changes