Skip to main content

Get sea schedules from Maersk and other shipping lines.

Project description

seaschedule

Get sea schedules from Maersk and other shipping lines.

Installation

From PyPI:

python -m pip install seaschedule

Setup

The following setup must be done before running seaschedule:

  1. Create below environment variables in your OS environment:
    • SS_SMTP_HOST: SMTP host for sending notification emails
    • SS_IB_SFTP_USER: SFTP user for uploading schedule files to Information Broker
    • SS_IB_SFTP_PWD: SFTP password for uploading schedule files to Information Broker
    • SS_MAEU_API_KEY: API key given by Maersk

  2. Specify below directory paths in site-packages\seaschedule\config\config.toml for storing the schedule data files and log files. For example:
    [environment]
    directory.data = "/home/user1/seaschedule/data"
    directory.log = "/home/user1/seaschedule/log"
    
    # Windows
    directory.data = "C:\Users\user1\Documents\seaschedule\data"
    directory.log = "C:\Users\user1\Documents\seaschedule\data"
    

How to Use

seaschedule is a console application, named seaschedule.

>>> python -m seaschedule

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

seaschedule-0.0.3.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

seaschedule-0.0.3-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

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