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.5.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e9d054a7a1b5056e2ab5c32ebb3062c141fff48acbcda20dd0efe867c038fd |
|
MD5 | 0ba820ce37503eec14067ad9c9012922 |
|
BLAKE2b-256 | d9453d0d9d726dd6185a7e3b6dba15c57019c63383ee4fb23b1f6c36a59d0bd7 |
Close
Hashes for AkvoResponseGrouper-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1dc370b39e58386d7f8560667e61118ff63c9c12a9dbbef8605133bec27b9b |
|
MD5 | ee6f154d4fdb6bc93d8047995ca6ef58 |
|
BLAKE2b-256 | dc8ca4ca15f6266a5550612104e6acc09a37a7ad29cb41796f865f6f8431a498 |