Permalink
Browse files

setup.py updated

  • Loading branch information...
1 parent 70005f0 commit 20402a7451478582a9428d153f758946ba9ed73b @jimmysoa jimmysoa committed Jan 26, 2015
Showing with 31 additions and 11 deletions.
  1. +2 −0 .gitignore
  2. +4 −0 MANIFEST
  3. +12 −4 README.md
  4. +9 −3 setup.py
  5. +3 −3 test/trading_test.py
  6. +1 −1 tushare/stock/cons.py
View
@@ -55,6 +55,8 @@ coverage.xml
# Sphinx documentation
docs/_build/
+docs/*.md
+docs/bin
# PyBuilder
target/
View
@@ -1,6 +1,10 @@
# file GENERATED by distutils, do NOT edit
setup.py
+test\test.py
tushare\__init__.py
+tushare\data\__init__.py
+tushare\data\all.csv
tushare\stock\__init__.py
tushare\stock\cons.py
+tushare\stock\fundamental.py
tushare\stock\trading.py
View
@@ -1,11 +1,11 @@
TuShare
----
![](https://api.travis-ci.org/waditu/tushare.png?branch=master)
-[![](https://pypip.in/v/tushare/badge.png)](https://pypi.python.org/pypi/tushare/0.1.3)
+[![](https://pypip.in/v/tushare/badge.png)](https://pypi.python.org/pypi/tushare/0.1.5)
股票、财经数据获取接口包
- TuShare is a utility for crawling historical data of China stocks.
+ TuShare is a utility for crawling historical and Realtime Quotes data of China stocks.
> 数据来源于各大财经网站,如遇访问异常请及时更新TuShare或自行查找并修改数据接口地址
@@ -166,9 +166,19 @@ Quick Start
In [4]:td.get_realtime_quotes(df['code'].tail(10)) #from a Series
+更多文档
+========
+[http://tushare.waditu.com/](http://tushare.waditu.com/ "TuShare Docs")
Change Logs
---
+
+0.1.5 2015/01/26
+=====
+
+- 增加了基本面数据的获取
+- 发布一版使用手册,开通TuShare docs网站
+
0.1.3 2015/01/13
===
- 增加了实时交易数据的获取
@@ -183,6 +193,4 @@ Change Logs
===
- 创建第一个版本
-
-
- 实现个股历史数据的获取
View
@@ -6,7 +6,7 @@ def read(fname):
return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
long_desc = """
-tushare
+TuShare
===============
.. image:: https://api.travis-ci.org/waditu/tushare.png?branch=master
@@ -30,19 +30,25 @@ def read(fname):
--------------
pip install tushare
+
+Upgrade
+---------------
+
+ pip install tushare --upgrade
+
"""
setup(
name='tushare',
- version='0.1.4',
+ version='0.1.5',
description='TuShare is a utility for crawling historical and Realtime Quotes data of China stocks',
# long_description=read("READM.rst"),
long_description = long_desc,
author='Jimmy Liu',
author_email='jimmysoa@sina.cn',
license='BSD',
- url='https://github.com/waditu/tushare',
+ url='http://tushare.waditu.com',
keywords='china stock data',
classifiers=['Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
@@ -4,7 +4,7 @@
if __name__ == '__main__':
# print td.get_tick_data('600848', '2015-01-09')
- print td.get_realtime_quotes('600848')
- print td.get_realtime_quotes(['600848','000980','000981'])
-# df = td.get_today_all()
+# print td.get_realtime_quotes('600848')
+# print td.get_realtime_quotes(['600848','000980','000981'])
+ df = td.get_today_all()
# print td.get_realtime_quotes(df['code'].tail(10))
@@ -13,7 +13,7 @@ def data_path():
pardir = os.path.abspath(os.path.join(os.path.dirname(caller_file), os.path.pardir))
return os.path.abspath(os.path.join(pardir, os.path.pardir))
-VERSION = '0.1.3'
+VERSION = '0.1.5'
P_TYPE = {'http':'http://','ftp':'ftp://'}
DAY_PRICE_PAGES = 38
DOMAINS = {'sina':'sina.com.cn','sinahq':'sinajs.cn','ifeng':'ifeng.com'}

0 comments on commit 20402a7

Please sign in to comment.