|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/10/16/b627045dd96d7e9c8c462304767fbfc30aa85dbacda78cc6a90a1d0726c7/effect_edc-0.1.56.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": "0.1.56",
"project_urls": {
"Homepage": "https://github.com/effect-trial/effect-edc"
},
"split_keywords": [
"django edc effect edc",
" clinicedc",
" clinical trials"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61d6f488a2216f0fb800e1ce4cdadab8b256384cc1fc7f5cc972e6e5b53585a5",
"md5": "6ade3b265f50343a7fa900060f71d2c4",
"sha256": "9e221ef425c4badda3bb6dd53ae54c5a9ec1317827a167483e8dd9e562884a50"
},
"downloads": -1,
"filename": "effect_edc-0.1.56-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6ade3b265f50343a7fa900060f71d2c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 587671,
"upload_time": "2024-09-20T13:02:43",
"upload_time_iso_8601": "2024-09-20T13:02:43.889115Z",
"url": "https://files.pythonhosted.org/packages/61/d6/f488a2216f0fb800e1ce4cdadab8b256384cc1fc7f5cc972e6e5b53585a5/effect_edc-0.1.56-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1016b627045dd96d7e9c8c462304767fbfc30aa85dbacda78cc6a90a1d0726c7",
"md5": "69486063f0fd49daee447163c715594d",
"sha256": "2b218c5743800453fa68117ae746d879421651efef4d4f0c82fb8f7452ed583a"
},
"downloads": -1,
"filename": "effect_edc-0.1.56.tar.gz",
"has_sig": false,
"md5_digest": "69486063f0fd49daee447163c715594d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 483919,
"upload_time": "2024-09-20T13:02:47",
"upload_time_iso_8601": "2024-09-20T13:02:47.717928Z",
"url": "https://files.pythonhosted.org/packages/10/16/b627045dd96d7e9c8c462304767fbfc30aa85dbacda78cc6a90a1d0726c7/effect_edc-0.1.56.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-20 13:02:47",
"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"
}