12306-booking
12306订票工具
12306booking vs 12306 vs 第三方订票平台
为什么要写一个订票工具?
- 12306订票体验太差。验证码识别太逆天,人眼无法识别。刷新、刷新、刷新,刷到手疼。票就在那里,你就是定不上
- 第三方订票平台太流氓。收集用户数据,还收不可接受的手续费(美其名曰技术服务费,其实就是 CPU和 RAM),最恐怖的是还要将用户数据拿到市场交易
解决了什么问题,有什么优点?
- 两次扫码就完成了登录、查询余票、下单到支付的所有流程
- 本地运行,不收集任何用户数据,不用输入用户密码,不用担心任何数据泄露、交易行为
- 完全开源,没有任何黑箱操作
- 刷新、订票流程快,先人一步抢到票
- 支持多车次、多席别、多乘客抢票
使用说明
安装
pip install 12306-booking -U --user;
如果使用MacOS,使用虚拟环境安装
virtualenv venv; source venv/bin/activate; pip install 12306-booking -U
订票
12306-booking --train-date 2020-01-01 --train-names K571 --seat-types 硬卧 --from-station 北京 --to-station 麻城 --pay-channel 微信 --passengers 任正非,王石
多车次、多席别、多乘客之间用英文的','分割
订票流程
订票状态机
赞助
如果有帮助到你订到票,请扫描二维码赞赏我们,你的鼓励是我们持续改进优化的动力。
Metadata
Release files for 12306-booking 0.1.18
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 | |
|---|---|---|---|---|
| 12306-booking-0.1.18.tar.gz | 178.8 kB | Without provenance | Details |
Release files / 12306-booking-0.1.18.tar.gz
| Download URL | 12306-booking-0.1.18.tar.gz |
|---|---|
| Size | 178.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66e682e1d456b52f28355372f87113cfa5cf0593f1f4857aaa2f29ede32a9c05
|
|
BLAKE2b-256 checksum How to use checksums |
c1048edaf6441667509179be2e875cdadb1f33b66960bf7fdc9e3300ed15ad8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/2.7.10
|
Security for 12306-booking 0.1.18
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.