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.3.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c036a87a06252a1bee9c688cdb8a0a234e44f5316887dc532f7e309c55973b7a |
|
MD5 | 428145f19f4eafc0872ca40d04d03e7f |
|
BLAKE2b-256 | 3ac507122cc4bb17a5ca1de8fe18be3ffcf87d1d94f30861d3cbad552862e3f7 |
Close
Hashes for AkvoResponseGrouper-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd424d52b7900c251ca128e6a7f0b34c891eaaf46de20fca474c83f2da59b95c |
|
MD5 | 050b708dc42493f2285508734a5b1258 |
|
BLAKE2b-256 | 6706e4813751855ba5934b8f87e941ad8ce9f21dfe827746ae80b524f9aed29e |