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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file fma_django-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fma_django-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for fma_django-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00ea6c0d2884c1c919575c0c3b750c17c25e98bb3ea9916326912b81cad322c2
MD5 f4d5fe06b07b37e6bdd2f978751a2e05
BLAKE2b-256 cba5bd585ad8314521a74819cb0511785abc2e4126390c2b686b3dafdf10d9a9

See more details on using hashes here.

Supported by

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