Skip to main content

Ukraine Phone Formatter is a simple Python library that formats Ukrainian phone numbers into a readable and standardized format.

Project description

Ukraine Phone Formatter (python)

Ukraine Phone Formatter is a simple Python library that formats Ukrainian phone numbers into a readable and standardized format

Installation

pip install ukraine-phone-formatter

Usage

from ukraine_phone_formatter import format_ukrainian_phone

phone_number = "0501234567"
formatted_number = format_ukrainian_phone(phone_number)
print(formatted_number)  # Output: +38 (050) 123-45-67

phone_number_with_code = "380679876543"
formatted_number_with_code = format_ukrainian_phone(phone_number_with_code)
print(formatted_number_with_code)  # Output: +38 (067) 987-65-43

License

This project is licensed under the MIT License

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ukraine_phone_formatter-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

ukraine_phone_formatter-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ukraine_phone_formatter-0.1.0.tar.gz.

File metadata

  • Download URL: ukraine_phone_formatter-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for ukraine_phone_formatter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 034f9e3ef03877a853a9a08e9dde72b59f32022e7c491952b02c9eec5afa9835
MD5 ea5f98a5d91abc8c0dcff4f2f1c03e1c
BLAKE2b-256 9e52a7ca2df792b6ae917a423e68c603d8527016959b52a3b2dc8da94a1b5b03

See more details on using hashes here.

File details

Details for the file ukraine_phone_formatter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ukraine_phone_formatter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cea345191078bcd157e9427a07a116655a3f6973f4f185f3605394ace687f56
MD5 341f2b30fa7c3c0afd6bc526f0ab8e86
BLAKE2b-256 f31bc1eaf2043050f967bcd3059f5f5905baa441476c84e9240eae0ebf768831

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