hdn-research-environment
A Django app for supporting cloud-native research environments
Deployment configuration
The host Django project supplies the site's branding and cloud identity domain:
SITE_NAMEsupplies the name shown in billing instructions (and existing emails).SUPPORT_EMAIL, if set, supplies support links and error messages. OtherwiseCONTACT_EMAIL, thenDEFAULT_FROM_EMAIL, is used. Display-name addresses such asPhysioNet Support <help@physionet.org>are accepted; links use the bare email.CLOUD_RESEARCH_ENVIRONMENTS_ORGANIZATION_DOMAINoptionally overrides the domain used by the collaborator forms, for examplephysionet.org. When unset or empty, it is derived from the signed-in user's cloud identity email, not their login email or the site's hostname. Without either source, the forms use ordinary email validation; server-side collaborator access checks still apply.
These are Django settings, not environment variables read by this package. No additional context processor is required. The owner is identified by their full cloud identity email and is excluded from collaborator removal controls.
Regression tests
The Python tests run in a configured PhysioNet Django host with this checkout on
PYTHONPATH and cloud research environments enabled. Use a dedicated test
database (not the host's development database):
python manage.py test environment.tests.test_deployment_config environment.tests.test_services.CreateCloudIdentityTestCase --settings=<host_test_settings>
The collaborator submit handlers also have dependency-free tests using Node.js 18 or newer:
node --test environment/tests/test_collaborator_domains.cjs
Publishing a new version
Create the package:
python setup.py sdist
Publish the package:
python -m twine upload dist/*
Metadata
Release files for hdn-research-environment 3.2.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hdn_research_environment-3.2.26.tar.gz | 145.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hdn_research_environment-3.2.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 337.6 kB
Release files / hdn_research_environment-3.2.26.tar.gz
| Download URL | hdn_research_environment-3.2.26.tar.gz |
|---|---|
| Size | 145.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3572beff63043e2969ff6e13d6d87c845cf581273b955dc76105c053297f5f26
|
|
BLAKE2b-256 checksum How to use checksums |
d1fa844db6600291c90ffcad3d69a5cb9146d86057e1fc803bf3796186b3b727
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / hdn_research_environment-3.2.26-py3-none-any.whl
| Download URL | hdn_research_environment-3.2.26-py3-none-any.whl |
|---|---|
| Size | 192.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
976dffd7858a6cb88b1ba0d1bbe8070492b05c68016216bc49f52d65c8b855cf
|
|
BLAKE2b-256 checksum How to use checksums |
eb4de68d8dbb370a362df4dd7f6b631f283e0d15ace417eaff812eae46c13421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|