Skip to main content

"Complicates" Python 3.14 a little bit

Project description

complipy

A python library that makes python (slightly) harder (compared to what python is). It includes:

  • Colors for text ..thats all i wanted to say thats worth mentioning actually

How to use

Install by using pip install complipy (dude you should know this already)

If you want to print text, first import iolib (from complipy import iolib), then import system (from complipy import system)

You print by writing iolib.printc(""), for example, this is a "hello world" in complipy:

from complipy import iolib
from complipy import system

iolib.printc("Hello world!" + iolib.endl)

system.returnc(0)

returnc is important, as the code will not run without it:

Exception ignored in atexit callback <function verexit at 0x7f7b9ac5f5e0>:
Traceback (most recent call last):
  File "/home/nkf/Documents/complicatedpy/complipy/system/__init__.py", line 18, in verexit
    sys.exit(1)
SystemExit: 1

This is what the code looks being run in KDE's terminal app (Arch linux) idk bro just see it or smth If you want colored text, use colorprint (through iolib), for example if you want green as a text color:

from complipy import iolib
from complipy import system

iolib.colorprint("This is green text!", iolib.GREEN)

system.returnc(0)

In the terminal, it looks like this: again im not gonna put alt text If you want a green background, you use iolib.colorprint("green background bro", iolib.BG_GREEN) And if you want to make the script wait a little.. just a little before continuing, use timelib, by now you already should know how to fucking import.. so ill skip that, just use this: timelib.pause(1), or timelib.sleep(1)

oh and yeah you clear the screen using iolib.clear()


complipy is in a very early stage and ill be making updates frequently

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

complipy_python-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

complipy_python-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: complipy_python-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for complipy_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05a812db065b7d38eaa1def9bbeb02402a88b0744380610c56e7d940236b3d48
MD5 11017f51b6b4de3ca06227c5b6eb3b0c
BLAKE2b-256 d33740452a45c56c41bf81c1e9fdceaf61e201c0ded0593ec157975376e12787

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for complipy_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f11bcf1c49942448f7a94fca2198eba98541702e0e4431fb3c41ef68f3aff3ec
MD5 56beecf5443a9d152fd8af8721a2f43d
BLAKE2b-256 af8ce315b219550bc7c3a26d5af04f58354dc667dd2be6d3a325c996559bbf3f

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