Medfl


NameMedfl JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/HaithemLamri/MEDfl
SummaryPython Open-source package for simulating federated learning and differential privacy
upload_time2024-04-12 23:02:43
maintainerNone
docs_urlNone
authorMEDomics consortium
requires_python<3.11,>=3.8
licenseNone
keywords federated learning differential privacy medical research
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MEDfl : Federated Learning and Differential Privacy Simulation Tool for Tabular Data
![Python Versions](https://img.shields.io/badge/python-3.9-blue)
![Build Status](https://travis-ci.org/MEDomics-UdeS/MEDfl.svg?branch=main)

![GitHub contributors](https://img.shields.io/github/contributors/scottydocs/README-template.md)
![License: MIT](https://img.shields.io/badge/license-MIT-green)




## Table of Contents
  * [1. Introduction](#1-introduction)
  * [2. Installation](#2-installation)
  * [3. Documentation](#3-documentation)
  * [4. Getting started](#4-Getting-started)
  * [5. Acknowledgement](#5-acknowledgement)
  * [6. Authors](#6-authors)
  * [7. Statement](#7-statement)

## 1. Introduction
This Python package is an open-source tool designed for simulating federated learning and incorporating differential privacy. It empowers researchers and developers to effortlessly create, execute, and assess federated learning pipelines while seamlessly working with various tabular datasets.





## 2. Installation

### Python installation
The MEDfl package requires *python 3.9* or more to be run. If you don't have it installed  on your machine, check out the following link  [Python ](https://www.python.org/downloads/).
It also requires MySQL database

### Package installation
For now, you can  install the ``MEDfl``package as:
```
git clone https://github.com/MEDomics-UdeS/MEDfl.git
cd MEDfl
pip install -e .
```
### MySQL DB configuration
MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets,  we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/config.ini files
```
sudo bash MEDfl/scripts/setup_mysql.sh
```

### Project Base URL Update
Please ensure to modify the `base_url` parameter in the `MEDfl/global_params.yaml` file. The `base_url` represents the path to the MEDfl project on your local machine. Update this value accordingly.

## 3. Documentation
We used sphinx to create the documentation for this project.  you can generate and host it locally by compiling the documentation source code using:
```
cd docs
make clean
make html
```

Then open it locally using:

```
cd _build/html
python -m http.server
```

## 4. Getting started

We have created a complete tutorial for the different functionalities of the package. it can be found here [tutorial](https://github.com/MEDomics-UdeS/MEDfl/notebooks/First_tuto.ipynb)



## 5. Acknowledgment
MEDfl is an open-source package that welcomes any contribution and feedback. We wish that this package could serve the growing private AI research community.

## 6. Authors
* [MEDomics](https://github.com/medomics/): MEDomics consortium.

## 7. Statement

This package is part of https://github.com/medomics, a package providing research utility tools for developing precision medicine applications.

```
MIT License

Copyright (C) 2022 MEDomics consortium

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/HaithemLamri/MEDfl",
    "name": "Medfl",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.11,>=3.8",
    "maintainer_email": null,
    "keywords": "federated learning differential privacy medical research",
    "author": "MEDomics consortium",
    "author_email": "medomics.info@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0a/07/10d923c55d9de3a318f234b3b1fdf0502c73804f635e0857e4198c71335b/Medfl-0.1.7.tar.gz",
    "platform": null,
    "description": "# MEDfl : Federated Learning and Differential Privacy Simulation Tool for Tabular Data\n![Python Versions](https://img.shields.io/badge/python-3.9-blue)\n![Build Status](https://travis-ci.org/MEDomics-UdeS/MEDfl.svg?branch=main)\n\n![GitHub contributors](https://img.shields.io/github/contributors/scottydocs/README-template.md)\n![License: MIT](https://img.shields.io/badge/license-MIT-green)\n\n\n\n\n## Table of Contents\n  * [1. Introduction](#1-introduction)\n  * [2. Installation](#2-installation)\n  * [3. Documentation](#3-documentation)\n  * [4. Getting started](#4-Getting-started)\n  * [5. Acknowledgement](#5-acknowledgement)\n  * [6. Authors](#6-authors)\n  * [7. Statement](#7-statement)\n\n## 1. Introduction\nThis Python package is an open-source tool designed for simulating federated learning and incorporating differential privacy. It empowers researchers and developers to effortlessly create, execute, and assess federated learning pipelines while seamlessly working with various tabular datasets.\n\n\n\n\n\n## 2. Installation\n\n### Python installation\nThe MEDfl package requires *python 3.9* or more to be run. If you don't have it installed  on your machine, check out the following link  [Python ](https://www.python.org/downloads/).\nIt also requires MySQL database\n\n### Package installation\nFor now, you can  install the ``MEDfl``package as:\n```\ngit clone https://github.com/MEDomics-UdeS/MEDfl.git\ncd MEDfl\npip install -e .\n```\n### MySQL DB configuration\nMEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets,  we have created a bash script to install and configure A MySQL DB with phpmyadmin monitoring system, run the following command then change your credential on the MEDfl/scripts/base.py and MEDfl/scripts/config.ini files\n```\nsudo bash MEDfl/scripts/setup_mysql.sh\n```\n\n### Project Base URL Update\nPlease ensure to modify the `base_url` parameter in the `MEDfl/global_params.yaml` file. The `base_url` represents the path to the MEDfl project on your local machine. Update this value accordingly.\n\n## 3. Documentation\nWe used sphinx to create the documentation for this project.  you can generate and host it locally by compiling the documentation source code using:\n```\ncd docs\nmake clean\nmake html\n```\n\nThen open it locally using:\n\n```\ncd _build/html\npython -m http.server\n```\n\n## 4. Getting started\n\nWe have created a complete tutorial for the different functionalities of the package. it can be found here [tutorial](https://github.com/MEDomics-UdeS/MEDfl/notebooks/First_tuto.ipynb)\n\n\n\n## 5. Acknowledgment\nMEDfl is an open-source package that welcomes any contribution and feedback. We wish that this package could serve the growing private AI research community.\n\n## 6. Authors\n* [MEDomics](https://github.com/medomics/): MEDomics consortium.\n\n## 7. Statement\n\nThis package is part of https://github.com/medomics, a package providing research utility tools for developing precision medicine applications.\n\n```\nMIT License\n\nCopyright (C) 2022 MEDomics consortium\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python Open-source package for simulating federated learning and differential privacy",
    "version": "0.1.7",
    "project_urls": {
        "Documentation": "https://",
        "Github": "https://github.com/HaithemLamri/MEDfl",
        "Homepage": "https://github.com/HaithemLamri/MEDfl"
    },
    "split_keywords": [
        "federated",
        "learning",
        "differential",
        "privacy",
        "medical",
        "research"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9a66c3b1bf3fcf43e9a0c757182251d0b227790ec8d7dad6c4fba964e3c922c",
                "md5": "03609047d469acea5975d3f584ba6fa2",
                "sha256": "a33f7180f2ce2419a5dd813a71ff5cef297efcf1635cd51a2e374e816feb742f"
            },
            "downloads": -1,
            "filename": "Medfl-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03609047d469acea5975d3f584ba6fa2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.8",
            "size": 39879,
            "upload_time": "2024-04-12T23:02:40",
            "upload_time_iso_8601": "2024-04-12T23:02:40.819376Z",
            "url": "https://files.pythonhosted.org/packages/d9/a6/6c3b1bf3fcf43e9a0c757182251d0b227790ec8d7dad6c4fba964e3c922c/Medfl-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a0710d923c55d9de3a318f234b3b1fdf0502c73804f635e0857e4198c71335b",
                "md5": "fd57c06b88230a2b26d087f169e6267d",
                "sha256": "fa272f55b1861b3766d2db8ccf37564e4404f1507848234cb55b47c8d9805871"
            },
            "downloads": -1,
            "filename": "Medfl-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "fd57c06b88230a2b26d087f169e6267d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.8",
            "size": 30784122,
            "upload_time": "2024-04-12T23:02:43",
            "upload_time_iso_8601": "2024-04-12T23:02:43.299118Z",
            "url": "https://files.pythonhosted.org/packages/0a/07/10d923c55d9de3a318f234b3b1fdf0502c73804f635e0857e4198c71335b/Medfl-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-12 23:02:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "HaithemLamri",
    "github_project": "MEDfl",
    "github_not_found": true,
    "lcname": "medfl"
}
        
Elapsed time: 0.33449s