Skip to main content

Federated Model Aggregation's Django Connectors

Project description

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.
# install just the db / model connection component
pip install fma-django

# install the db / model / API connection component
pip install "fma-django[api]"
  1. 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
    ]
  1. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fma_django-0.0.1-py3-none-any.whl (26.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page