# ISO Container
A Python package based on ISO 6346 Container Codes.
This package provides functionalities to search for container information using ISO codes and to validate container numbers.
## Installation
Install the package using pip:
```bash
pip install iso-container
```
## Usage
### Search Container Information
You can retrieve detailed container information using an ISO code:
```python
from iso_container import get_container_info
# Example usage
container_info = get_container_info('22GP')
print(container_info)
```
### Validate Container Numbers
Validate whether a container number is compliant with the ISO 6346 standard:
```python
from iso_container import validate_container
# Example usage
is_valid = validate_container('MSCU1234567')
print('Valid Container Number' if is_valid else 'Invalid Container Number')
```
## Dataset
The dataset used in this package is derived from the [ISO-Container-Codes](https://github.com/datasets/ISO-Container-Codes) repository, processed to enhance usability.
## License
This project is licensed under the [MIT License](https://github.com/Jiseoup/container-iso/blob/main/LICENSE).
Raw data
{
"_id": null,
"home_page": "https://github.com/Jiseoup/iso-container",
"name": "iso-container",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "container, iso container, container validate, iso, iso6346",
"author": "Jiseoup",
"author_email": "jseoup@gmail.com",
"download_url": null,
"platform": null,
"description": "# ISO Container\r\nA Python package based on ISO 6346 Container Codes. \r\nThis package provides functionalities to search for container information using ISO codes and to validate container numbers.\r\n\r\n## Installation\r\nInstall the package using pip:\r\n```bash\r\npip install iso-container\r\n```\r\n\r\n## Usage\r\n### Search Container Information\r\nYou can retrieve detailed container information using an ISO code:\r\n```python\r\nfrom iso_container import get_container_info\r\n\r\n# Example usage\r\ncontainer_info = get_container_info('22GP')\r\nprint(container_info)\r\n```\r\n\r\n### Validate Container Numbers\r\nValidate whether a container number is compliant with the ISO 6346 standard:\r\n\r\n```python\r\nfrom iso_container import validate_container\r\n\r\n# Example usage\r\nis_valid = validate_container('MSCU1234567')\r\nprint('Valid Container Number' if is_valid else 'Invalid Container Number')\r\n```\r\n\r\n## Dataset\r\nThe dataset used in this package is derived from the [ISO-Container-Codes](https://github.com/datasets/ISO-Container-Codes) repository, processed to enhance usability.\r\n\r\n## License\r\nThis project is licensed under the [MIT License](https://github.com/Jiseoup/container-iso/blob/main/LICENSE).\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package for ISO 6346 container information and validation.",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/Jiseoup/iso-container"
},
"split_keywords": [
"container",
" iso container",
" container validate",
" iso",
" iso6346"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "88b15662b2f07580198e76c388af144ceb8e372808893db664d17738618ea791",
"md5": "a0514b86d96055336793024fdbd3530e",
"sha256": "0e0041c6ace8bd9485760018a145a6e9f68681bba326d981037853de84d34120"
},
"downloads": -1,
"filename": "iso_container-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a0514b86d96055336793024fdbd3530e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8673,
"upload_time": "2024-12-02T14:10:17",
"upload_time_iso_8601": "2024-12-02T14:10:17.074111Z",
"url": "https://files.pythonhosted.org/packages/88/b1/5662b2f07580198e76c388af144ceb8e372808893db664d17738618ea791/iso_container-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-02 14:10:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Jiseoup",
"github_project": "iso-container",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "iso-container"
}