edc-vitals 0.1.11__tar.gz → 0.1.13__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.11 → edc-vitals-0.1.13}/.github/workflows/build.yml +2 -5
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/.pre-commit-config.yaml +4 -4
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/MANIFEST.in +1 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/PKG-INFO +3 -4
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals.egg-info/PKG-INFO +3 -4
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/pyproject.toml +5 -10
- edc-vitals-0.1.13/runtests.py +68 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/setup.cfg +2 -3
- edc-vitals-0.1.11/runtests.py +0 -47
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/.coveragerc +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/.editorconfig +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/.gitignore +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/.yamllint +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/AUTHORS +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/CHANGES +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/LICENSE +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/README.rst +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/codecov.yml +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/apps.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/form_validators/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/form_validators/blood_pressure_form_validator_mixin.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/form_validators/weight_height_bmi_form_validator_mixin.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/migrations/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/model_mixins/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/model_mixins/blood_pressure_model_mixin.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/model_mixins/weight_height_bmi_model_mixin.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/blood_pressure.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/heart_rate.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/height.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/respiratory_rate.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/temperature.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/waist_circumference.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/models/fields/weight.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-aes-local.key +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-aes-restricted.key +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-rsa-local-private.pem +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-rsa-local-public.pem +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-rsa-restricted-private.pem +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-rsa-restricted-public.pem +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-salt-local.key +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/etc/user-salt-restricted.key +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/models.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/__init__.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/test_blood_pressure.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/test_heart_rate.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/test_respiratory_rate.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/test_temperature.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/tests/test_weight_height_bmi.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/tests/urls.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/utils.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/validators.py +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals.egg-info/SOURCES.txt +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals.egg-info/dependency_links.txt +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals.egg-info/not-zip-safe +0 -0
- {edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals.egg-info/top_level.txt +0 -0
@@ -11,11 +11,8 @@ jobs:
|
|
11
11
|
strategy:
|
12
12
|
fail-fast: false
|
13
13
|
matrix:
|
14
|
-
python-version: ['3.
|
15
|
-
django-version: ['4.
|
16
|
-
exclude:
|
17
|
-
- python-version: '3.10'
|
18
|
-
django-version: 'dev'
|
14
|
+
python-version: ['3.11']
|
15
|
+
django-version: ['4.2', 'dev']
|
19
16
|
services:
|
20
17
|
mysql:
|
21
18
|
image: mysql:latest
|
@@ -10,13 +10,13 @@ repos:
|
|
10
10
|
- "-x *test*.py"
|
11
11
|
|
12
12
|
- repo: https://github.com/psf/black
|
13
|
-
rev: 23.
|
13
|
+
rev: 23.9.1
|
14
14
|
hooks:
|
15
15
|
- id: black
|
16
|
-
language_version: python3.
|
16
|
+
language_version: python3.11
|
17
17
|
|
18
18
|
- repo: https://github.com/pycqa/flake8
|
19
|
-
rev: 6.
|
19
|
+
rev: 6.1.0
|
20
20
|
hooks:
|
21
21
|
- id: flake8
|
22
22
|
args:
|
@@ -42,7 +42,7 @@ repos:
|
|
42
42
|
- id: detect-private-key
|
43
43
|
|
44
44
|
- repo: https://github.com/adrienverge/yamllint
|
45
|
-
rev: v1.
|
45
|
+
rev: v1.32.0
|
46
46
|
hooks:
|
47
47
|
- id: yamllint
|
48
48
|
args:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.13
|
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,14 +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 :: 4.
|
12
|
+
Classifier: Framework :: Django :: 4.2
|
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.10
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
18
17
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
19
|
-
Requires-Python: >=3.
|
18
|
+
Requires-Python: >=3.11
|
20
19
|
Description-Content-Type: text/x-rst
|
21
20
|
License-File: LICENSE
|
22
21
|
License-File: AUTHORS
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: edc-vitals
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.13
|
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,14 +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 :: 4.
|
12
|
+
Classifier: Framework :: Django :: 4.2
|
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.10
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
18
17
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
19
|
-
Requires-Python: >=3.
|
18
|
+
Requires-Python: >=3.11
|
20
19
|
Description-Content-Type: text/x-rst
|
21
20
|
License-File: LICENSE
|
22
21
|
License-File: AUTHORS
|
@@ -1,18 +1,17 @@
|
|
1
1
|
[build-system]
|
2
|
-
requires = ["setuptools>=
|
3
|
-
build-backend = "setuptools.build_meta"
|
2
|
+
requires = ["setuptools>=60", "setuptools-scm>=8.0"]
|
4
3
|
|
5
4
|
[tool.setuptools_scm]
|
6
|
-
|
5
|
+
version_file="_version.py"
|
7
6
|
|
8
7
|
[tool.black]
|
9
8
|
line-length = 95
|
10
|
-
target-version = ["
|
9
|
+
target-version = ["py311"]
|
11
10
|
extend-exclude = '''^(.*\/)*\b(migrations)\b($|\/.*$)'''
|
12
11
|
|
13
12
|
[tool.isort]
|
14
13
|
profile = "black"
|
15
|
-
py_version = "
|
14
|
+
py_version = "311"
|
16
15
|
skip = [".tox", ".eggs", "migrations"]
|
17
16
|
|
18
17
|
[tool.coverage.run]
|
@@ -36,20 +35,17 @@ exclude_lines = [
|
|
36
35
|
legacy_tox_ini = """
|
37
36
|
[tox]
|
38
37
|
envlist =
|
39
|
-
py{
|
40
|
-
py{311}-dj{41,42,dev},
|
38
|
+
py{311}-dj{42,dev},
|
41
39
|
lint
|
42
40
|
|
43
41
|
isolated_build = true
|
44
42
|
|
45
43
|
[gh-actions]
|
46
44
|
python =
|
47
|
-
3.10: py310
|
48
45
|
3.11: py311, lint
|
49
46
|
|
50
47
|
[gh-actions:env]
|
51
48
|
DJANGO =
|
52
|
-
4.1: dj41
|
53
49
|
4.2: dj42, lint
|
54
50
|
dev: djdev
|
55
51
|
|
@@ -59,7 +55,6 @@ deps =
|
|
59
55
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/test_utils.txt
|
60
56
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/edc.txt
|
61
57
|
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/third_party_dev.txt
|
62
|
-
dj41: Django>=4.1,<4.2
|
63
58
|
dj42: Django>=4.2,<5.0
|
64
59
|
djdev: https://github.com/django/django/tarball/main
|
65
60
|
|
@@ -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,16 +12,15 @@ keywords = django edc vitals, clinicedc, clinical trials
|
|
12
12
|
classifiers =
|
13
13
|
Environment :: Web Environment
|
14
14
|
Framework :: Django
|
15
|
-
Framework :: Django :: 4.
|
15
|
+
Framework :: Django :: 4.2
|
16
16
|
Intended Audience :: Developers
|
17
17
|
Intended Audience :: Science/Research
|
18
18
|
Operating System :: OS Independent
|
19
|
-
Programming Language :: Python :: 3.10
|
20
19
|
Programming Language :: Python :: 3.11
|
21
20
|
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
22
21
|
|
23
22
|
[options]
|
24
|
-
python_requires = >=3.
|
23
|
+
python_requires = >=3.11
|
25
24
|
zip_safe = False
|
26
25
|
include_package_data = True
|
27
26
|
packages = find:
|
edc-vitals-0.1.11/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
|
File without changes
|
{edc-vitals-0.1.11 → edc-vitals-0.1.13}/edc_vitals/model_mixins/blood_pressure_model_mixin.py
RENAMED
File without changes
|
{edc-vitals-0.1.11 → edc-vitals-0.1.13}/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.11 → edc-vitals-0.1.13}/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
|