Coder Social home page Coder Social logo

covid19-yamanashi-scraping's Introduction

covid19-yamanashi-scraping

What's this

covid-19に関する山梨県の公表済みのデータをスクレイピングにより取得するスクリプトです。

Specification of Scraping

Specification of Update

  • 当リポジトリのGitHub Actions
    • GitHub Actionsにより毎時実行し、データに更新がある場合、data.jsonを更新する
    • データに変更があった場合、対策サイトのGitHubリポジトリに対しdispatch eventを発生させる
  • dispatch先のリポジトリのGitHub Actions
    • dispatch eventを受信し、data.jsonを更新した上でpull requestを出す
    • マージ元のブランチはcreate-pull-request/patchという名称で生成され、defaultブランチへのマージを行う

How to run

Environment

  • python version ≥ 3.7

Set up command

$python -m pip install --upgrade pip

$pip install flake8 pytest pytest-cov "pytest-remotedata>=0.3.1"

$pip install -r requirements.txt

Run command

スクリプト実行

$python -m src

テスト実行

$pytest -v --cov=.

Where would it be used

Lisence

本ソフトウェアは、MITライセンスの元提供されています。

Reference

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.