Skip to main content

Python SDK for getting data quickly

Project description

Qdata - Python SDK for index and search

为什么给项目改了名

  • 想做一个提供更多数据的SDK包,但不一定有时间。。。
  • 老的代码包可以在old_baiduindex里找到
  • 会根据我自己个人的数据需求,往里面添加不同的数据源,如果恰好帮助到你,很开心
  • 老的数据源会尽力维护

Data Source

Install

pip uninstall pycrypto  # 避免与pycryptodome冲突
pip install --upgrade qdata

Examples

百度指数

./examples/test_baidu_index.py

百度搜索

./examples/test_baidu_search.py

百度登录(获取百度Cookie)

./examples/test_baidu_login.py

  • 目前只提供二维码登录,密码账号登录也可以做,但不做,因为没必要。
  • 幸好工作不做爬虫,心太累了。

天眼查

./examples/test_tianyancha.py

  • 老婆做汇报着急用

Changelog

  • 2021/03/25 上线
  • 2021/03/26 更新百度登录功能
  • 2021/04/07 百度指数新增:实时百度指数
  • 2021/04/13 添加天眼查高级搜索公司数数据
  • 2021/05/18 修正打包问题

Project details


Download files

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

Files for qdata, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size qdata-0.1.9-py3-none-any.whl (60.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size qdata-0.1.9.tar.gz (55.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page