Operating Chalice from Github
Project description
Gicha CLI
The Python CLI for maintaining a Gicha stack... or dozens of them!
Use cases
Install gicha and list all possible parameters
pip install gicha
python -m gicha --help
Create a completely new project
python -m gicha --app-name=gicha-base
Those configurations will be automatically saved in gicha.yml at the end of the creation.
Upgrade an already existing project
pip install gicha --upgrade
python -m gicha --app-name=gicha-base --output-dir=folder-already-created
Note the --upgrade
and the --output-dir=folder-already-created
flags. The Gicha configuration that was used for the previous generation is saved in gicha.yml
: it will be updated after the new upgrade.
If you want to do an upgrade without re-specifying each parameter (there are a lot of them!), then gicha conveniently provides de --gicha-conf
parameter.
Just modify the existing gicha.yml
(modify mandatorily the version
parameter so that it reflects the newly upgraded version,
modify optionally any other parameter depending on your needs), then:
pip install gicha --upgrade
cd folder-already-created
python -m gicha --gicha-conf=gicha.yml --output-dir=.
Activate Function URL
If your calls last longer than 30 seconds (but less than 15 minutes), then you need to do the invocations through Function URL.
- Call Gicha
--with-function-url=true
. This will just save the configuration ingicha.yml
for now. - Activate Function URL. You can use either AWS Console or CLI.
- Set handler to app.minimalistic_handler. You can use either AWS Console or CLI.
- TODO: automate step 2 and 3
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
Built Distribution
File details
Details for the file gicha-1.2.0.tar.gz
.
File metadata
- Download URL: gicha-1.2.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c59ff7709497d185222b3a15eb3a3af8344d8ffa2a91a8ef360965ef470f1f7 |
|
MD5 | 6de868fdb2186f1abca25baa13915189 |
|
BLAKE2b-256 | e3136166eac6c44be40c1c2dcdbdcd41fed8632d42b832975d11020f0243b498 |
File details
Details for the file gicha-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: gicha-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70696f0908fcc7dda8d3b2e3f0ce7da9d53e8be8ee8925b3f85277363e027dd0 |
|
MD5 | 7775659900b6a23af3d40074d758897c |
|
BLAKE2b-256 | c293c51150e218421829cba7fc93b4e02bfa2b31e625cec35859f3cc34506a70 |