|pypi| |actions| |codecov| |downloads|
EFFECT Edc
----------
|effect_logo|
The EFFECT Trial
Fluconazole plus flucytosine vs. fluconazole alone for cryptococcal antigen-positive patients identified through screening:
A phase III randomised controlled trial
(EFFECT - Efficacy of Flucytosine and Fluconazole as Early Cryptococcal Treatment)
https://www.isrctn.com/ISRCTN30579828
See also https://github.com/clinicedc/edc
|django|
Installation
------------
To setup and run a test server locally
You'll need mysql. Create the database
.. code-block:: bash
mysql -Bse 'create database effect character set utf8;'
Create a virtualenv, clone the main repo and checkout master
.. code-block:: bash
conda create -n edc python=3.12
conda activate edc
Clone the main repo and checkout master
.. code-block:: bash
mkdir ~/projects
cd projects
https://github.com/effect-trial/effect-edc.git
cd ~/projects/effect-edc
git checkout main
Copy the test environment file
.. code-block:: bash
cd ~/projects/effect-edc
git checkout main
cp .env.tests .env
Edit the environment file (.env) to include your mysql password in the ``DATABASE_URL``.
.. code-block:: bash
# look for and update this line
DATABASE_URL=mysql://user:password@127.0.0.1:3306/effect
Continue with the installation
.. code-block:: bash
cd ~/projects/effect-edc
git checkout main
pip install .
pip install -U -r requirements.txt
python manage.py migrate
python manage.py import_randomization_list
python manage.py import_holidays
Create a user and start up `runserver`
.. code-block:: bash
cd ~/projects/effect-edc
git checkout main
python manage.py createsuperuser
python manage.py runserver
Login::
http://localhost:8000
.. |effect_logo| image:: https://github.com/effect-trial/effect-edc/blob/develop/docs/effect_logo_sm.jpg
:target: https://github.com/effect-trial/effect-edc
.. |pypi| image:: https://img.shields.io/pypi/v/effect-edc.svg
:target: https://pypi.python.org/pypi/effect-edc
.. |actions| image:: https://github.com/effect-trial/effect-edc/actions/workflows/build.yml/badge.svg
:target: https://github.com/effect-trial/effect-edc/actions/workflows/build.yml
.. |codecov| image:: https://codecov.io/gh/effect-trial/effect-edc/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/effect-trial/effect-edc
.. |downloads| image:: https://pepy.tech/badge/effect-edc
:target: https://pepy.tech/project/effect-edc
.. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif
:target: http://www.djangoproject.com/
:alt: Made with Django
Raw data
{
"_id": null,
"home_page": "https://github.com/effect-trial/effect-edc",
"name": "effect-edc",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "django edc EFFECT EDC, clinicedc, clinical trials",
"author": "Erik van Widenfelt",
"author_email": "ew2789@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/85/24/c5d669d51898bb54b245e69d1fcf47960051c38386c79176d42a38a5782a/effect_edc-1.0.0.tar.gz",
"platform": null,
"description": "|pypi| |actions| |codecov| |downloads|\n\n\nEFFECT Edc\n----------\n\n|effect_logo|\n\nThe EFFECT Trial\n\nFluconazole plus flucytosine vs. fluconazole alone for cryptococcal antigen-positive patients identified through screening:\nA phase III randomised controlled trial\n\n(EFFECT - Efficacy of Flucytosine and Fluconazole as Early Cryptococcal Treatment)\n\nhttps://www.isrctn.com/ISRCTN30579828\n\nSee also https://github.com/clinicedc/edc\n\n|django|\n\nInstallation\n------------\n\nTo setup and run a test server locally\n\nYou'll need mysql. Create the database\n\n.. code-block:: bash\n\n mysql -Bse 'create database effect character set utf8;'\n\n\nCreate a virtualenv, clone the main repo and checkout master\n\n.. code-block:: bash\n\n conda create -n edc python=3.12\n conda activate edc\n\n\nClone the main repo and checkout master\n\n.. code-block:: bash\n\n mkdir ~/projects\n cd projects\n https://github.com/effect-trial/effect-edc.git\n cd ~/projects/effect-edc\n git checkout main\n\n\nCopy the test environment file\n\n.. code-block:: bash\n\n cd ~/projects/effect-edc\n git checkout main\n cp .env.tests .env\n\n\nEdit the environment file (.env) to include your mysql password in the ``DATABASE_URL``.\n\n.. code-block:: bash\n\n # look for and update this line\n DATABASE_URL=mysql://user:password@127.0.0.1:3306/effect\n\n\nContinue with the installation\n\n.. code-block:: bash\n\n cd ~/projects/effect-edc\n git checkout main\n pip install .\n pip install -U -r requirements.txt\n python manage.py migrate\n python manage.py import_randomization_list\n python manage.py import_holidays\n\n\nCreate a user and start up `runserver`\n\n.. code-block:: bash\n\n cd ~/projects/effect-edc\n git checkout main\n python manage.py createsuperuser\n python manage.py runserver\n\n\nLogin::\n\n http://localhost:8000\n\n.. |effect_logo| image:: https://github.com/effect-trial/effect-edc/blob/develop/docs/effect_logo_sm.jpg\n :target: https://github.com/effect-trial/effect-edc\n\n.. |pypi| image:: https://img.shields.io/pypi/v/effect-edc.svg\n :target: https://pypi.python.org/pypi/effect-edc\n\n.. |actions| image:: https://github.com/effect-trial/effect-edc/actions/workflows/build.yml/badge.svg\n :target: https://github.com/effect-trial/effect-edc/actions/workflows/build.yml\n\n.. |codecov| image:: https://codecov.io/gh/effect-trial/effect-edc/branch/develop/graph/badge.svg\n :target: https://codecov.io/gh/effect-trial/effect-edc\n\n.. |downloads| image:: https://pepy.tech/badge/effect-edc\n :target: https://pepy.tech/project/effect-edc\n\n.. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif\n :target: http://www.djangoproject.com/\n :alt: Made with Django\n",
"bugtrack_url": null,
"license": "GPL license, see LICENSE",
"summary": "EFFECT Trial EDC (https://www.isrctn.com/ISRCTN30579828)",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/effect-trial/effect-edc"
},
"split_keywords": [
"django edc effect edc",
" clinicedc",
" clinical trials"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b38063024f9e6539fab89927be8c66709abb5134fcde638e100166a7b99966fb",
"md5": "d1dc4f95ea03759f1f0ed2e58bf2da9e",
"sha256": "f632d460deea7a378281aeb72b6b7f91a27c94e83392f473d19d679a0a8a9e33"
},
"downloads": -1,
"filename": "effect_edc-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d1dc4f95ea03759f1f0ed2e58bf2da9e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 607185,
"upload_time": "2025-01-29T13:40:32",
"upload_time_iso_8601": "2025-01-29T13:40:32.732584Z",
"url": "https://files.pythonhosted.org/packages/b3/80/63024f9e6539fab89927be8c66709abb5134fcde638e100166a7b99966fb/effect_edc-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "8524c5d669d51898bb54b245e69d1fcf47960051c38386c79176d42a38a5782a",
"md5": "061aa94d65d3b899ef7c8d7e6a250aa6",
"sha256": "cf402486b2ed90d67ffc24e48397370a1edaed943bc7b00d2ff698b12a0dd8da"
},
"downloads": -1,
"filename": "effect_edc-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "061aa94d65d3b899ef7c8d7e6a250aa6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 491485,
"upload_time": "2025-01-29T13:40:39",
"upload_time_iso_8601": "2025-01-29T13:40:39.672676Z",
"url": "https://files.pythonhosted.org/packages/85/24/c5d669d51898bb54b245e69d1fcf47960051c38386c79176d42a38a5782a/effect_edc-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-29 13:40:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "effect-trial",
"github_project": "effect-edc",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "effect-edc"
}