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

Metadata

Release files for tsshare 1.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsshare 1.0.19
File Size Uploaded Provenance
tsshare-1.0.19.tar.gz 6.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tsshare 1.0.19
File Interpreter ABI Platform
tsshare-1.0.19-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / tsshare-1.0.19.tar.gz

Download URL tsshare-1.0.19.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4971759a098b6028da02b53261f8005ce4159f4695418374e20be0c9e8672333
BLAKE2b-256 checksum
How to use checksums
16e50a17ab5bb8d136648007ab470bea0ea3ef91e7fe64fd1503bdda5cb1b54b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / tsshare-1.0.19-py3-none-any.whl

Download URL tsshare-1.0.19-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dd15f3fffd046ba286289a6b873587aa6dd6511a5833941e3c2595f57d3d362
BLAKE2b-256 checksum
How to use checksums
64b2ec98463bfb0e98e01e770a22122991df9c7cde7d3dd9f5758740811cc903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for tsshare 1.0.19

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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