You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,16 @@
12
12
13
13
**It's an ORM for your package managers, providing nice python types for packages + installers.**
14
14
15
-
**This is a [Python library](https://pypi.org/project/abxpkg/) and all-in-one CLI for installing & managing packages locally with a variety of package managers.**
15
+
**This is a [Python library](https://pypi.org/project/abxpkg/) and all-in-one CLI for managing packages locally with a variety of package managers.**
16
16
It's designed for when you have to detect or install binary or source dependencies at runtime.
17
17
18
18
Stop distributing your apps via `curl | sh`! Instead you can bake package installation into your app, or use our `uv`-style [`abxpkg run --script`](https://github.com/ArchiveBox/abxpkg/#shebang-line-in-scripts) shebang headers to auto-install dependencies for you.
19
19
20
20
21
21
```bash
22
22
pip install abxpkg
23
+
24
+
abxpkg --version
23
25
```
24
26
25
27
```python
@@ -67,14 +69,16 @@ for binary in dependencies:
67
69
68
70
<br/>
69
71
72
+
---
73
+
70
74
> [!TIP]
71
75
> **🔒 Stay safe from supply-chain attcaks with `abxpkg`:** We default to safe behavior (when providers allow):
72
76
>
73
77
> -`min_release_age=7` (we only install packages that have been published for 7 days or longer)
74
78
> -`postinstall_scripts=False` (we don't run post-install scripts for packages by default)
75
79
> -`install_root=<platform default abx lib dir>` (the CLI defaults to a dedicated provider-rooted library dir so host system stays clean)
76
80
>
77
-
> You can customize these defaults on `Binary` or `BinProvider`, or with `ABXPKG_MIN_RELEASE_AGE`/`ABXPKG_POSTINSTALL_SCRIPTS=`/`ABXPKG_NO_CACHE`/`ABXPKG_LIB_DIR` (see [Configuration](#Configuration) below).
81
+
> You can customize these defaults on `Binary` or `BinProvider`, or with `ABXPKG_MIN_RELEASE_AGE`/`ABXPKG_POSTINSTALL_SCRIPTS`/`ABXPKG_LIB_DIR` (see [Configuration](#Configuration) below).
0 commit comments