Git Product home page Git Product logo

opendata's Introduction

OpenDataTools

开源的数据提取工具,专注在各类网站上爬取数据,并通过简单易用的API方式使用

最近更新

2019-10-10

修正issue里面的几个问题,包括:

  1. 选股宝主题名称问题
  2. 经济数据pmi获取失败的问题
  3. 全球指数获取失败的问题
  4. 私募基金数据获取失败的问题

install

声明:本工具只支持 python3,请安装python3.6以上版本。没有支持python2的计划。

  1. 直接从pypi上安装:pip install opendatatools

  1. 下载源代码,运行下面的命令:

python setup.py install

快速使用

本工具包括若干模块,基本使用方法如下:

  1. 导入模块:from opendatatools import XXXXXX(XXXXXX代表模块名)

  2. 调用模块方法: df, msg = XXXXXX.function(param)

  3. 处理结果:df is None,代表失败,可以从msg中查看失败原因。

一个样例:

from opendatatools import stock
df, msg = stock.get_quote('600000.SH,000002.SZ')
print(df)

demo

please see wiki

qq群讨论

小程序

opendata's People

Contributors

pkujohnson avatar ustc-xchen avatar quantosorg avatar

Watchers

 avatar

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.