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.1.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for AkvoResponseGrouper-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71a9425808e0da16776f4811861c8308f14079aa6108e754f2feb16998b9e68 |
|
MD5 | 58ce9c4b6652594871d1e000e47fd02b |
|
BLAKE2b-256 | 6d8c40e0f294dfa58a1baaf0e4b82ade690569923970447d611735af91f590ec |
Close
Hashes for AkvoResponseGrouper-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e63074e5e8a3d9024729a3d2fd72ca075eb01fb98642ff4c0c7a628fb1a372 |
|
MD5 | c64c104c45d87e6c280bd7c80a5328bc |
|
BLAKE2b-256 | 8887b579122375b738d24b1e8dd3e54f741fb966bc42fe0e7b824893c2da87cb |