Skip to main content

Train tickets query via command line.

Project description

tickets enable you query train tickets via command line, type:

$ tickets -dt 上海 北京 20160615

in command line, get:


pip install tickets


    tickets [options] <from> <to> <date>

    from             出发站
    to               到达站
    date             查询日期

    -h, --help       显示该帮助菜单.
    -d               动车
    -g               高铁
    -k               快速
    -t               特快
    -z               直达

    tickets 南京 北京 20160707
    tickets -k  南京南 上海 2016-07-07
    tickets -dg 上海虹桥 北京西 2016/07/07


  • Worked with py2 and py3


  • use unicode global
  • add a logo


  • Make it live!
  • Added to PyPI

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 tickets, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size tickets-0.1.7-py2-none-any.whl (41.9 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size tickets-0.1.7.tar.gz (23.5 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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page