Code Monkey home page Code Monkey logo

query_clickhouse's Introduction

zh-cn | en-us

query_clickhouse

Connect to clickhouse, and from which query data with sqls.


Project Directory

Here are three most important directories:

  1. etc/: All of configurations and default settings are here.

    Notes: 'profile.py' is very important for your privacy(be careful when pushing codes), for it includes many authentication settings. 'logging.json' is just for logging runtime informations.

  2. data/: src ----script process----> result. Notes: 'src/' and 'result/' are corresponding with each other.

  3. script/: typical javaweb directories(controller <------service<------utils).

directory-structure

Quick Start

  1. Set your authentication settings in 'profile.py'.

  2. Modify '/script/query_sql.py':

    2.1 Clone your target project within X-lab2017/github-analysis-report, which can be a sub directory of 'github-analysis-report/sql/' or a sub directory of 'github-analysis-report/case-study/sql/'. Drop the copies in 'data/src/'.

    2.2 Modify the pre-process and post-processor logic if necessary.script-query_sql-content

  3. Run 'script/service/query_sql.py'. Check results in the directory 'data/result'.

Related links

  1. Related projects: X-lab2017/github-analysis-report

  2. Official account and article: 重磅 |《GitHub 2020 数字洞察报告》正式发布

  3. Related resources: 《GitHub 2020 数字洞察报告》

  4. Laboratory introduction: X-Lab

Description: this projectbirdflyi/query_clickhouse is associated with project X-lab2017/github-analysis-report. Some functions keep consistent with 《GitHub 2020 数字洞察报告》. Refer to the official account:重磅 |《GitHub 2020 数字洞察报告》正式发布.

query_clickhouse's People

Contributors

birdflyi avatar zhuxiangning avatar

Watchers

 avatar

query_clickhouse'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.