Skip to main content

Trabalhe com formatação de números de uma maneira rápido e fácil.

Project description

Trabalhe com formatação de números de uma maneira rápido e fácil.

from lealNumeros import LealNumerosAPI

# Put punctuation in numbers
print(LealNumerosAPI.numerosPontuados(10000))
# Output: 10.000

# Put symbols
        # Available formats: (8)    (pt-Br: mil | en: Thousand (Multiple languages))
        #                           M (Million)
        #                           B (Billion)
        #                           T (Trillion)
        #                           Q (Quadrillion)
        #                           Qi (Quintillion)
        #                           Sx (Sextillion)
        #                           Sp (Septillion)
print(LealNumerosAPI.numerosSimbolos(10000))
# Output: 10Mil

# Write the name of the number
print(LealNumerosAPI.numerosNome(100, lang='pt-br')) # Multiple language (Exemplo: en (ENGLISH))
# Output: Cem (pt-br)

# Write differences between numbers
print(LealNumerosAPI.numerosDiferenca(5, 10))
# Output: 5

# Write differences between days
print(f'{LealNumerosAPI.dataDiferenca(1, 2, 2023)} Days')

# Calculator
account = input('What is the mathematical account? (ex .: 10 + 5)')
result = LealNumerosAPI.numerosCalculadora(account)
print(result)

# CHANGELOGS -> https://discord.com/invite/394ChkbKrt
# 0.0.6 - Added multiple languages
# 0.0.5 - Added function to calculate (add, subtract, multiply and divide)
# 0.0.5 - Added function to compare days (by date: day/month/year)
# 0.0.4 - Added function to compare difference between numbers.

Discord: silvaleal#7458 Suporte: https://discord.gg/394ChkbKrt

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

lealnumeros-0.0.6.3.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file lealnumeros-0.0.6.3.1.tar.gz.

File metadata

  • Download URL: lealnumeros-0.0.6.3.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for lealnumeros-0.0.6.3.1.tar.gz
Algorithm Hash digest
SHA256 7ba489ea690bcc248c57167476034425f8a7e9f26a774f0d9561557c99a95b8e
MD5 4d68f26ec18bd17463df2f9c18c84b59
BLAKE2b-256 5cc4b035c5a66ccee67aa1605628cec62d86c95e0f49d2c7565dbf81ccd0b094

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