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/baidu_index_best_practice.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 修正打包问题
- 2022/05/12 百度指数添加Cipher-Text(不确定部分逻辑)
- 2022/05/16 一些小的改动
- 2022/05/30 修正百度指数加密逻辑
- 2022/09/06 添加检查关键词方法、添加最佳实践脚本
Stargazers over time
Metadata
Release files for qdata 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qdata-0.3.0.tar.gz | 58.7 kB | Without provenance | Details for qdata-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qdata-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for qdata-0.3.0-py3-none-any.whl |
Total release size: 122.5 kB
Release files / qdata-0.3.0.tar.gz
| Download URL | qdata-0.3.0.tar.gz |
|---|---|
| Size | 58.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea929ff25181f8d137502ba0ef062043e8d593540fdedd198329cb4ad676c77c
|
|
BLAKE2b-256 checksum How to use checksums |
372cfa78e562ca1715820447d7e0f093c160f4edadf271c1ac25cb055d1c8c25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.14
|
Release files / qdata-0.3.0-py3-none-any.whl
| Download URL | qdata-0.3.0-py3-none-any.whl |
|---|---|
| Size | 63.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea3e8b5efa549f44ed544378ac92070004b351ed1d9e15dbcf33501ce37b0738
|
|
BLAKE2b-256 checksum How to use checksums |
3d96f20941c1cb47a0c69b9c16a6809f33fb1ed56a7bec845f7adfd48dfdaa00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.14
|
Security for qdata 0.3.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.