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.4.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3acc5166ef864127e56784def262471c9d8d5a41f6407ea6650ccb2338b2c3a9 |
|
MD5 | cc7233085f27faa3828d085018950b92 |
|
BLAKE2b-256 | 8dc951833c86db94c29608ad6b6975920951a60af12b7e20eb18431339c3d785 |
Close
Hashes for AkvoResponseGrouper-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27b576d0163518e97bc28c2330b8e0e3c65bcf51804efba36b80a22b8b54eda6 |
|
MD5 | 5f3f26a181e3a4ddd19d4c44dded0b64 |
|
BLAKE2b-256 | 196a8ef14e3213d64ffbba442ae314433f2cb8c9ebd726235551a68d9d8cb216 |