Code Monkey home page Code Monkey logo

yuu-eguci / g1-point Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 83 KB

๐Ÿšš This repository was exported to python-mate organization. ๐Ÿ‡ G1-point, joint development Python project! This project has three major sections. First, input and output, using LineMessagingApi. Second, scraping, using requests and beautifulsoup4. Third, store data into SpreadSheets. Pipenv, Heroku, Flask web app, deployment using GitHub Actions.

License: MIT License

Python 100.00%
python3 line spreadsheet linemessagingapi requests beautifulsoup pipenv heroku flask github-actions

g1-point's Introduction

G1-point

๐Ÿšš This repository was exported to python-mate/G1-point and was archived.

๐Ÿ‡ G1-point, joint development Python project! This project has three major sections.

First, input and output, using LineMessagingApi. Second, scraping, using requests and beautifulsoup4. Third, store data into SpreadSheets. Pipenv, Heroku, Flask web app, deployment using GitHub Actions.

LT document

ใ“ใฎใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ Lightening Talk ใ‚’่ฆ‹ๆฎใˆใฆ้€ฒใ‚ใ‚‰ใ‚Œใพใ—ใŸใ€‚ LT ่ณ‡ๆ–™ใฏใ“ใกใ‚‰(G1-point/docs/(2021-04-27)ใตใŸใ‚ŠLT็™บ่กจ็”จ.md)ใ€‚

G1-point structure

Blueprint

ไธ€็•ชๆœ€ๅˆใฎๆ‰“ใกๅˆใ‚ใ›ใงไฝœๆˆใ•ใ‚ŒใŸ่จญ่จˆๅ›ณใงใ™ใ€‚

first-blueprint

Blueprint ver2

่จญ่จˆๅ›ณใซๅ…ทไฝ“ๆ€งใ‚’ๅŠ ใˆใŸใ‚‚ใฎใงใ™ใ€‚

second-blueprint

Structure note by REDpapa

REDpapa ใซใ‚ˆใ‚‹ๆ•ด็†ๅ›ณใงใ™ใ€‚

papaใ‚ตใƒณใซใ‚ˆใ‚‹ๆ•ด็†

How to install

ใพใšไฝ•ใ‚‰ใ‹ใฎๆ–นๆณ•ใง pipenv ใ‚’ๆ‰‹ใซๅ…ฅใ‚Œใฆใใ ใ•ใ„ใ€‚

ใ€Œๆ‰‹ใซๅ…ฅใ‚Œใ‚‰ใ‚ŒใŸใฎใ‹ใ€ใ‚ใ‹ใ‚‰ใชใ„? ใ“ใกใ‚‰โ†“ใฎใ‚ณใƒžใƒณใƒ‰ใ‚’ Terminal ใงๆ‰“ใฃใฆใ€ใƒใƒผใ‚ธใƒงใƒณใŒๅ‡บใ‚ŒใฐๆˆๅŠŸใงใ™ใ€‚

pipenv --version
# -> pipenv, version 2020.11.15 ใฟใŸใ„ใซๅ‡บใ‚Œใฐ OK.

pipenv ใ‚’ๆ‰‹ใซๅ…ฅใ‚Œใฆใ‹ใ‚‰ใ€ใ“ใ†โ†“ใงใ™ใ€‚

git clone https://github.com/yuu-eguci/G1-point.git
cd G1-point
pipenv install
pipenv shell
# --> (G1-point) bash-3.2$ ใฟใŸใ„ใซๅ‡บใ‚Œใฐ OK.

How to develop

  • ้–‹็™บใฏใ™ในใฆ pipenv shell ใ—ใฆใ‹ใ‚‰่กŒใฃใฆใใ ใ•ใ„ใ€‚
  • pip ใƒขใ‚ธใƒฅใƒผใƒซใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใฏใ™ในใฆ pipenv install [ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎๅๅ‰] ใง่กŒใฃใฆใใ ใ•ใ„ใ€‚
# ไฝœๆฅญใ‚’ๅง‹ใ‚ใ‚‹ใจใใฏใพใšใ“ใ‚Œใ‚’ใ‚„ใ‚‹ใ€‚
pipenv shell

# (ใŸใจใˆใฐ)numpy ๅ…ฅใ‚ŒใŸใ„ใชโ€ฆโ€ฆใฃใฆใ„ใ†ใจใใฏใ“ใ†ใ™ใ‚‹ใ€‚
pipenv install numpy

.env

G1-point repository ใฏใŸใใ•ใ‚“็’ฐๅขƒๅค‰ๆ•ฐใ‚’ไฝฟใฃใฆใ„ใพใ™ใ€‚ไธ€้ƒจใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฏใ€ไปฅไธ‹ใฎ .env ใ‚’ๅฟ…่ฆใจใ—ใพใ™ใ€‚

# ๅฎŸ้š›ใซใƒ—ใƒญใ‚ฐใƒฉใƒ ใŒๅ‹•ใ็’ฐๅขƒใงๅฟ…่ฆใช env(Heroku ใ‚’ๆƒณๅฎš)
LINE_CHANNEL_ACCESS_TOKEN = ''
LINE_CHANNEL_SECRET = ''
LINE_G1_GROUP_ID = ''
SLACK_CHANNEL_NAME = ''
SLACK_BOT_TOKEN = ''
GSPREAD_CREDENTIAL_JSON = ''

# CI/CD ็’ฐๅขƒใงๅฟ…่ฆใช env(GitHub Actions ใ‚’ๆƒณๅฎš)
HEROKU_API_KEY = ''
HEROKU_APP_NAME = ''
HEROKU_EMAIL = ''

g1-point's People

Contributors

yuu-eguci avatar redpapa avatar

Watchers

James Cloos avatar  avatar  avatar

g1-point's Issues

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.