Metadata-Version: 2.4
Name: squarecloud
Version: 1.6
Summary: Description
Author-email: NemRela <conceicaolucas68@gmail.com>
License: MIT
Keywords: python,pypi,square,cloud,squarecloud
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

Descrição do projeto
(PT-BR) Informações / (EN) Informations

(PT-BR) Instalação / (EN) Installation
pip install squarecloud
(PT-BR) Forma de uso padrão em Python / (EN) How to use the basic with Python
from squarecloud import Square

print(Square.ram())  # 23/100MB
print(Square.used_ram())  # 23
print(Square.total_ram())  # 100

# (PT-BR) Retorna a quantidade de SSD ocupada pelo seu bot
# (EN) Returns the amount of SSD occupied by your bot
print(Square.ssd())
(PT-BR) Forma de uso avançado em Python / (EN) How to use the advanced with Python
from squarecloud import Square

# (PT-BR) Com conversão de MB(MegaBytes) para GB(GigaBytes) e com unidade de medida.
# (EN) With MB to GB conversion
print(Square.ram(formatted=True))  # 1.23GB/2.50GB
print(Square.used_ram(formatted=True))  # 1.23GB
print(Square.total_ram(formatted=True))  # 2.50GB

# (PT-BR) Sem conversão de B(Bytes) para MB(MegaBytes) e sem unidade de medida.
# (EN) Without Bytes conversion
print(Square.used_ram(raw=True))  # 1320702443.52
print(Square.total_ram(raw=True))  # 2684354560

# (PT-BR) Obs: O status do SSD é o mesmo jeito do básico
# (EN) Note: The SSD status is the same way of the basic.

# (PT-BR)
# (EN)
