Skip to main content

Common package for authoring Agave services in flask/Flask-RESTful

Project description

# agaveflask #

## Overview ##

A common set of Python modules for writing flask services for the Agave Platform. The package officially requires Python 3.4+, though some functionality may work with Python 2.

## Installation ## pip install agaveflask

Requires Python header files and a C++ compiler on top of gcc. On Debian/Ubuntu systems: apt-get install python3-dev g++

## Usage ##

agaveflask provides the following modules:

  • auth.py - configurable authentication/authorization routines.

  • config.py - config parsing.

  • errors.py - exception classes raised by agaveflask.

  • store.py - python bindings for persistence.

  • utils.py - general request/response utilities.

It relies on a configuration file for the service. Create a file called service.conf in one of /, /etc, or $pwd. See service.conf.ex in this repository for settings used by this library.

Project details


Download files

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

Source Distribution

agaveflask-0.1.0.tar.gz (7.9 kB view hashes)

Uploaded Source

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