container-iso


Namecontainer-iso JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Jiseoup/container-iso
SummaryA Python package for ISO 6346 container information and validation.
upload_time2024-12-01 09:09:17
maintainerNone
docs_urlNone
authorJiseoup
requires_python>=3.7
licenseMIT
keywords container container iso container validate iso iso6346
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Container ISO
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 container-iso
```

## 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.

## Usage
### Search Container Information
You can retrieve detailed container information using an ISO code:
```python
from container_iso import get_container_info

# Example usage
container_info = get_container_info.get('22GP')
print(container_info)
```

### Validate Container Numbers
Validate whether a container number is compliant with the ISO 6346 standard:

```python
from container_iso import validate_container

# Example usage
is_valid = validate_container('MSCU1234567')
print('Valid Container Number' if is_valid else 'Invalid Container Number')
```

## License

This project is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Jiseoup/container-iso",
    "name": "container-iso",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "container, container iso, container validate, iso, iso6346",
    "author": "Jiseoup",
    "author_email": "jseoup@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# Container ISO\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 container-iso\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## Usage\r\n### Search Container Information\r\nYou can retrieve detailed container information using an ISO code:\r\n```python\r\nfrom container_iso import get_container_info\r\n\r\n# Example usage\r\ncontainer_info = get_container_info.get('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 container_iso 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## License\r\n\r\nThis project is licensed under the MIT License.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python package for ISO 6346 container information and validation.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Jiseoup/container-iso"
    },
    "split_keywords": [
        "container",
        " container iso",
        " container validate",
        " iso",
        " iso6346"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "744348a79a5db56de7293ce1e3a42673575a02e78b597e9bdc8a7d2949a34199",
                "md5": "8127a74bc51c37ab0c0192f1deed9b99",
                "sha256": "7c61f76ffd4ab6f2bc4584b30d23566e527b95122d8c6cc7f1831b54af1e5249"
            },
            "downloads": -1,
            "filename": "container_iso-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8127a74bc51c37ab0c0192f1deed9b99",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8640,
            "upload_time": "2024-12-01T09:09:17",
            "upload_time_iso_8601": "2024-12-01T09:09:17.897168Z",
            "url": "https://files.pythonhosted.org/packages/74/43/48a79a5db56de7293ce1e3a42673575a02e78b597e9bdc8a7d2949a34199/container_iso-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-01 09:09:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Jiseoup",
    "github_project": "container-iso",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "container-iso"
}
        
Elapsed time: 0.70150s