Skip to main content

Python рџђЌConGL рџ”®

pip: pip install -U ConGL

Why?

This python package is intended for people who don't know C++ and just want to build a console app/game using pythons simple syntax

Python ConGL containcs basically everything you need to create something cool using its API

Usage

Everything is same as C++ version, except few things:

  • Static eng2D::Layout methods collides and onCollision were renamed to collides_S and onCollision_S
  • WinScreen class can't be accessed (it can be needed in some rare cases)

Performance

Python ConGL is using precompiled binaries which means lack of any serios performance hits. Actually Python ConGL is just a wrapper for the C++ version.

Simple Example

from ConGL import *

screen = Screen()  
screen.toggleAutosize(True)

main = eng2D.Layout(screen)
rect = eng2D.shapes.Rectangle((30, 30))
main.addFigure(rect)

while True:
	# terminate when escape is pressed
	if keys.released(chr(0x1b)): 
		break
		
	main.draw(True)

More Examples

Metadata

Release files for ConGL 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ConGL 0.2.2
File Size Uploaded
ConGL-0.2.2.tar.gz 2.5 MB Details

Release files / ConGL-0.2.2.tar.gz

Download URL ConGL-0.2.2.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a3b9aa96a826b561cbd5625f00c0148b0a25314a90a62c0f50944a27e9e3ee23
BLAKE2b-256 checksum
How to use checksums
2197669a6adaffe902ff41e16ef3947c41282cc7a7df8cd0dfeea42b22e65591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page