pup-py commited on
Commit
0b8e234
·
1 Parent(s): 4731ef4
Files changed (2) hide show
  1. README.md +24 -1
  2. fetch.py +1 -1
README.md CHANGED
@@ -9,4 +9,27 @@ license: wtfpl
9
  short_description: Puppy installer
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  short_description: Puppy installer
10
  ---
11
 
12
+ # Puppy Installer
13
+
14
+ See https://github.com/liquidcarbon/puppy
15
+
16
+ ## One Installer To Rule Them All
17
+
18
+ The `pup-py-fetch` API accepts query parameters that allow specifying the exact environment recipe you want to build:
19
+ - `python`: [3.10](https://pup-py-fetch.hf.space?python=3.10) through [3.13](https://pup-py-fetch.hf.space?python=3.13)
20
+ - `pixi`: [comma-separated list of pixi/Conda dependencies](https://pup-py-fetch.hf.space?pixi=jupyter,quarto)
21
+ - virtual environments: [all other query parameters with comma-separated package names](https://pup-py-fetch.hf.space?env1=duckdb,pandas&env2=cowsay)
22
+
23
+ > [!NOTE]
24
+ > As of Dec 2024, many packages still do not support python 3.13; thus, the default version in puppy is 3.12.
25
+
26
+
27
+ Visiting the URLs above returns the installation scripts. You can mix and match query parameters, unlocking single-command recipes for complex builds:
28
+
29
+ ```bash
30
+ curl -fsSL "https://pup-py-fetch.hf.space?pixi=marimo&env1=duckdb,pandas&env2=cowsay" | bash
31
+ ```
32
+
33
+ ```powershell
34
+ iex (iwr "https://pup-py-fetch.hf.space?python=3.11&pixi=marimo&tables=duckdb,pandas,polars").Content
35
+ ```
fetch.py CHANGED
@@ -142,7 +142,7 @@ def self_ping():
142
 
143
 
144
  scheduler = AsyncIOScheduler(executors={"default": AsyncIOExecutor()})
145
- scheduler.add_job(self_ping, "interval", minutes=10)
146
 
147
 
148
  if __name__ == "__main__":
 
142
 
143
 
144
  scheduler = AsyncIOScheduler(executors={"default": AsyncIOExecutor()})
145
+ scheduler.add_job(self_ping, "interval", minutes=720)
146
 
147
 
148
  if __name__ == "__main__":