nci-cidc-api-modules 1.2.45__py3-none-any.whl → 1.2.47__py3-none-any.whl
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.
- boot.py +14 -0
- cidc_api/__init__.py +1 -1
- cidc_api/config/settings.py +3 -10
- {nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/METADATA +12 -11
- {nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/RECORD +8 -7
- {nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/top_level.txt +1 -0
- {nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/WHEEL +0 -0
- {nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/licenses/LICENSE +0 -0
boot.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from os import mkdir, path
|
|
2
|
+
import shutil
|
|
3
|
+
|
|
4
|
+
TEMPLATES_DIR = path.join("/tmp", "templates")
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# set up the directories for holding generated templates
|
|
8
|
+
def set_up_templates_directories():
|
|
9
|
+
if path.exists(TEMPLATES_DIR):
|
|
10
|
+
shutil.rmtree(TEMPLATES_DIR)
|
|
11
|
+
mkdir(TEMPLATES_DIR)
|
|
12
|
+
for family in ["assays", "manifests", "analyses"]:
|
|
13
|
+
family_dir = path.join(TEMPLATES_DIR, family)
|
|
14
|
+
mkdir(family_dir)
|
cidc_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.47"
|
cidc_api/config/settings.py
CHANGED
|
@@ -5,11 +5,11 @@ Any 'UPPER_CASE' variables will be exported as a key-value pair
|
|
|
5
5
|
in the `SETTINGS` dictionary defined at the bottom of this file.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
import
|
|
9
|
-
from os import environ, path, mkdir
|
|
8
|
+
from os import environ, path
|
|
10
9
|
|
|
11
10
|
from dotenv import load_dotenv
|
|
12
11
|
|
|
12
|
+
from boot import TEMPLATES_DIR as templates_dir
|
|
13
13
|
from .db import get_sqlalchemy_database_uri, cloud_connector
|
|
14
14
|
from .secrets import get_secrets_manager
|
|
15
15
|
|
|
@@ -36,14 +36,7 @@ PAGINATION_PAGE_SIZE = 25
|
|
|
36
36
|
MAX_PAGINATION_PAGE_SIZE = 200
|
|
37
37
|
INACTIVE_USER_DAYS = 60
|
|
38
38
|
MAX_THREADPOOL_WORKERS = 32
|
|
39
|
-
TEMPLATES_DIR =
|
|
40
|
-
# Also, set up the directories for holding generated templates
|
|
41
|
-
if path.exists(TEMPLATES_DIR):
|
|
42
|
-
shutil.rmtree(TEMPLATES_DIR)
|
|
43
|
-
mkdir(TEMPLATES_DIR)
|
|
44
|
-
for family in ["assays", "manifests", "analyses"]:
|
|
45
|
-
family_dir = path.join(TEMPLATES_DIR, family)
|
|
46
|
-
mkdir(family_dir)
|
|
39
|
+
TEMPLATES_DIR = templates_dir
|
|
47
40
|
|
|
48
41
|
### Configure prism encrypt ###
|
|
49
42
|
if not TESTING:
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nci_cidc_api_modules
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.47
|
|
4
4
|
Summary: SQLAlchemy data models and configuration tools used in the NCI CIDC API
|
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-api-gae
|
|
6
6
|
License: MIT license
|
|
7
7
|
Requires-Python: >=3.13
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
|
-
Requires-Dist:
|
|
11
|
-
Requires-Dist:
|
|
10
|
+
Requires-Dist: cachetools>=6.2.4
|
|
11
|
+
Requires-Dist: certifi>=2026.1.4
|
|
12
|
+
Requires-Dist: cloud-sql-python-connector[pg8000]>=1.20.0
|
|
12
13
|
Requires-Dist: flask>=3.1.2
|
|
13
14
|
Requires-Dist: flask-migrate>=4.1.0
|
|
14
15
|
Requires-Dist: flask-sqlalchemy>=3.1.1
|
|
15
16
|
Requires-Dist: flask-talisman>=0.7.0
|
|
16
17
|
Requires-Dist: gcloud-aio-storage~=9.6.1
|
|
17
|
-
Requires-Dist: google-
|
|
18
|
-
Requires-Dist: google-
|
|
19
|
-
Requires-Dist: google-cloud-bigquery>=3.
|
|
18
|
+
Requires-Dist: google-api-python-client>=2.188.0
|
|
19
|
+
Requires-Dist: google-auth==2.47.0
|
|
20
|
+
Requires-Dist: google-cloud-bigquery>=3.40.0
|
|
20
21
|
Requires-Dist: google-cloud-pubsub>=2.34.0
|
|
21
22
|
Requires-Dist: google-cloud-secret-manager>=2.26.0
|
|
22
|
-
Requires-Dist: google-cloud-storage>=3.
|
|
23
|
+
Requires-Dist: google-cloud-storage>=3.8.0
|
|
23
24
|
Requires-Dist: jinja2>=3.1.6
|
|
24
|
-
Requires-Dist: joserfc>=1.6.
|
|
25
|
-
Requires-Dist: marshmallow>=4.
|
|
25
|
+
Requires-Dist: joserfc>=1.6.1
|
|
26
|
+
Requires-Dist: marshmallow>=4.2.0
|
|
26
27
|
Requires-Dist: marshmallow-sqlalchemy>=1.4.2
|
|
27
|
-
Requires-Dist: numpy>=2.4.
|
|
28
|
+
Requires-Dist: numpy>=2.4.1
|
|
28
29
|
Requires-Dist: packaging>=25.0
|
|
29
30
|
Requires-Dist: pandas>=2.3.3
|
|
30
31
|
Requires-Dist: pyarrow>=22.0.0
|
|
@@ -33,7 +34,7 @@ Requires-Dist: python-dotenv>=1.2.1
|
|
|
33
34
|
Requires-Dist: requests>=2.32.5
|
|
34
35
|
Requires-Dist: sqlalchemy>=2.0.45
|
|
35
36
|
Requires-Dist: sqlalchemy-mixins~=2.0.5
|
|
36
|
-
Requires-Dist: werkzeug>=3.1.
|
|
37
|
+
Requires-Dist: werkzeug>=3.1.5
|
|
37
38
|
Requires-Dist: opentelemetry-api>=1.39.1
|
|
38
39
|
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.39.1
|
|
39
40
|
Requires-Dist: opentelemetry-sdk>=1.39.1
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
boot.py,sha256=oS_16OgU34iDxyFNpJl5rb5KbfbsCXroUCNLwVPxPNg,416
|
|
2
|
+
cidc_api/__init__.py,sha256=o2NRe9gScRz1I1oB_R5MjkQ4w7BrDovQP2Z_Mq2c6bo,23
|
|
2
3
|
cidc_api/telemetry.py,sha256=LuZWkG8CKCn23O41RTNxEOQwMmfpp-fQ6zSInZhVJg8,3333
|
|
3
4
|
cidc_api/config/__init__.py,sha256=5mX8GAPxUKV84iS-aGOoE-4m68LsOCGCDptXNdlgvj0,148
|
|
4
5
|
cidc_api/config/db.py,sha256=mEz8ugjvRNGylCqDYHaaMqaZfDh7sbd76BowmfBvq5c,2428
|
|
5
6
|
cidc_api/config/logging.py,sha256=abhVYtn8lfhIt0tyV2WHFgSmp_s2eeJh7kodB6LH4J0,1149
|
|
6
7
|
cidc_api/config/secrets.py,sha256=jRFj7W43pWuPf9DZQLCKF7WPXf5cUv-BAaS3ASqhV_Q,1481
|
|
7
|
-
cidc_api/config/settings.py,sha256=
|
|
8
|
+
cidc_api/config/settings.py,sha256=loern8cejUrOJJAog4z0iW9EQaa0nlN0rFrFOdZ-cLE,4483
|
|
8
9
|
cidc_api/models/__init__.py,sha256=bl445G8Zic9YbhZ8ZBni07wtBMhLJRMBA-JqjLxx2bw,66
|
|
9
10
|
cidc_api/models/data.py,sha256=TyVXk5jJO1NN05CLqejLf5BPp6yLSNNxPmFOgXUnA1M,1313
|
|
10
11
|
cidc_api/models/migrations.py,sha256=UlS5How3J4ryaRuZT6F5VQtAKikkl0LTv9MgMO_ltiQ,11161
|
|
@@ -158,8 +159,8 @@ cidc_api/shared/gcloud_client.py,sha256=0B13MRF_CUMbzaKtKVDd9fxErNdNGBpxfkknQ5de
|
|
|
158
159
|
cidc_api/shared/jose.py,sha256=-qzGzEDAlokEp9E7WtBtQkXyyfPWTYXlwYpCqVJWmqM,1830
|
|
159
160
|
cidc_api/shared/rest_utils.py,sha256=RwR30WOUAYCxL7V-i2totEyeriG30GbBDvBcpLXhM9w,6594
|
|
160
161
|
cidc_api/shared/utils.py,sha256=-gLnzxCR9E6h0plt2xrNisUG5_Y6GhhVwz3DgDIzpvs,367
|
|
161
|
-
nci_cidc_api_modules-1.2.
|
|
162
|
-
nci_cidc_api_modules-1.2.
|
|
163
|
-
nci_cidc_api_modules-1.2.
|
|
164
|
-
nci_cidc_api_modules-1.2.
|
|
165
|
-
nci_cidc_api_modules-1.2.
|
|
162
|
+
nci_cidc_api_modules-1.2.47.dist-info/licenses/LICENSE,sha256=pNYWVTHaYonnmJyplmeAp7tQAjosmDpAWjb34jjv7Xs,1102
|
|
163
|
+
nci_cidc_api_modules-1.2.47.dist-info/METADATA,sha256=2GR9tzPJORuLkzLcHZpy7HkgivsLyAofjWWQbaKDkBk,40301
|
|
164
|
+
nci_cidc_api_modules-1.2.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
165
|
+
nci_cidc_api_modules-1.2.47.dist-info/top_level.txt,sha256=BSJqF6ura8-bWCKZvarvQEKvidMM05lH0bLQsNOrI0o,14
|
|
166
|
+
nci_cidc_api_modules-1.2.47.dist-info/RECORD,,
|
|
File without changes
|
{nci_cidc_api_modules-1.2.45.dist-info → nci_cidc_api_modules-1.2.47.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|