Giter Site home page Giter Site logo

bring-script-more-users's Introduction

bring-script-more-users

bring-script-more-users's People

Contributors

ftnext avatar

Watchers

 avatar  avatar

bring-script-more-users's Issues

[for workshop] 必要なファイル類をパッと作れるヘルパーコマンドを設計する

まずこのIssueで設計を考える。
細分化した単位でProjectにカードを追加したらこのIssueはclose

設計

argparse, eel, flask それぞれのアプリに必要なファイルを作れるヘルパーコマンドを実装したパッケージを用意したい
(workshopをスムーズに進められると考えている)

以下のサブコマンドを用意する

Sub command Description
bringscript cli <app_name> <app_name> ディレクトリの下にcli.pyを作る(argparseのボイラープレート)
bringscript gui <app_name> <app_name> ディレクトリの下にgui.py, web/<app_name>.html を作る
bringscript web <app_name> <app_name> ディレクトリの下にweb.py templates/<app_name>.html を作る

どう実装するか?

  • jinja2を使えばできそうと思っている→jinja2を触ってみる

画像サイズ縮小スクリプトをEelアプリに変換する

以下を順に作る

  1. ボタンを押したら縮小される(対象ディレクトリのパスは決め打ち)
  2. 対象ディレクトリや対象の画像のパスを入力して指定できる(CLIをGUIに変換)
    • 変換した後の画像をアプリ上に出したい
  3. 対象ディレクトリや対象の画像のパスをブラウザの機能で指定できる

2020/12 stapy 登壇準備

  • ディレクトリを移動するたびに仮想環境を切り替えなくてもよいように、リポジトリルートに大きな仮想環境を作成
  • デモの手順を細かく書き下す

登壇が終わったらこのissueはclose

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.