pdc shipment aplication bot
Project description
pdc_updater
implementasi auto updater dengan memakai cloud storage google
set environtment
set GOOGLE_APPLICATION_CREDENTIALS=credentials.json
Example
Publising Aplication
from pdc_bot_updater.publisher.publish import configure_client, AppArchiver
bucket_id = 'artifact'
folder_app = 'aplikasi_bot'
configure_client(bucket_id)
archiver = AppArchiver(folder_app)
archiver.get_meta()
archiver.upload_archive(f'dist/aplication.zip', version='1.0.0')
Updating App
from pdc_bot_updater.client.updater import Updater
bucket_id = 'artifact'
folder_app = 'aplikasi_bot'
updater = Updater(folder_app, bucket_id)
updater.check_update()
updater.detach_process(['application.exe'])
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
pdc_bot_updater-1.2.6.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdc_bot_updater-1.2.6.tar.gz.
File metadata
- Download URL: pdc_bot_updater-1.2.6.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e57b4b170d0b352bfddcb0839d67a8aad534047f702e923c0d4802bd3fee079
|
|
| MD5 |
252ed9be48ff22a4c1e938b97e7da4e3
|
|
| BLAKE2b-256 |
4ff7d27ccad93da411716c1b718982d9b58e0c7db447c1a0a4f4192c02ff1693
|
File details
Details for the file pdc_bot_updater-1.2.6-py3-none-any.whl.
File metadata
- Download URL: pdc_bot_updater-1.2.6-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efd7c3b70397e098e25649131c3f673346e76d80d1df124c392b63735021dd17
|
|
| MD5 |
00c91b600451d16e72439e487c3fe64e
|
|
| BLAKE2b-256 |
854d818806a6e6b903b7157fd5bd467706a2b239bd3920b0a06190397dda0d58
|