A Python package for ISO 6346 container information and validation.
Project description
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:
pip install iso-container
Usage
Search Container Information
You can retrieve detailed container information using an ISO code:
from iso_container 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:
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 repository, processed to enhance usability.
License
This project is licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iso_container-1.0.2-py3-none-any.whl.
File metadata
- Download URL: iso_container-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddc5e069061c598be72b6cc60cec6d01d07fa682319ebae1fbd02cd608bbf92f
|
|
| MD5 |
4e32903b9d1074c9552f8a78b10511e3
|
|
| BLAKE2b-256 |
bd1dcfa1abe9fa4070756c30b033d288ecc8833c569e67ce8f4021e8f70186ef
|