Metadata-Version: 2.0
Name: seed-control-interface
Version: 0.9.11
Summary: Seed Scheduler mircoservice
Home-page: http://github.com/praekelt/seed-control-interface
Author: Praekelt.org
Author-email: dev@praekelt.org
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: Django (==1.9.12)
Requires-Dist: URLObject (<3.0,>=2.4.3)
Requires-Dist: attrs (==16.3.0)
Requires-Dist: dj-database-url (==0.3.0)
Requires-Dist: django-bootstrap-datepicker (==1.2.2)
Requires-Dist: django-bootstrap-form (==3.2.1)
Requires-Dist: openpyxl (==2.4.0)
Requires-Dist: psycopg2 (==2.7.1)
Requires-Dist: python-dateutil (==2.5.3)
Requires-Dist: pytz (==2015.7)
Requires-Dist: raven (==5.32.0)
Requires-Dist: seed-services-client (==0.31.0)
Requires-Dist: whitenoise (==2.0.6)

======================
Seed Control Interface
======================

Control Interface for Seed Services.

Uses seed-auth-api for Authentication and permissions
Uses seed-control-interface-service for configuration of services

Connects to:
* seed-identity-store
# seed-control-interface


Local installation
------------------

    $ git clone git@github.com:praekelt/seed-control-interface.git
    $ cd seed-control-interface
    $ virtualenv ve
    $ source ve/bin/activate
    $ pip install -e .


How to generate a report
------------------------

Currently there's a single management command to run after cloning this
repository and installing all the dependencies:

    $ python manage.py generate_reports \
        --hub-url=https://registration.mama.ng.p16n.org/api/v1/ \
        --hub-token=<INSERT YOUR HUB/REGISTRATION TOKEN HERE> \
        --identity-store-url=https://identity-store.mama.ng.p16n.org/api/v1/ \
        --identity-store-token=<INSERT YOUR IDENTITY STORE TOKEN HERE> \
        --output-file=generated-file-name.xlsx \
        --start=2016-10-10 \
        --end=2016-10-17

This will run for a minute or two and when done will have generated the
"generated-file-name.xlsx" XLS file in the current directory.


