Skip to main content

Utils Funcs

A collection of reusable functions that simplify common tasks and frequent operations within the project. These functions are designed to improve development efficiency by providing simple and effective solutions for tasks like data manipulation, validations, and transformations.

✨ Features

  • is_valid_email(email: str) -> bool: Validates if the provided email is in a correct format.
  • slugify(text: str, separator: str = "-") -> str: Converts a string into a slugified format, suitable for URLs.

📦 Installation

You can install this package via pip:

pip install utils_funcs

🚀 Usage

is_valid_email

This function checks if an email is valid according to a standard regex pattern.

from your_package import is_valid_email

email = "example@example.com"
is_valid = is_valid_email(email)

print(is_valid)  # True if the email is valid, False otherwise

slugify

This function converts a given string into a slugified format, which is useful for generating clean URLs. You can also specify a custom separator (default is -).

from utils_funcs import slugify

text = "This is an Example Title!"
slug = slugify(text)

print(slug)  # Output: "this-is-an-example-title"

🤝 Contributing

Contributions are welcome! If you find any issues or would like to add new features, feel free to fork the repository and submit a pull request.

⚖️ License

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

Metadata

Release files for utils_funcs 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utils_funcs 0.1.0
File Size Uploaded Provenance
utils_funcs-0.1.0.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for utils_funcs 0.1.0
File Interpreter ABI Platform
utils_funcs-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / utils_funcs-0.1.0.tar.gz

Download URL utils_funcs-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aed51af0031346a8f60565eedec337314ded693ba3db91ca31d82d5126e64dad
BLAKE2b-256 checksum
How to use checksums
1848b74569d020d96d1bb8546b11fe41a87b597c7bc29c4ce6b3c47ec5ffdf00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Windows/11

Release files / utils_funcs-0.1.0-py3-none-any.whl

Download URL utils_funcs-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18087a96d4157b88a205eafc7f01b577494c7ebc191e9223869fc359106be6da
BLAKE2b-256 checksum
How to use checksums
72e478f7c26f836d10cbfcdccdf5e124560c572c49d2d7483a303655585da343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Windows/11

Security for utils_funcs 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page