-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: target standalone server rather than Lambda
- Loading branch information
Showing
18 changed files
with
344 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# .env for non-sensitive variables | ||
TRD_REDCAP_URL= | ||
TRD_MAILGUN_DOMAIN= | ||
TRD_MAILGUN_USERNAME= | ||
|
||
TRD_MAILTO_ADDRESS= | ||
TRD_LOG_DIR= | ||
TRD_LOG_LEVEL= | ||
|
||
# .env.local for secrets | ||
TRD_REDCAP_TOKEN= | ||
TRD_MAILGUN_SECRET= | ||
# Playground purposes only | ||
TRD_REDCAP_RESEARCHER_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
click==8.1.7 | ||
pycap==2.6.0 | ||
requests==2.32.3 | ||
typing_extensions==4.12.2 | ||
typing_extensions==4.12.2 | ||
setuptools==75.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name="trd-cli", | ||
version="0.1.0", | ||
description="Treatment Resistant Depression Database Command Line Interface", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
author="Matt Jaquiery", | ||
author_email="[email protected]", | ||
url="https://github.com/OxfordRSE/trd-cli", | ||
packages=find_packages(), | ||
include_package_data=True, | ||
install_requires=[ | ||
"click", | ||
"requests", | ||
"pandas", | ||
"pytest", | ||
"pytest-cov", | ||
"codecov", | ||
], | ||
entry_points={ | ||
"console_scripts": [ | ||
"trd-cli=trd_cli.main:cli", | ||
], | ||
}, | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=3.11", | ||
) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.