Skip to content

Commit

Permalink
更新文档,发布到 pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Micro-sheep committed Jul 2, 2021
1 parent 7c6d616 commit 6fa7fbb
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 14 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


## Introduction
[efinance](https://github.com/Micro-sheep/efinance) 是由个人打造的用于获取股票、基金、期货数据的免费开源 Python 库,使用它你可以很方便地获取数据以便更好地服务于个人的交易系统需求。
[![python](https://img.shields.io/badge/python-3.6+-blue.svg?style=flat)](https://pypi.python.org/pypi/efinance)
[![pypi](https://img.shields.io/pypi/v/efinance.svg?maxAge=60)](https://pypi.python.org/pypi/efinance)
[![python](https://img.shields.io/github/stars/Micro-sheep/efinance.svg?style=social&label=Star&maxAge=60)](https://github.com/Micro-sheep/efinance)

[efinance](https://github.com/Micro-sheep/efinance) 是由个人打造的用于获取股票、基金、期货数据的免费开源 Python 库,你可以使用它很方便地获取数据以便更好地服务于个人的交易系统需求。

## Installation
```bash
pip install efinance
Expand Down Expand Up @@ -167,3 +174,7 @@ pip install efinance
## Docs
更多使用例子详见文档 [efinance-docs](https://micro-sheep.github.io/efinance)

## Contact

[![zhihu](https://img.shields.io/badge/-知乎-blue)](https://www.zhihu.com/people/la-ge-lang-ri-96-69)

11 changes: 10 additions & 1 deletion docs/efinance.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h2>Contents</h2>
<li><a href="#futures">Futures</a></li>
</ul></li>
<li><a href="#docs">Docs</a></li>
<li><a href="#contact">Contact</a></li>
</ul>


Expand Down Expand Up @@ -73,7 +74,11 @@ <h1 class="modulename">

<div class="docstring"><h2 id="introduction">Introduction</h2>

<p><a href="https://github.com/Micro-sheep/efinance">efinance</a> 是由个人打造的用于获取股票、基金、期货数据的免费开源 Python 库,使用它你可以很方便地获取数据以便更好地服务于个人的交易系统需求。</p>
<p><a href="https://pypi.python.org/pypi/efinance"><img src="https://img.shields.io/badge/python-3.6+-blue.svg?style=flat" alt="python" /></a>
<a href="https://pypi.python.org/pypi/efinance"><img src="https://img.shields.io/pypi/v/efinance.svg?maxAge=60" alt="pypi" /></a>
<a href="https://github.com/Micro-sheep/efinance"><img src="https://img.shields.io/github/stars/Micro-sheep/efinance.svg?style=social&amp;label=Star&amp;maxAge=60" alt="python" /></a></p>

<p><a href="https://github.com/Micro-sheep/efinance">efinance</a> 是由个人打造的用于获取股票、基金、期货数据的免费开源 Python 库,你可以使用它很方便地获取数据以便更好地服务于个人的交易系统需求。</p>

<h2 id="installation">Installation</h2>

Expand Down Expand Up @@ -255,6 +260,10 @@ <h3 id="futures">Futures</h3>
<h2 id="docs">Docs</h2>

<p>更多使用例子详见文档 <a href="https://micro-sheep.github.io/efinance">efinance-docs</a></p>

<h2 id="contact">Contact</h2>

<p><a href="https://www.zhihu.com/people/la-ge-lang-ri-96-69"><img src="https://img.shields.io/badge/-知乎-blue" alt="zhihu" /></a></p>
</div>

<details>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
requests
tqdm
pandas
openpyxl
retry
multitasking
26 changes: 16 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@

import pathlib
from setuptools import setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text(encoding='utf-8')
REQUIREMENTS = (HERE/'requirements.txt').read_text().split()

here = pathlib.Path(__file__).parent
# require = (here / "requirements.txt").read_text(encoding='utf-8').split()
require = ['requests', 'pandas', 'tqdm', 'retry', 'multitasking']
readme = (here / "README.md").read_text(encoding='utf-8')
setup(
# name in pypi
name="efinance",
version="0.1",
description="A finance tool for crawl stock,fund and futures data base on eastmoney",
long_description=README,
description="A finance tool to get stock,fund and futures data base on eastmoney",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/Micro-sheep/efinance",
author="micro sheep",
author_email="[email protected]",
license="MIT",
platforms=['any'],
keywords=['finance', 'quant', 'stock', 'fund', 'futures'],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
# package to be installed in site-packages
packages=["efinance"],
include_package_data=True,
install_requires=REQUIREMENTS,
install_requires=require,
project_urls={
'Documentation': 'https://micro-sheep.github.io/efinance',
'Source': 'https://github.com/Micro-sheep/efinance',
},
)

0 comments on commit 6fa7fbb

Please sign in to comment.