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