edc-vitals 0.1.12__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.github/workflows/build.yml +20 -7
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.pre-commit-config.yaml +14 -11
- edc_vitals-0.1.14/AUTHORS +1 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/PKG-INFO +6 -6
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/README.rst +2 -2
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals.egg-info/PKG-INFO +6 -6
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/pyproject.toml +25 -10
- edc_vitals-0.1.14/runtests.py +68 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/setup.cfg +3 -3
- edc-vitals-0.1.12/AUTHORS +0 -1
- edc-vitals-0.1.12/runtests.py +0 -47
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.coveragerc +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.editorconfig +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.gitignore +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/.yamllint +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/CHANGES +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/LICENSE +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/MANIFEST.in +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/codecov.yml +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/apps.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/form_validators/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/form_validators/blood_pressure_form_validator_mixin.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/form_validators/weight_height_bmi_form_validator_mixin.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/migrations/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/model_mixins/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/model_mixins/blood_pressure_model_mixin.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/model_mixins/weight_height_bmi_model_mixin.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/blood_pressure.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/heart_rate.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/height.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/respiratory_rate.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/temperature.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/waist_circumference.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/models/fields/weight.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-aes-local.key +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-aes-restricted.key +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-rsa-local-private.pem +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-rsa-local-public.pem +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-rsa-restricted-private.pem +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-rsa-restricted-public.pem +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-salt-local.key +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-salt-restricted.key +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/models.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/__init__.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/test_blood_pressure.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/test_heart_rate.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/test_respiratory_rate.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/test_temperature.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/tests/test_weight_height_bmi.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/urls.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/utils.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/validators.py +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals.egg-info/SOURCES.txt +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals.egg-info/dependency_links.txt +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals.egg-info/not-zip-safe +0 -0
- {edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals.egg-info/top_level.txt +0 -0
@@ -5,14 +5,17 @@ on: [push, pull_request]
|
|
5
5
|
|
6
6
|
jobs:
|
7
7
|
build:
|
8
|
-
name:
|
8
|
+
name: |
|
9
|
+
build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}, ${{ matrix.database-engine }})
|
9
10
|
runs-on: ubuntu-latest
|
10
11
|
|
11
12
|
strategy:
|
12
13
|
fail-fast: false
|
13
14
|
matrix:
|
14
|
-
python-version: ['3.
|
15
|
-
django-version: ['
|
15
|
+
python-version: ['3.12', '3.13']
|
16
|
+
django-version: ['5.1', 'dev']
|
17
|
+
database-engine: ["mysql", "postgres"]
|
18
|
+
|
16
19
|
services:
|
17
20
|
mysql:
|
18
21
|
image: mysql:latest
|
@@ -22,6 +25,17 @@ jobs:
|
|
22
25
|
ports:
|
23
26
|
- 3306:3306
|
24
27
|
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
28
|
+
postgres:
|
29
|
+
image: postgres:latest
|
30
|
+
env:
|
31
|
+
POSTGRES_PASSWORD: postgres
|
32
|
+
options: >-
|
33
|
+
--health-cmd pg_isready
|
34
|
+
--health-interval 10s
|
35
|
+
--health-timeout 5s
|
36
|
+
--health-retries 5
|
37
|
+
ports:
|
38
|
+
- 5432:5432
|
25
39
|
|
26
40
|
steps:
|
27
41
|
- name: Install pycups and words dependency
|
@@ -30,9 +44,9 @@ jobs:
|
|
30
44
|
sudo apt-get -y update
|
31
45
|
sudo apt-get install libcups2-dev wamerican
|
32
46
|
|
33
|
-
- uses: actions/checkout@
|
47
|
+
- uses: actions/checkout@v4
|
34
48
|
- name: Set up Python ${{ matrix.python-version }}
|
35
|
-
uses: actions/setup-python@
|
49
|
+
uses: actions/setup-python@v5
|
36
50
|
with:
|
37
51
|
python-version: ${{ matrix.python-version }}
|
38
52
|
|
@@ -42,7 +56,7 @@ jobs:
|
|
42
56
|
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
|
43
57
|
|
44
58
|
- name: Cache
|
45
|
-
uses: actions/cache@
|
59
|
+
uses: actions/cache@v4
|
46
60
|
with:
|
47
61
|
path: ${{ steps.pip-cache.outputs.dir }}
|
48
62
|
key:
|
@@ -55,7 +69,6 @@ jobs:
|
|
55
69
|
python -m pip install --upgrade pip
|
56
70
|
python -m pip install -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/tox.txt
|
57
71
|
|
58
|
-
|
59
72
|
- name: Tox tests
|
60
73
|
run: |
|
61
74
|
tox -v
|
@@ -3,46 +3,49 @@ exclude: tests/etc/user-*
|
|
3
3
|
|
4
4
|
repos:
|
5
5
|
- repo: https://github.com/PyCQA/bandit
|
6
|
-
rev: 1.7.
|
6
|
+
rev: 1.7.10
|
7
7
|
hooks:
|
8
8
|
- id: bandit
|
9
9
|
args:
|
10
10
|
- "-x *test*.py"
|
11
11
|
|
12
12
|
- repo: https://github.com/psf/black
|
13
|
-
rev:
|
13
|
+
rev: 24.10.0
|
14
14
|
hooks:
|
15
15
|
- id: black
|
16
|
-
language_version: python3.
|
16
|
+
language_version: python3.12
|
17
17
|
|
18
18
|
- repo: https://github.com/pycqa/flake8
|
19
|
-
rev:
|
19
|
+
rev: 7.1.1
|
20
20
|
hooks:
|
21
21
|
- id: flake8
|
22
22
|
args:
|
23
23
|
- "--config=setup.cfg"
|
24
24
|
|
25
25
|
- repo: https://github.com/PyCQA/isort
|
26
|
-
rev: 5.
|
26
|
+
rev: 5.13.2
|
27
27
|
hooks:
|
28
28
|
- id: isort
|
29
29
|
|
30
30
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
31
|
-
rev:
|
31
|
+
rev: v5.0.0
|
32
32
|
hooks:
|
33
|
-
- id: requirements-txt-fixer
|
34
|
-
files: requirements/.*\.txt$
|
35
|
-
- id: trailing-whitespace
|
36
33
|
- id: check-added-large-files
|
37
|
-
- id: fix-byte-order-marker
|
38
34
|
- id: check-docstring-first
|
39
35
|
- id: check-executables-have-shebangs
|
40
36
|
- id: check-merge-conflict
|
37
|
+
- id: check-toml
|
38
|
+
- id: check-yaml
|
41
39
|
- id: debug-statements
|
42
40
|
- id: detect-private-key
|
41
|
+
- id: end-of-file-fixer
|
42
|
+
- id: fix-byte-order-marker
|
43
|
+
- id: requirements-txt-fixer
|
44
|
+
files: requirements/.*\.txt$
|
45
|
+
- id: trailing-whitespace
|
43
46
|
|
44
47
|
- repo: https://github.com/adrienverge/yamllint
|
45
|
-
rev: v1.
|
48
|
+
rev: v1.35.1
|
46
49
|
hooks:
|
47
50
|
- id: yamllint
|
48
51
|
args:
|
@@ -0,0 +1 @@
|
|
1
|
+
Erik van Widenfelt <ew2789@gmail.com>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.14
|
4
4
|
Summary: Classes for BP, weight, etc for clinicedc/edc projects
|
5
5
|
Home-page: https://github.com/clinicedc/edc-vitals
|
6
6
|
Author: Erik van Widenfelt
|
@@ -9,13 +9,13 @@ License: GPL license, see LICENSE
|
|
9
9
|
Keywords: django edc vitals,clinicedc,clinical trials
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Framework :: Django
|
12
|
-
Classifier: Framework :: Django ::
|
12
|
+
Classifier: Framework :: Django :: 5.1
|
13
13
|
Classifier: Intended Audience :: Developers
|
14
14
|
Classifier: Intended Audience :: Science/Research
|
15
15
|
Classifier: Operating System :: OS Independent
|
16
|
-
Classifier: Programming Language :: Python :: 3.
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
17
17
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
18
|
-
Requires-Python: >=3.
|
18
|
+
Requires-Python: >=3.12
|
19
19
|
Description-Content-Type: text/x-rst
|
20
20
|
License-File: LICENSE
|
21
21
|
License-File: AUTHORS
|
@@ -45,8 +45,8 @@ Settings:
|
|
45
45
|
.. |pypi| image:: https://img.shields.io/pypi/v/edc-vitals.svg
|
46
46
|
:target: https://pypi.python.org/pypi/edc-vitals
|
47
47
|
|
48
|
-
.. |actions| image:: https://github.com/clinicedc/edc-vitals/workflows/build/badge.svg
|
49
|
-
:target: https://github.com/clinicedc/edc-vitals/actions
|
48
|
+
.. |actions| image:: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml/badge.svg
|
49
|
+
:target: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml
|
50
50
|
|
51
51
|
.. |codecov| image:: https://codecov.io/gh/clinicedc/edc-vitals/branch/develop/graph/badge.svg
|
52
52
|
:target: https://codecov.io/gh/clinicedc/edc-vitals
|
@@ -23,8 +23,8 @@ Settings:
|
|
23
23
|
.. |pypi| image:: https://img.shields.io/pypi/v/edc-vitals.svg
|
24
24
|
:target: https://pypi.python.org/pypi/edc-vitals
|
25
25
|
|
26
|
-
.. |actions| image:: https://github.com/clinicedc/edc-vitals/workflows/build/badge.svg
|
27
|
-
:target: https://github.com/clinicedc/edc-vitals/actions
|
26
|
+
.. |actions| image:: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml/badge.svg
|
27
|
+
:target: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml
|
28
28
|
|
29
29
|
.. |codecov| image:: https://codecov.io/gh/clinicedc/edc-vitals/branch/develop/graph/badge.svg
|
30
30
|
:target: https://codecov.io/gh/clinicedc/edc-vitals
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.14
|
4
4
|
Summary: Classes for BP, weight, etc for clinicedc/edc projects
|
5
5
|
Home-page: https://github.com/clinicedc/edc-vitals
|
6
6
|
Author: Erik van Widenfelt
|
@@ -9,13 +9,13 @@ License: GPL license, see LICENSE
|
|
9
9
|
Keywords: django edc vitals,clinicedc,clinical trials
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Framework :: Django
|
12
|
-
Classifier: Framework :: Django ::
|
12
|
+
Classifier: Framework :: Django :: 5.1
|
13
13
|
Classifier: Intended Audience :: Developers
|
14
14
|
Classifier: Intended Audience :: Science/Research
|
15
15
|
Classifier: Operating System :: OS Independent
|
16
|
-
Classifier: Programming Language :: Python :: 3.
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
17
17
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
18
|
-
Requires-Python: >=3.
|
18
|
+
Requires-Python: >=3.12
|
19
19
|
Description-Content-Type: text/x-rst
|
20
20
|
License-File: LICENSE
|
21
21
|
License-File: AUTHORS
|
@@ -45,8 +45,8 @@ Settings:
|
|
45
45
|
.. |pypi| image:: https://img.shields.io/pypi/v/edc-vitals.svg
|
46
46
|
:target: https://pypi.python.org/pypi/edc-vitals
|
47
47
|
|
48
|
-
.. |actions| image:: https://github.com/clinicedc/edc-vitals/workflows/build/badge.svg
|
49
|
-
:target: https://github.com/clinicedc/edc-vitals/actions
|
48
|
+
.. |actions| image:: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml/badge.svg
|
49
|
+
:target: https://github.com/clinicedc/edc-vitals/actions/workflows/build.yml
|
50
50
|
|
51
51
|
.. |codecov| image:: https://codecov.io/gh/clinicedc/edc-vitals/branch/develop/graph/badge.svg
|
52
52
|
:target: https://codecov.io/gh/clinicedc/edc-vitals
|
@@ -1,17 +1,18 @@
|
|
1
1
|
[build-system]
|
2
2
|
requires = ["setuptools>=60", "setuptools-scm>=8.0"]
|
3
|
+
build-backend = "setuptools.build_meta"
|
3
4
|
|
4
5
|
[tool.setuptools_scm]
|
5
|
-
version_file="_version.py"
|
6
|
+
version_file = "_version.py"
|
6
7
|
|
7
8
|
[tool.black]
|
8
9
|
line-length = 95
|
9
|
-
target-version = ["
|
10
|
+
target-version = ["py312"]
|
10
11
|
extend-exclude = '''^(.*\/)*\b(migrations)\b($|\/.*$)'''
|
11
12
|
|
12
13
|
[tool.isort]
|
13
14
|
profile = "black"
|
14
|
-
py_version = "
|
15
|
+
py_version = "312"
|
15
16
|
skip = [".tox", ".eggs", "migrations"]
|
16
17
|
|
17
18
|
[tool.coverage.run]
|
@@ -35,31 +36,33 @@ exclude_lines = [
|
|
35
36
|
legacy_tox_ini = """
|
36
37
|
[tox]
|
37
38
|
envlist =
|
38
|
-
py{
|
39
|
+
py{312,313}-dj{51,dev},
|
39
40
|
lint
|
41
|
+
pre-commit
|
40
42
|
|
41
43
|
isolated_build = true
|
42
44
|
|
43
45
|
[gh-actions]
|
44
46
|
python =
|
45
|
-
3.
|
47
|
+
3.12: py312, lint, pre-commit
|
48
|
+
3.13: py313
|
46
49
|
|
47
50
|
[gh-actions:env]
|
48
51
|
DJANGO =
|
49
|
-
|
50
|
-
dev: djdev
|
52
|
+
5.1: dj51
|
53
|
+
dev: djdev, lint, pre-commit
|
51
54
|
|
52
55
|
[testenv]
|
53
56
|
deps =
|
54
57
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/tox.txt
|
55
58
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/test_utils.txt
|
56
59
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/edc.txt
|
57
|
-
|
58
|
-
dj42: Django>=4.2,<5.0
|
60
|
+
dj51: Django>=5.1,<5.2
|
59
61
|
djdev: https://github.com/django/django/tarball/main
|
60
62
|
|
61
63
|
commands =
|
62
|
-
pip install -U pip
|
64
|
+
pip install -U pip
|
65
|
+
python --version
|
63
66
|
pip --version
|
64
67
|
pip freeze
|
65
68
|
coverage run -a runtests.py
|
@@ -68,7 +71,19 @@ commands =
|
|
68
71
|
[testenv:lint]
|
69
72
|
deps = -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/lint.txt
|
70
73
|
commands =
|
74
|
+
python --version
|
75
|
+
pip --version
|
76
|
+
pip freeze
|
71
77
|
isort --profile=black --check --diff .
|
72
78
|
black --check --diff .
|
73
79
|
flake8 .
|
80
|
+
|
81
|
+
[testenv:pre-commit]
|
82
|
+
deps = pre-commit
|
83
|
+
commands =
|
84
|
+
python --version
|
85
|
+
pip --version
|
86
|
+
pip freeze
|
87
|
+
pre-commit autoupdate
|
88
|
+
pre-commit run --all-files
|
74
89
|
"""
|
@@ -0,0 +1,68 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
import logging
|
3
|
+
from pathlib import Path
|
4
|
+
|
5
|
+
from edc_test_utils import DefaultTestSettings, func_main
|
6
|
+
|
7
|
+
app_name = "edc_vitals"
|
8
|
+
base_dir = Path(__file__).absolute().parent
|
9
|
+
|
10
|
+
project_settings = DefaultTestSettings(
|
11
|
+
calling_file=__file__,
|
12
|
+
BASE_DIR=base_dir,
|
13
|
+
APP_NAME=app_name,
|
14
|
+
ETC_DIR=str(base_dir / app_name / "tests" / "etc"),
|
15
|
+
SILENCED_SYSTEM_CHECKS=[
|
16
|
+
"sites.E101",
|
17
|
+
"edc_navbar.E002",
|
18
|
+
"edc_navbar.E003",
|
19
|
+
"edc_consent.E001",
|
20
|
+
"edc_sites.E001",
|
21
|
+
"edc_sites.E002",
|
22
|
+
],
|
23
|
+
SUBJECT_VISIT_MODEL="edc_visit_tracking.subjectvisit",
|
24
|
+
INSTALLED_APPS=[
|
25
|
+
"django.contrib.admin",
|
26
|
+
"django.contrib.auth",
|
27
|
+
"django.contrib.contenttypes",
|
28
|
+
"django.contrib.sessions",
|
29
|
+
"django.contrib.messages",
|
30
|
+
"django.contrib.staticfiles",
|
31
|
+
"django.contrib.sites",
|
32
|
+
"django_crypto_fields.apps.AppConfig",
|
33
|
+
# "django_revision.apps.AppConfig",
|
34
|
+
"multisite",
|
35
|
+
"edc_action_item.apps.AppConfig",
|
36
|
+
"edc_appointment.apps.AppConfig",
|
37
|
+
"edc_auth.apps.AppConfig",
|
38
|
+
"edc_data_manager.apps.AppConfig",
|
39
|
+
"edc_device.apps.AppConfig",
|
40
|
+
"edc_facility.apps.AppConfig",
|
41
|
+
"edc_form_runners.apps.AppConfig",
|
42
|
+
"edc_identifier.apps.AppConfig",
|
43
|
+
"edc_lab.apps.AppConfig",
|
44
|
+
"edc_label.apps.AppConfig",
|
45
|
+
"edc_locator.apps.AppConfig",
|
46
|
+
"edc_metadata.apps.AppConfig",
|
47
|
+
"edc_notification.apps.AppConfig",
|
48
|
+
"edc_offstudy.apps.AppConfig",
|
49
|
+
"edc_registration.apps.AppConfig",
|
50
|
+
"edc_sites.apps.AppConfig",
|
51
|
+
"edc_timepoint.apps.AppConfig",
|
52
|
+
"edc_visit_schedule.apps.AppConfig",
|
53
|
+
"edc_visit_tracking.apps.AppConfig",
|
54
|
+
"edc_vitals.apps.AppConfig",
|
55
|
+
"edc_appconfig.apps.AppConfig",
|
56
|
+
],
|
57
|
+
use_test_urls=True,
|
58
|
+
add_dashboard_middleware=True,
|
59
|
+
).settings
|
60
|
+
|
61
|
+
|
62
|
+
def main():
|
63
|
+
func_main(project_settings, f"{app_name}.tests")
|
64
|
+
|
65
|
+
|
66
|
+
if __name__ == "__main__":
|
67
|
+
logging.basicConfig()
|
68
|
+
main()
|
@@ -12,15 +12,15 @@ keywords = django edc vitals, clinicedc, clinical trials
|
|
12
12
|
classifiers =
|
13
13
|
Environment :: Web Environment
|
14
14
|
Framework :: Django
|
15
|
-
Framework :: Django ::
|
15
|
+
Framework :: Django :: 5.1
|
16
16
|
Intended Audience :: Developers
|
17
17
|
Intended Audience :: Science/Research
|
18
18
|
Operating System :: OS Independent
|
19
|
-
Programming Language :: Python :: 3.
|
19
|
+
Programming Language :: Python :: 3.12
|
20
20
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
21
21
|
|
22
22
|
[options]
|
23
|
-
python_requires = >=3.
|
23
|
+
python_requires = >=3.12
|
24
24
|
zip_safe = False
|
25
25
|
include_package_data = True
|
26
26
|
packages = find:
|
edc-vitals-0.1.12/AUTHORS
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Erik van Widenfelt <ew2789@gmail.com>
|
edc-vitals-0.1.12/runtests.py
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
import logging
|
3
|
-
import os
|
4
|
-
import sys
|
5
|
-
from os.path import abspath, dirname
|
6
|
-
|
7
|
-
import django
|
8
|
-
from django.conf import settings
|
9
|
-
from django.test.runner import DiscoverRunner
|
10
|
-
from edc_test_utils import DefaultTestSettings
|
11
|
-
|
12
|
-
app_name = "edc_vitals"
|
13
|
-
base_dir = dirname(abspath(__file__))
|
14
|
-
|
15
|
-
DEFAULT_SETTINGS = DefaultTestSettings(
|
16
|
-
calling_file=__file__,
|
17
|
-
template_dirs=[os.path.join(base_dir, app_name, "tests", "templates")],
|
18
|
-
BASE_DIR=base_dir,
|
19
|
-
APP_NAME=app_name,
|
20
|
-
ETC_DIR=os.path.join(base_dir, app_name, "tests", "etc"),
|
21
|
-
INSTALLED_APPS=[
|
22
|
-
"django.contrib.admin",
|
23
|
-
"django.contrib.auth",
|
24
|
-
"django.contrib.contenttypes",
|
25
|
-
"django.contrib.sessions",
|
26
|
-
"django.contrib.messages",
|
27
|
-
"django.contrib.staticfiles",
|
28
|
-
"django.contrib.sites",
|
29
|
-
"edc_vitals.apps.AppConfig",
|
30
|
-
],
|
31
|
-
use_test_urls=True,
|
32
|
-
add_dashboard_middleware=True,
|
33
|
-
).settings
|
34
|
-
|
35
|
-
|
36
|
-
def main():
|
37
|
-
if not settings.configured:
|
38
|
-
settings.configure(**DEFAULT_SETTINGS)
|
39
|
-
django.setup()
|
40
|
-
tags = [t.split("=")[1] for t in sys.argv if t.startswith("--tag")]
|
41
|
-
failures = DiscoverRunner(failfast=False, tags=tags).run_tests([f"{app_name}.tests"])
|
42
|
-
sys.exit(failures)
|
43
|
-
|
44
|
-
|
45
|
-
if __name__ == "__main__":
|
46
|
-
logging.basicConfig()
|
47
|
-
main()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/model_mixins/blood_pressure_model_mixin.py
RENAMED
File without changes
|
{edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/model_mixins/weight_height_bmi_model_mixin.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{edc-vitals-0.1.12 → edc_vitals-0.1.14}/edc_vitals/tests/etc/user-rsa-restricted-private.pem
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|