Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# .coveragerc to control coverage.py
[run]
branch = True
source = */nlp_qrmine/*
source = qrmine
# omit = bad_file.py

[paths]
source =
src/
*/site-packages/

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11"]
os: [ubuntu-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.1.1
with:
python-version: '3.7'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -24,7 +24,7 @@ jobs:
python setup.py bdist_wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tox on release
name: Tox Test

on:
push:
Expand All @@ -9,22 +9,22 @@ jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5.1.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r dev-requirements.txt
pip install -r dev-requirements.txt -r requirements.txt
python -m spacy download en_core_web_sm
- name: Test with tox
run: |
Expand Down
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ sphinx:
formats:
- pdf

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: 3.8
install:
- requirements: docs/requirements.txt
- {path: ., method: pip}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ QRMine is a suite of qualitative research (QR) data mining tools in Python using

## How to install

* Requires Python 3.11 and a CPU that support AVX instructions
```text
pip install qrmine
pip install uv
uv pip install qrmine
python -m spacy download en_core_web_sm
```
Expand Down
158 changes: 71 additions & 87 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,162 +1,146 @@
#
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
# pip-compile dev-requirements.in
#
alabaster==0.7.12
# This file was autogenerated by uv via the following command:
# uv pip compile dev-requirements.in -o dev-requirements.txt --universal
alabaster==1.0.0
# via sphinx
attrs==21.4.0
# via pytest
babel==2.9.1
babel==2.16.0
# via sphinx
certifi==2021.10.8
build==1.2.2.post1
# via pip-tools
cachetools==5.5.0
# via
# -c requirements.txt
# tox
certifi==2024.8.30
# via
# -c requirements.txt
# requests
charset-normalizer==2.0.12
chardet==5.2.0
# via tox
charset-normalizer==3.4.0
# via
# -c requirements.txt
# requests
click==8.1.2
click==8.1.7
# via
# -c requirements.txt
# pip-tools
colorama==0.4.6
# via
# -c requirements.txt
# build
# click
# pytest
# sphinx
# tox
commonmark==0.9.1
# via recommonmark
coverage[toml]==6.3.2
coverage==7.6.4
# via pytest-cov
distlib==0.3.4
distlib==0.3.9
# via virtualenv
docutils==0.17.1
docutils==0.21.2
# via
# recommonmark
# sphinx
filelock==3.6.0
filelock==3.16.1
# via
# tox
# virtualenv
idna==3.3
idna==3.10
# via
# -c requirements.txt
# requests
imagesize==1.3.0
imagesize==1.4.1
# via sphinx
importlib-metadata==4.11.3 ; python_version < "3.8"
iniconfig==2.0.0
# via pytest
jinja2==3.1.4
# via
# -c requirements.txt
# click
# pep517
# pluggy
# pytest
# sphinx
# tox
# virtualenv
iniconfig==1.1.1
# via pytest
jinja2==3.1.1
# via sphinx
markupsafe==2.1.1
# via jinja2
packaging==21.3
markupsafe==3.0.2
# via
# -c requirements.txt
# jinja2
packaging==24.2
# via
# -c requirements.txt
# build
# pyproject-api
# pytest
# setuptools-scm
# sphinx
# tox
pep517==0.12.0
pip==24.3.1
# via pip-tools
pip-tools==6.6.0
pip-tools==7.4.1
# via -r dev-requirements.in
platformdirs==2.5.1
# via virtualenv
pluggy==1.0.0
platformdirs==4.3.6
# via
# pytest
# tox
py==1.11.0
# virtualenv
pluggy==1.5.0
# via
# pytest
# tox
pygments==2.11.2
# via sphinx
pyparsing==3.0.7
pygments==2.18.0
# via
# -c requirements.txt
# packaging
pytest==7.1.2
# sphinx
pyproject-api==1.8.0
# via tox
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
# via
# -r dev-requirements.in
# pytest-cov
pytest-cov==3.0.0
pytest-cov==6.0.0
# via -r dev-requirements.in
pytz==2022.1
# via
# -c requirements.txt
# babel
recommonmark==0.7.1
# via -r dev-requirements.in
requests==2.27.1
requests==2.32.3
# via
# -c requirements.txt
# sphinx
setuptools-scm==6.4.2
# via -r dev-requirements.in
six==1.16.0
setuptools==75.3.0
# via
# -c requirements.txt
# tox
# virtualenv
# -r dev-requirements.in
# pip-tools
# setuptools-scm
setuptools-scm==8.1.0
# via -r dev-requirements.in
snowballstemmer==2.2.0
# via sphinx
sphinx==4.5.0
sphinx==8.1.3
# via
# -r dev-requirements.in
# recommonmark
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
toml==0.10.2
# via tox
tomli==2.0.1
# via
# coverage
# pep517
# pytest
# setuptools-scm
tox==3.24.5
tox==4.23.2
# via -r dev-requirements.in
typing-extensions==4.1.1
# via
# -c requirements.txt
# importlib-metadata
urllib3==1.26.9
urllib3==2.2.3
# via
# -c requirements.txt
# requests
virtualenv==20.14.0
virtualenv==20.27.1
# via tox
wheel==0.37.1
wheel==0.45.0
# via
# -c requirements.txt
# -r dev-requirements.in
# pip-tools
zipp==3.8.0
# via
# -c requirements.txt
# importlib-metadata
# pep517

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
8 changes: 7 additions & 1 deletion notes/pip-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ OR

* pip install pre-commit

* pre-commit install
* pre-commit install

## uv

* pip install uv
* uv pip compile setup.cfg -o requirements.txt --universal
* uv pip compile dev-requirements.in -o dev-requirements.txt --universal
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5", "wheel"]
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
# See configuration details in https://github.com/pypa/setuptools_scm
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
Loading
Loading