Installation¶
nlpql 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]
nlpql = "*" # (1)!
- Specifying a version is recommended
nlpql>=0.1.0
pip¶
pip install --upgrade --user nlpql # (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 nlpql # (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 nlpql
uv sync
uv venv
uv pip install nlpql
pipenv¶
pipenv install nlpql
poetry¶
poetry add nlpql
pdm¶
pdm add nlpql
hatch¶
hatch add nlpql
GitHub¶
Install the latest development version directly from the repository:
pip install --upgrade "git+https://github.com/eggzec/nlpql.git#egg=nlpql"
Building locally¶
Clone and build from source if you want to modify or test local changes:
git clone https://github.com/eggzec/nlpql.git
cd nlpql
pip install -e .