Skip to main content

A collection of utility functions for various tasks

Project description

Utilisys

Utilisys is a Python package that provides a collection of utility functions for various tasks including API key retrieval, phone number standardization, dictionary flattening, contract requirement handling, email parsing, file operations, and data processing and conversion.

Installation

You can install Utilisys using pip:

pip install utilisys

Usage

Here's a quick example of how to use Utilisys:

from utilisys import standardize_phone_number, flatten_dict

# Standardize a phone number
phone = standardize_phone_number("(123) 456-7890")
print(phone)  # Output: +1 123-456-7890

# Flatten a nested dictionary
nested_dict = {"a": 1, "b": {"c": 2, "d": {"e": 3}}}
flat_dict = flatten_dict(nested_dict)
print(flat_dict)  # Output: {'a': 1, 'b_c': 2, 'b_d_e': 3}

For more detailed usage instructions, please refer to the documentation.

Version History

  • 0.1.1: Added support for Python 3.10 and 3.11
  • 0.1.0: Initial release

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

utilisys-0.1.1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

utilisys-0.1.1-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

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