Skip to main content

12306查票助手,一键查询沿途所有站点,先上车后补票,暂不支持抢票

Project description

fk12306

12306查票助手,一键查询沿途所有站点,先上车后补票,暂不支持抢票

fk的意思是Find and checK,也就是F*** *** ****K,缩写为fk

仅支持Python3,推荐Python3.5+

安装

pip安装(推荐):

pip3 install fk12306

手动安装:

git clone https://github.com/0xHJK/fk12306
cd fk12306 && make install

不安装直接运行:

git clone https://github.com/0xHJK/fk12306
cd fk12306
python3 fk12306.py

使用方法

$ fk12306 --help
Usage: fk12306 [OPTIONS]

  12306查票助手 Example:fk12306 -f 上海 -t 北京 -d "2019-03-01" -n "G16 G18 G22" -r

Options:
  --version                Show the version and exit.
  -f, --from-station TEXT  出发地
  -t, --to-station TEXT    目的地
  -d, --date TEXT          日期
  -s, --seats TEXT         限制座位
  -n, --train-no TEXT      限制车次
  -z, --zmode              高级模式
  -zz, --zzmode            终极模式
  -r, --remaining          只看有票
  --gcd                    只看高铁动车城际
  --ktz                    只看普快特快直达等
  --proxies-file TEXT      代理列表文件
  --stations-file TEXT     站点信息文件
  --cdn-file TEXT          CDN文件
  --help                   Show this message and exit.

使用示例

LICENSE

MIT License

Project details


Download files

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

Source Distribution

fk12306-0.1.0.tar.gz (71.9 kB view details)

Uploaded Source

Built Distribution

fk12306-0.1.0-py3-none-any.whl (72.9 kB view details)

Uploaded Python 3

File details

Details for the file fk12306-0.1.0.tar.gz.

File metadata

  • Download URL: fk12306-0.1.0.tar.gz
  • Upload date:
  • Size: 71.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

File hashes

Hashes for fk12306-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebaed08108363c374a5a364ef6ccecefbcef84b3980423e55a9df2f8ecf67baa
MD5 c0fdb054e66c9dcb3b218b399890c8c4
BLAKE2b-256 0d9c52a4a5ab3013a17beb7e10ef27f686eb3674e3d6a61901f6f72b1bbf688b

See more details on using hashes here.

Provenance

File details

Details for the file fk12306-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fk12306-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

File hashes

Hashes for fk12306-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba4b9fc4943af1e6a19f66523c11ee4a1f2e08124104fdccde1f4effdf2b1e7d
MD5 f38d9eccbeff63ec8f4b6992f5a1e014
BLAKE2b-256 face771d18d8eafe6c43adfce7e8421ea02f3e1c8f76e7df62436738188db3c6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page