semvec/pypi-packages huggingface dataset:
fma-core 0.0.1
Federated Model Aggregation's Core Functionality
License: Apache License, Version 2.0
Requires Python: >=3.8
Keywords: Federated Learning

# FMA-Core

The FMA-Core component is a collection of building blocks use for agnostically building an FMA service. 
Algorithms and workflows are agnostic in the sense that users can build their own algorithms/workflows 
and use them in the FMA Service.

Quick start
-----------
For installation:

```console
pip install fma-core
```


Testing
-------

Inside a virtualenv:
```
make install
make test
```

For testing and coverage reports:
```
make test-and-coverage
```

## FMA-Algorithms

A sub-part of FMA-Core is FMA-Algorithms. 
This component is an agnostic implementation of the model aggregation function for the FMA service.

## FMA-Workflows

FMA-Workflow is the principal component of the service: gluing together the 
`aggregator`, `api`, `model`, and `metadata` connectors for the various parts of the service 
to communicate with each other.
fma-django 0.0.1
Federated Model Aggregation's Django Connectors
License: Apache License, Version 2.0
Requires Python: >=3.8
Keywords: Federated Learning

# FMA-Django

The FMA-Django component is a Django app that connects the FMA to django controlled databases or storage devices.
Detailed documentation is in the `./docs` directory.

Quick start
-----------
1. For installation, choose between just installing the db components or including the API as well.

```console
# install just the db / model connection component
pip install fma-django

# install the db / model / API connection component
pip install "fma-django[api]"
```

2. Add "fma-django" and "fma-django-api" to your INSTALLED_APPS setting like this:
```
    INSTALLED_APPS = [
        ...
        'fma_django',
        'fma_django_api',  # if the API is needed as well
    ]
```


3. Run ``python manage.py migrate`` to create the polls models (Django database tables).


Testing
-------

Inside a virtualenv:
```
make install
make test
```

For testing and coverage reports:
```
make test-and-coverage
```