A update
Project description
Features
IDLogin
This function is used to obtain a UUID from the IDLogin system.
Example:
from ConsoleType import idlogin
# Parameters:
# IP address, port, error message if connection fails,
# verification phrase (sent before UUID),
# and the IDLogin account credentials.
id = idlogin("localhost", 5000, "error", "dp", "user", "password")
print(id)
IDLogComs
This function sends commands to the IDLogin server.
Example:
from ConsoleType import idlogcoms
# Parameters:
# IP address, port, error message,
# account credentials, and the command.
# The command "noupuuid" prevents the UUID from being updated.
res, status = idlogcoms("localhost", 5000, "error", "admin", "123", "noupuuid")
# Two variables are returned:
# res → important response from the server
# status → HTTP-like status code sent by the server (200, 404, etc.)
print(res)
print(status)
Prints
This function displays a loading-style animation with text in the console.
Example:
from ConsoleType import prints
# Parameters:
# text → text that will move across the screen
# speed → delay time for the animation
# length → length of the animation line
prints("text", 1, 10)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
consoletype-1.4.8.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file consoletype-1.4.8.tar.gz.
File metadata
- Download URL: consoletype-1.4.8.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7b9371df10e36d01fc81f7302f2b29d3e806d9d5d227c44124e96f2e39b5c51
|
|
| MD5 |
832091911452244f8eba59dd89187ea4
|
|
| BLAKE2b-256 |
287e9754a3e79bb4ba6b4e4cafeb0a68a70cdaaa5aeb22f3c31ef5e7ab1bca7b
|
File details
Details for the file consoletype-1.4.8-py3-none-any.whl.
File metadata
- Download URL: consoletype-1.4.8-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c016dee8b9ae47d05b2161c52814c1c3b72e0d68ae6968fa1b63160f53e5c297
|
|
| MD5 |
e62fd373a503ca41f0da4da1996dab7c
|
|
| BLAKE2b-256 |
f2fbaafc58c4c5d03c1c86153d2a58b563f773a698bd1bf3738bf9ceefa9acf3
|