Skip to main content

Download data from the NRE DTD

Project description

nre-dtd

A tool for downloading data from the National Rail Enquiries' data feed.

This code is licensed under the WTFPL or the CC0 (at your discretion), but its output is not. Any NRE data included in the output of this program is subject to these terms and conditions.

Useful links

Get started

Get an account

Use the tool

From PyPI

  • Run python3 -m pip install nre-dtd.

From source

  • Run python3 -m pip install poetry if you have not got Poetry.
  • Run poetry init to set up the environment.
  • Run poetry shell to enter the environment.
  • Or, prepend poetry run -- to every command.

Examples

Get usage instructions

nre-dtd --help

Download everything

nre-dtd --fares <filename>.zip --routeing <filename>.zip --timetable <filename>.zip

This will ask you for a password. The downloaded files are zipped.

Supply the username and password on the command line

nre-dtd --username sarah@example.com --password "correct-horse-battery-staple" <...>

Powered by National Rail Enquiries

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

nre_dtd-1.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nre_dtd-1.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nre_dtd-1.1.1.tar.gz.

File metadata

  • Download URL: nre_dtd-1.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Windows/10

File hashes

Hashes for nre_dtd-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6cdd820649fe932f1f951ab5da323046051d26435717650c3652e2d576082166
MD5 99477c35e52361833cf59a27e82c8718
BLAKE2b-256 9fdb2306658d426755b0f0191a9ba20e3563041294716ad2b69ba7c04093e1cd

See more details on using hashes here.

File details

Details for the file nre_dtd-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: nre_dtd-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Windows/10

File hashes

Hashes for nre_dtd-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 867d0fac979800175d16e136c8a4c2b439320ee48f400e7c70780acb33e13acb
MD5 6a8576ae406db3980e2ddb5079c61d63
BLAKE2b-256 72914f250ee63359711366cba81f021d5ed1c6cb39012c1b0c19e65d269977fb

See more details on using hashes here.

Supported by

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