Skip to main content

A personal package that serves several purposes, especially in Chile.

Project description

BarriosLib

BarriosLib is a personal Python library where I add functions to make my work easier.
Anyone can use it, but it’s mainly for my own convenience.
More functions will be added over time.

Current Functions

RUT Functions

  • rutFormat(rut: str) -> str
    Formats a Chilean RUT to the standard format (e.g., 99.999.999-9).

  • rutUnformat(rut: str) -> str
    Removes formatting from a Chilean RUT (e.g., 999999999).

  • rutValidate(rut: str) -> bool
    Checks if a Chilean RUT is valid.

  • rutWho(rut: str) -> str
    Returns the name, location, and sex associated with a Chilean RUT (if available).

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

barrios-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

barrios-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for barrios-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7af0177ab2a2efed1eef61ecde724e563db486ab29f17c99d0891b204dfaa76
MD5 a356f0ab6613ecac499c1f14fd9a13e9
BLAKE2b-256 1ed35015e192e362a9de660e67a76be24695258071f68e8c0d9148a660925454

See more details on using hashes here.

File details

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

File metadata

  • Download URL: barrios-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for barrios-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71f9bafbfc9c038dbf2396575a0b1a271ba9e5a4ea45a7dbd68f1662152f08bd
MD5 ac5b4444ce5cf6ce3d1e4d8291261cf7
BLAKE2b-256 ed8094368735832074d726ef67cb887e0ae5c3f4be57bbbbfb115d3823c99386

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