Skip to content

Commit e2bdab5

Browse files
committed
Add info about griffelib to installation
1 parent 697e2ea commit e2bdab5

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

docs/installation.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,65 @@ Griffe is a Python package, so you can install it with your favorite Python pack
5959

6060
</div>
6161

62+
## Install as a library only
63+
64+
If you only need the library for API introspection and analysis without the CLI tool, you can install just `griffelib`:
65+
66+
=== ":simple-python: pip"
67+
```bash
68+
pip install griffelib
69+
```
70+
71+
<div class="result" markdown>
72+
73+
[pip](https://pip.pypa.io/en/stable/) is the main package installer for Python.
74+
75+
</div>
76+
77+
=== ":simple-pdm: pdm"
78+
```bash
79+
pdm add griffelib
80+
```
81+
82+
<div class="result" markdown>
83+
84+
[PDM](https://pdm-project.org/en/latest/) is an all-in-one solution for Python project management.
85+
86+
</div>
87+
88+
=== ":simple-poetry: poetry"
89+
```bash
90+
poetry add griffelib
91+
```
92+
93+
<div class="result" markdown>
94+
95+
[Poetry](https://python-poetry.org/) is an all-in-one solution for Python project management.
96+
97+
</div>
98+
99+
=== ":simple-rye: rye"
100+
```bash
101+
rye add griffelib
102+
```
103+
104+
<div class="result" markdown>
105+
106+
[Rye](https://rye.astral.sh/) is an all-in-one solution for Python project management, written in Rust.
107+
108+
</div>
109+
110+
=== ":simple-astral: uv"
111+
```bash
112+
uv add griffelib
113+
```
114+
115+
<div class="result" markdown>
116+
117+
[uv](https://docs.astral.sh/uv/) is an extremely fast Python package and project manager, written in Rust.
118+
119+
</div>
120+
62121
## Install as a tool only
63122

64123
=== ":simple-python: pip"

0 commit comments

Comments
 (0)