effect-edc


Nameeffect-edc JSON
Version 0.1.49 PyPI version JSON
download
home_pagehttps://github.com/effect-trial/effect-edc
SummaryEFFECT Trial EDC (https://www.isrctn.com/ISRCTN30579828)
upload_time2024-04-24 00:20:27
maintainerNone
docs_urlNone
authorErik van Widenfelt
requires_python>=3.11
licenseGPL license, see LICENSE
keywords django edc effect edc clinicedc clinical trials
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            |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.11
  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.11",
    "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/84/04/b6eac44a0791c916a4bd6c79e7467cbabcbfbb210c1607f24d7dec021afc/effect_edc-0.1.49.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.11\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.49",
    "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": "e316176a047c569bdf90648253087768debe3acf89ce78caccd68300ae625b5b",
                "md5": "cee581ca59ac79e7b78c54ba286a840d",
                "sha256": "8629eb68f5481660fd7794e0f3bd823a4b42ae240ae1fe2b8a38022feaf33514"
            },
            "downloads": -1,
            "filename": "effect_edc-0.1.49-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cee581ca59ac79e7b78c54ba286a840d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 543288,
            "upload_time": "2024-04-24T00:20:21",
            "upload_time_iso_8601": "2024-04-24T00:20:21.395531Z",
            "url": "https://files.pythonhosted.org/packages/e3/16/176a047c569bdf90648253087768debe3acf89ce78caccd68300ae625b5b/effect_edc-0.1.49-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8404b6eac44a0791c916a4bd6c79e7467cbabcbfbb210c1607f24d7dec021afc",
                "md5": "6ac0472881e6d55c1a983a57309c3ca4",
                "sha256": "a1f7f2e8bbebf54d04c632aea6f7f136144e9196e7a623d35efb418231a541d3"
            },
            "downloads": -1,
            "filename": "effect_edc-0.1.49.tar.gz",
            "has_sig": false,
            "md5_digest": "6ac0472881e6d55c1a983a57309c3ca4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 464499,
            "upload_time": "2024-04-24T00:20:27",
            "upload_time_iso_8601": "2024-04-24T00:20:27.750941Z",
            "url": "https://files.pythonhosted.org/packages/84/04/b6eac44a0791c916a4bd6c79e7467cbabcbfbb210c1607f24d7dec021afc/effect_edc-0.1.49.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-24 00:20:27",
    "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"
}
        
Elapsed time: 0.27339s