Skip to main content

A Python package for native utilities.

Project description

NativeUts

Installation

pip install nativeUts

GitHub

https://github.com/ZdekPyPi/NativeUts

Usage

LIST - Exemplo de Uso

list.group

from nativeUts.list import *

a = [1, 2, 3, 4, 5, 6, 7]
print(a.group(3))
#[[1, 2, 3], [4, 5, 6], [7]]

NUMBER - Exemplo de Uso

float.numberToBr

from nativeUts.number import *

valor = 12345.678
print(valor.numberToBr())
#12.345,68

STRING - Exemplo de Uso

str.only_numbers

from nativeUts.string import *

print("abc123d4".only_numbers())
#1234

str.usToNumber

from nativeUts.string import *

print("12,345.67".usToNumber())
#12345.67

str.brToNumber

from nativeUts.string import *

print("R$ 12.345,67".brToNumber())
#12345.67

str.joinPath

from nativeUts.string import *

print("home/user".joinPath("docs", "file.txt"))
#home/user/docs/file.txt

str.joinUrl

from nativeUts.string import *

print("https://site.com".joinUrl("api", "v1"))
#https://site.com/api/v1

str.fileName

from nativeUts.string import *

print("/home/user/file.txt".fileName())
#file.txt

str.isEmail

from nativeUts.string import *

print("user@mail.com".isEmail())
#True

str.isLike

from nativeUts.string import *

print("AB123".isLike(r"[A-Z]{2}[0-9]{3}"))
#True

str.regx

from nativeUts.string import *

print("abc123xyz456".regx(r"\d+"))
#['123', '456']

Change Log

1.0.0 (2025-12-02)

  • First Release

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

nativeuts-1.0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

nativeuts-1.0.5-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file nativeuts-1.0.5.tar.gz.

File metadata

  • Download URL: nativeuts-1.0.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nativeuts-1.0.5.tar.gz
Algorithm Hash digest
SHA256 57e99640b8c01967ec1377ded99c326d82d023226388a5840dc324ae75b31914
MD5 12583aca0da9cffa31c70df1abceb5c5
BLAKE2b-256 6eb7a118f547e9187a242b717a3d71a50895be71e0bb4cd54a21c78b1e7e265e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nativeuts-1.0.5.tar.gz:

Publisher: deploy.yml on ZdekPyPi/NativeUts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nativeuts-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: nativeuts-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nativeuts-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d44deb22f74ef61409791fef330c913bbeaef166e728b6cb32061e3ec8c30ba0
MD5 28549daccd7c2c5b2d877e747e926c00
BLAKE2b-256 8b34cb9502aba26452a13efdd9d7062bbb23b9e72194449da1c5b2df3ef402d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nativeuts-1.0.5-py3-none-any.whl:

Publisher: deploy.yml on ZdekPyPi/NativeUts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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