# carrier-services
Get carrier services from shipping lines.
## Installation
From [PyPI](https://pypi.org/project/carrier-services/):
python -m pip install carrier-services
## Setup
The following setup must be done before running:
1. Install Google Chrome. Chrome version 109 or newer is required.
2. Create below environment variables in your OS environment:
* `CS_SMTP_HOST`: SMTP host for sending notification emails
* `CS_CONFLUENCE_TOKEN`: Token for uploading carrier service master to Wiki
<br/><br/>
3. Specify the directory path of data files & log files in below lines of
`site-packages/carrier_services/utils/config.toml`. For example:
```
[environment]
directory.data = "" # /home/user1/carrier_services/data"
directory.log = "" # /home/user1/carrier_services/log"
```
If left unchanged as empty, the defaults <user_home>/carrier_services/data & <user_home>/carrier_services/log will be used:
## How to Use
carrier-services is a console application, named `carrier_services`.
>>> python -m carrier_services
Raw data
{
"_id": null,
"home_page": "https://github.com/alexcheng628/carrier-services",
"name": "carrier-services",
"maintainer": "Alex Cheng",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "alex28.biz@gmail.com",
"keywords": "carrier services",
"author": "Alex Cheng",
"author_email": "alex28.biz@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2e/12/f300c834f6106f456f3acf67dbf8ccf7d2019c22d96e082858641f459cfc/carrier_services-0.3.0.tar.gz",
"platform": null,
"description": "# carrier-services\nGet carrier services from shipping lines.\n\n## Installation\nFrom [PyPI](https://pypi.org/project/carrier-services/):\n\n python -m pip install carrier-services\n\n## Setup\nThe following setup must be done before running:\n1. Install Google Chrome. Chrome version 109 or newer is required.\n2. Create below environment variables in your OS environment:\n * `CS_SMTP_HOST`: SMTP host for sending notification emails\n * `CS_CONFLUENCE_TOKEN`: Token for uploading carrier service master to Wiki\n<br/><br/>\n3. Specify the directory path of data files & log files in below lines of \n`site-packages/carrier_services/utils/config.toml`. For example:\n ```\n [environment]\n directory.data = \"\" # /home/user1/carrier_services/data\"\n directory.log = \"\" # /home/user1/carrier_services/log\"\n ```\n If left unchanged as empty, the defaults <user_home>/carrier_services/data & <user_home>/carrier_services/log will be used: \n\n## How to Use\ncarrier-services is a console application, named `carrier_services`.\n\n >>> python -m carrier_services\n",
"bugtrack_url": null,
"license": "Proprietary",
"summary": "Get carrier services from shipping lines.",
"version": "0.3.0",
"split_keywords": [
"carrier",
"services"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1eb9497962bf0f9018c5af32eef7681e224a7c3f0082948f301d8ff0cbf0e6a2",
"md5": "a94a1b6a4a4e48fefe88c394eaf2db9b",
"sha256": "da3e3eeb3a53c0285d2d52e8983d9bb214a6e98a01bca9225bfa0b19b8f45330"
},
"downloads": -1,
"filename": "carrier_services-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a94a1b6a4a4e48fefe88c394eaf2db9b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 10989,
"upload_time": "2023-01-31T00:32:21",
"upload_time_iso_8601": "2023-01-31T00:32:21.136653Z",
"url": "https://files.pythonhosted.org/packages/1e/b9/497962bf0f9018c5af32eef7681e224a7c3f0082948f301d8ff0cbf0e6a2/carrier_services-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2e12f300c834f6106f456f3acf67dbf8ccf7d2019c22d96e082858641f459cfc",
"md5": "7ca4162368d1de01cf97a3f4fe2fc6c2",
"sha256": "38e29014e5fb54b14edac9b8cfa79a8f1e5d69a7d4e782cad98d0f638a197758"
},
"downloads": -1,
"filename": "carrier_services-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "7ca4162368d1de01cf97a3f4fe2fc6c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 11866,
"upload_time": "2023-01-31T00:32:22",
"upload_time_iso_8601": "2023-01-31T00:32:22.474685Z",
"url": "https://files.pythonhosted.org/packages/2e/12/f300c834f6106f456f3acf67dbf8ccf7d2019c22d96e082858641f459cfc/carrier_services-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 00:32:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "alexcheng628",
"github_project": "carrier-services",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "carrier-services"
}