Skip to main content

Track and trace shipping containers across all major steamship lines

Project description

tracktrace

Track shipping containers across all major shipping lines as well as Class 1 North American railways.

:heavy_check_mark: - Supported

:white_check_mark: - Not supported yet

Ocean

Steamship Line SCAC Supported Container Tracking Website iOS App Android App
Alianca ANRM :heavy_check_mark: Link No No
APL APLU :heavy_check_mark: Link Yes Yes
Arkas Container Transport ARKU :white_check_mark: Link No No
CMA CGM CMDU :heavy_check_mark: Link Yes No
Cosco COSU :white_check_mark: Link Yes No
Emirates Shipping Line ESPU :white_check_mark: Link Yes Yes
Evergreen EGLV :white_check_mark: Link No Yes
Hamburg SUD SUDU :heavy_check_mark: Link No No
Hapag Lloyd HLCU :heavy_check_mark: Link Yes Yes
Hyundai Merchant Marine (HMM) HDMU :white_check_mark: Link Yes Yes
Maersk MAEU :white_check_mark: Link Yes Yes
Matson MATS :white_check_mark: Link Yes Yes
Mediterranean Shipping Company (MSC) MSCU :heavy_check_mark: Link Yes Yes
ONE Line ONEY :heavy_check_mark: Link No No
Orient Overseas Container Line (OOCL) OOLU :white_check_mark: Link Yes Yes
Pacific International Lines (PIL) PCIU :white_check_mark: Link No No
Wan Hai Lines WHLC :white_check_mark: Link Yes Yes
Yang Ming YMLU :white_check_mark: Link Yes Yes
Zim Integrated Shipping Services (ZIM) ZIMU :white_check_mark: Link Yes Yes

Rail

Railroads often require an account to track containers. At certain railroads, you also need to be a Notify Party to access tracking information.

For example, BNSF doesn't show any tracking information if your company is not a Notify Party. UP, on the other hand, shows partial tracking information.

Railroad Supported Need Account Need to be a Notify Party
BNSF Railway (BNSF) :white_check_mark: Yes Yes
Canadian National Railway (CN) :white_check_mark: Yes Yes
Canadian Pacific Railway (CPR) :white_check_mark: Yes Yes
CSX Transportation (CSX) :white_check_mark: No No
Ferromex :white_check_mark: Yes Don't know
Kansas City Southern Railway (KCS) :white_check_mark: Yes Yes
Norfolk Southern Railway (NS) :white_check_mark: Yes No
Union Pacific Railway (UP) :white_check_mark: Yes No

Installation

pip install tracktrace 

Usage example

>>> from tracktrace import ocean
>>>
>>> container = "MEDU3288655"
>>> scac = "MSCU"
>>> 
>>> shipment = ocean.container.create(scac=scac, container=container)
>>>
>>> shipment.updates

[{'location': 'USSTL',
  'vessel': 'TRUCK',
  'voyage': '',
  'movement': 'Empty container returned',
  'mode': 'TR',
  'date': DateTime(2020, 12, 11, 15, 44, 0, tzinfo=Timezone('UTC'))},
 {'location': 'USESL',
  'vessel': 'CSX TRANSPORTATION',
  'voyage': '',
  'movement': 'Rail last free day',
  'mode': '',
  'date': DateTime(2020, 12, 8, 23, 59, 0, tzinfo=Timezone('UTC'))},
 {'location': 'USSTL',
  'vessel': 'TRUCK',
  'voyage': '',
  'movement': 'Full import container out gated',
  'mode': 'TR',
  'date': DateTime(2020, 12, 8, 19, 27, 0, tzinfo=Timezone('UTC'))},
 {'location': 'USESL',
  'vessel': 'CSX TRANSPORTATION',
  'voyage': '',
  'movement': 'Notified',
  'mode': '',
  ...
  ...
  ...
  ...

Release History

  • 0.0.5
    • Work in progress

Meta

Dhruv Kar – dhruvkardhruv@wints.org

Distributed under the MIT license. See LICENSE for more information.

https://github.com/dhruvkar/

Contributing

  1. Fork it (https://github.com/dhruvkar/tracktrace/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

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

tracktrace-0.0.7.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

tracktrace-0.0.7-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file tracktrace-0.0.7.tar.gz.

File metadata

  • Download URL: tracktrace-0.0.7.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.11.0-7612-generic

File hashes

Hashes for tracktrace-0.0.7.tar.gz
Algorithm Hash digest
SHA256 63cdc24372c1dfd15cff30dc378ac590ddbbe63a3dcd79e0ee2dd08e207a4777
MD5 47cca67689cf29113cfad5c8af53e181
BLAKE2b-256 c14c1fa15d0014dd275b7cb8dd2d04ad038b345d7a063191dd45d157f73a60f2

See more details on using hashes here.

File details

Details for the file tracktrace-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: tracktrace-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.6 Linux/5.11.0-7612-generic

File hashes

Hashes for tracktrace-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4df99f7ac95ae105ab53dcdb3c4f0cffa7ba4723425ef0736557ef58e603f7c9
MD5 d38221338ccd75d3ff574826ecc3ba01
BLAKE2b-256 c3b7ce111090c05b64fb9bf1ec274e73b2a355e235a6f375c13878b14c5e54b7

See more details on using hashes here.

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