Installation¶
ad can be installed from PyPI or directly from source via GitHub.
PyPI¶
For using the PyPI package in your project, add it to your configuration file:
[project]
dependencies = [
"ad>=1.3.2", # (1)!
]
- Specifying a version is recommended.
ad>=1.3.2
pip¶
pip install --upgrade --user ad # (1)!
- You may need to use
pip3instead ofpipdepending on your Python installation.
python -m venv .venv
source .venv/bin/activate
pip install --require-virtualenv --upgrade ad # (1)!
- You may need to use
pip3instead ofpipdepending on your Python installation.
Note
The command to activate the virtual environment depends on your platform and shell. More info
uv¶
uv add ad
uv sync
uv venv
uv pip install ad
pipenv¶
pipenv install ad
poetry¶
poetry add ad
pdm¶
pdm add ad
hatch¶
hatch add ad
GitHub¶
Install the latest development version directly from the repository:
pip install --upgrade "git+https://github.com/eggzec/ad.git#egg=ad"
Building locally¶
Clone and build from source if you want to modify or test local changes:
git clone https://github.com/eggzec/ad.git
cd ad
pip install -e .
Dependencies¶
- Python 3.10+
- NumPy (optional)