Skip to main content

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('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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iso_container-1.0.3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file iso_container-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: iso_container-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.7

File hashes

Hashes for iso_container-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0e0041c6ace8bd9485760018a145a6e9f68681bba326d981037853de84d34120
MD5 a0514b86d96055336793024fdbd3530e
BLAKE2b-256 88b15662b2f07580198e76c388af144ceb8e372808893db664d17738618ea791

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page