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.2.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315eea573fca9d49a57a0c2ef561f49f83fb54d33cbf223a3b17b8e6a60475c2 |
|
MD5 | f8adaba4a6d8d040159d0aa2223d66bf |
|
BLAKE2b-256 | 104224d99d5393fd33c978c9d56cd3823826d425584edfaed341f7dd8e10c6ae |
Close
Hashes for AkvoResponseGrouper-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bafbc8bd3c5dcf67778511bf9b3e2b6b839ec8f852cbeafb8f0494444474acf |
|
MD5 | 2bb9244868aab747a284bd68af843a49 |
|
BLAKE2b-256 | 38ff474f271e0aa445ada9571e3de9f4509faf3be95626b79184754bd08b3428 |