VICC normalization routine for therapies
Project description
Therapy Normalization
Services and guidelines for normalizing drug (and non-drug therapy) terms
Developer instructions
Following are sections include instructions specifically for developers.
Installation
For a development install, we recommend using Pipenv. See the pipenv docs for direction on installing pipenv in your compute environment.
Once installed, from the project root dir, just run:
pipenv sync
Data files
For now, data files supporting the normalizers need to be obtained independently. See issue #7 for progress on updaters.
Init coding style tests
Code style is managed by flake8 and checked prior to commit.
We use pre-commit to run conformance tests.
This ensures:
- Check code style
- Check for added large files
- Detect AWS Credentials
- Detect Private Key
Before first commit run:
pre-commit install
Running unit tests
Running unit tests is as easy as pytest.
pipenv run pytest
Starting the therapy normalization service
From the project root, run the following:
uvicorn main:app --reload
Next, view the OpenAPI docs on your local machine:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file thera-py-0.2.1.tar.gz
.
File metadata
- Download URL: thera-py-0.2.1.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c93eacb81e2ba62a0b959319e13e28d76985846c79e269cf47a852ce861829e |
|
MD5 | 073139af8e389303570cb05a162f2c93 |
|
BLAKE2b-256 | 4331442c6a0b0431b16d27988863581f4d377937e5c8e96890bad1129a7fc6aa |
Provenance
File details
Details for the file thera_py-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: thera_py-0.2.1-py3-none-any.whl
- Upload date:
- Size: 42.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687260407155c17d532bbf45a92d7fbeb46bcd8b2d0663799569d7c181f16eea |
|
MD5 | 64b5c6ed6f0ac48b3d9c80741ac1b040 |
|
BLAKE2b-256 | e0175107114d4740e529b6bbd7b6d7c0a2ec86a0f3a07e3a9bab5d4490c08d4d |