
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
goopylib is powerful game, graphics, and GUI library for Python and C++ to build cross-platform applications. It allows you to unlock the potential of OpenGL and low-level graphics with a high-level, simple-yet-powerful API.
Requires Python ≥ 3.8. To install goopylib on Windows or MacOS, use the Python Package Index (PyPI):
pip install goopylib
Wheels for Linux are not currently supported but coming as soon as I can build them!
Let's start by creating a rectangle on an empty window:
import goopylib as gp
window = gp.Window(700, 500) # width=700, height=500
# centered at (0, 0), width=100, height=50
rect = gp.Rectangle((0, 0), 100, 50).draw(window)
while window.is_open():
gp.update()
Inside the loop, you can check for events (or define callbacks instead):
while window.is_open():
if window.check_key(gp.KEY_H):
rect.hide()
elif window.check_key(gp.KEY_S):
rect.show()
mousex, mousey = window.get_mouse_position()
if rect.contains(mousex, mousey):
print("Hovering over the rectangle!")
gp.update()
Draw other shapes or more complex objects:
img = gp.Image("filepath.png", (0, 0)).draw(window)
Install a simple camera controller that automatically moves, rotates, and zooms in & out!
controller = gp.CameraController(window)
while window.is_open():
# ...
controller.update()
The documentation for goopylib can be found here. Please submit an issue or email bhavyemathur@gmail.com for any questions!
Contributions to goopylib are absolutely welcome! Please reach out to me if you have an idea or feature request or submit a pull request yourself. I'd love to hear if you've used goopylib for a project—maybe we could even add some screenshots to a gallery.
goopylib is licensed under the Mozilla Public License Version 2.0 which essentially enables you use and modify goopylib (commercially or otherwise) as long as you attribute the project! See choosealicense.com for more details.
FAQs
A powerful game, graphics, and application development library for Python
We found that goopylib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.