$npx skillfedfor your agent

tushare

A utility for crawling historical and Real-time Quotes data of China stocks

With conditionsPyPI Information AnalysisReleased Mar 2026614.0K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tushare-1.4.29-py3-none-any.whl
v1.4.29 · released 2026-03-25 · 7 runtime deps: pandas, requests, lxml, simplejson, bs4, websocket-client, tqdm

Yes, if you need Chinese stock market data. The package has low install friction, permissive licensing, no known vulnerabilities, and active maintenance. Caveat: verify that the underlying data sources remain accessible and that real-time functions meet your latency and reliability requirements, as web-scraping-based APIs can be fragile.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel and seven common dependencies (pandas, requests, lxml, simplejson, bs4, websocket-client, tqdm).
  • Marked active with a recent release 142 days ago.

License · maintenance · safety

BSD (permissive) — BSD permissive license allows use, modification, and distribution with minimal restrictions—suitable for commercial and private projects.

last release 2026-03-25 (142 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 613,999 downloads/mo, #5,750 on PyPI

Verify before relying

pip install tushare

import tushare as ts
ts.get_hist_data('600848')
  • Whether the package's data sources (Tencent, Huatai, Yinhe Securities) remain active and reliable
  • Current API rate limits or authentication requirements not documented in the excerpt
  • Whether real-time data functions still work after recent maintenance fixes
Same gist for agents: .md · .json

What it is and what it does

TuShare is a Python library that crawls historical and real-time stock market data for Chinese securities. It wraps multiple financial data providers and returns results as pandas DataFrames, making it straightforward to load, analyze, and export market data to CSV, Excel, JSON, or databases like MySQL and MongoDB.

The package targets financial analysts, pandas learners, and researchers interested in Chinese market data. It depends on standard web-scraping and data-processing libraries (requests, lxml, bs4, websocket-client) and uses pandas as its primary output format, making it compatible with the broader Python data science ecosystem.

Use it for

  • Retrieve historical OHLC data for a Chinese stock ticker to build backtesting datasets
  • Stream real-time tick snapshots from Tencent or other brokers for live trading systems
  • Export daily market quotes to CSV or Excel for manual analysis in spreadsheet tools
  • Load stock data directly into pandas for technical indicator calculation and charting
  • Populate a local MySQL or MongoDB database with historical market snapshots for research

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Chinese stock market data.

The package has low install friction, permissive licensing, no known vulnerabilities, and active maintenance. Caveat: verify that the underlying data sources remain accessible and that real-time functions meet your latency and reliability requirements, as web-scraping-based APIs can be fragile.

Install

tushare on PyPI

Before you install

Low install friction with a pure-Python wheel and seven common dependencies (pandas, requests, lxml, simplejson, bs4, websocket-client, tqdm). Marked active with a recent release 142 days ago.

License in practice

BSD permissive license allows use, modification, and distribution with minimal restrictions—suitable for commercial and private projects.

Quickstart

pip install tushare

import tushare as ts
ts.get_hist_data('600848')

Verify before relying

  • Whether the package's data sources (Tencent, Huatai, Yinhe Securities) remain active and reliable
  • Current API rate limits or authentication requirements not documented in the excerpt
  • Whether real-time data functions still work after recent maintenance fixes

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
pandasrequestslxmlsimplejsonbs4websocket-clienttqdm
MaintenanceActively maintained 142 days since the last release
First released
Downloads613,999 / month, #5,750 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: tushare-1.4.29-py3-none-any.whl

Tags

Capabilities
china stock market datahistorical stock quotesreal-time market datafinancial data crawlerpandas stock datachinese securities datamarket tick data
Topics
financial-datachina-marketsweb-scraping
PyPI keywords
GlobalFinancialData

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “historical stock quotes”

  • tushareFetches historical and real-time Chinese stock market data and…
  • finnhub-pythonFinnhub-python is a client library for the Finnhub Stock API,…
  • alpha-vantageFetches real-time and historical stock, cryptocurrency, forex, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also akshare · baostock · alpha-vantage · fear-and-greed · finlab · tickflow · finance-datareader · yahooquery · stockstats · pykrx