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

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.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iso_container-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for iso_container-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 301eac53371e26f8fccbf4b58f9ba04541a0c90c5f7ac446c5196c93ddc216f3
MD5 f4b89e9f275ee52a8c5b2bc04a51bb29
BLAKE2b-256 d253d3f65dbfc5e0860855cf3df7419317810c083d56d86bd855381429350d25

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