Fast-API Response catalog for pre-computed query
Project description
Akvo-ResponseGrouper
Fast-API Response catalog for pre-computed query
Install
$ pip install AkvoResponseGrouper
Schema Requirements
Please follow the required schema before using AkvoResponseGrouper.
Usage
- Database Migration
Database migration is the first required step for AkvoResponseGrouper to work. Use the akvo-responsegrouper CLI to migrate all data sources with JSON configuration files to generate Materialized Views that AkvoResponseGrouper can then use.
$ akvo-responsegrouper
usage: akvo-responsegrouper [-h] [-c CONFIG] [-d]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
akvo-responsegrouper -c <json_file_config>
-d, --drop Drop the ar_category view table
- HTTP Router
Soon...
Development
cd dev
docker compose up -d
Wait until migration process is done
docker compose exec backend python -m script.seeder_form
docker compose exec backend python -m script.seeder_datapoint <number_of_datapoint>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AkvoResponseGrouper-1.0.0.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bba08e2283706ba16858e90ced8e030dceec1117d4d423f06991875e66d9339 |
|
MD5 | 298e6e78b620abd3aaf9ff79e8b7312b |
|
BLAKE2b-256 | 9c16471b9aa5ec6765279162f140b266662051d1908c8100040bac37c008faa4 |
Close
Hashes for AkvoResponseGrouper-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7168679d587321234d2b305bbd4db72663c6fc4c3f473d4e2ba6dbde9ff0599b |
|
MD5 | db77d3565e4419ddbcdd22a449302c62 |
|
BLAKE2b-256 | ef0dbae6f8657ef3690ecafc4dc54a210e4a4f1c200f0148f8dcc6410a112e74 |