Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

tsshare SDK

A drop-in replacement for Tushare's pro_api — same API, no quota limits.

Installation

pip install tsshare

Quick Start

import tsshare as ts

# One-line setup: paste your auth_code
ts.set_token("your-auth-code")

# Use exactly like tushare pro_api
pro = ts.pro_api()
df = pro.daily(ts_code="000001.SZ", start_date="20240101", end_date="20240201")
print(df)

Supported APIs

All Tushare APIs are supported: daily, stock_basic, trade_cal, income, balancesheet, moneyflow, and more.

Platform Support

  • Windows (x86_64)
  • macOS (Apple Silicon / Intel)
  • Linux (x86_64 / aarch64)

Python 3.8 or later required.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsshare-1.0.10.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsshare-1.0.10-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file tsshare-1.0.10.tar.gz.

File metadata

  • Download URL: tsshare-1.0.10.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tsshare-1.0.10.tar.gz
Algorithm Hash digest
SHA256 2b547cd55264a1852b1d7c06dbf1b9c862ae4c3ec1a4faea416983b7611d87e9
MD5 2693fe215918520652af78220ab3626e
BLAKE2b-256 09d74efa5d2c78677b20cc2d7240a666fa4078c645ccd2cc4b473d8d1be38797

See more details on using hashes here.

File details

Details for the file tsshare-1.0.10-py3-none-any.whl.

File metadata

  • Download URL: tsshare-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tsshare-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1a22c4a1d6420923f9cbfea9d01ae1ca229f1f339a243e96620b9d575018a3e7
MD5 a6bd3a26cda3b2e703b6fd0c2e04497e
BLAKE2b-256 12fe9281a6c0bc9bc0de94dffbc2eb3578704709c35031c75ba46f8f89a92c18

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page