Skip to main content

enviRobot service that can be held by Scoop.

Project description

eco_ask

.env檔請填入以下資訊, 並放置於你終端機的工作目錄

LINE_CHANNEL_TOKEN=
LINE_CHANNEL_SECRET=
OPENAI_KEY=
GOOGLE_API_KEY=Geocoding API key
IMGUR_ID=
#DEVICE_MAP_CSV_PATH=有device_id,lat,lon對應的csv位置 如果需要使用get_rawdata mode=10min的話

使用pip安裝

pip install enviRobot-scoop

使用scoop-handler

from enviRobot_scoop import enviRobot_scoop
enviRobot_scoop.handle_enviRobot(dic_params, question, websocket)

requirements 裡面要根據不同作業系統設定 kaleido 套件的版號 kaleido==0.2.1 <-- linux kaleido==0.1.0post1 <-- windows

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enviRobot_scoop-1.0.9.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file enviRobot_scoop-1.0.9.tar.gz.

File metadata

  • Download URL: enviRobot_scoop-1.0.9.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for enviRobot_scoop-1.0.9.tar.gz
Algorithm Hash digest
SHA256 8906cfdf0d8553df2e6473ff870b959948b176af0376de28f567a0735f4f5a16
MD5 af850a34daf59ad991852aa901e96514
BLAKE2b-256 c2609694d9c6306461794da4dc130560038464f809784bb509ccd5829afd9730

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page