kegscraper¶
kegscraper is a Python library for automation on the KEGS platform. Different services used by KEGS are split into the different submodules
installation¶
Using regular python¶
-
run
python3 --version. make sure it is >=3.10.11 (older python versions are not compatible) -
you may want to set up a venv
-
run
python3 -m pip install kegscraper - use
from kegscraper import itto import a module (in this case it)
Using uv¶
uv is a pretty good tool for python and has been growing in popularity lately. We use uv to build and publish kegscraper to pypi.
- Make a virtualenv:
uv venv - activate the virtualenv
.venv/Scripts/activate(windows) orsource .venv/bin/activate(mac/linux) - run
uv add kegscraper - run
uv sync(this isn't strictly necessary but it recommended)
Development¶
See development