{"repo":"overdev/raylibpyctbg","free":true,"listed":false,"github":"https://github.com/overdev/raylibpyctbg","clone":"git clone https://github.com/overdev/raylibpyctbg.git","description":"A Python ctypes binding generator for the awesome C library Raylib.","language":"C","stars":33,"topics":["binding-generator","ctypes-bindings","ctypes-wrapper","game-development","graphics-library","python","raylib"],"license":"MIT","category":"game-templates","readme_excerpt":"Raylib Ctypes Binding Generator A very basic raylib binding generator for Python This tool generates Python bindings for the awesome C library Raylib. It makes use of json files generated by the Raylib's header parser. You can use this tool to generate a Raylib Python binding for you to tweak and use in your projects. It is very simple to use. Usage Dowload and unzip it in a directory of you choosing, open the terminal, navigate to the selected directory, and then: to get a list of options you can pass to customize the bind generation Documentation You can take a look on the last generated documentation file. Customization With raylibctbg you can customize many aspects of the binding. Options related to code style and naming conventions are: - Naming convention : choose whether you want names the same as in C Raylib (C99) or following Python's PEP8 convention. You can choose which names you want to keep or change the casing: fields, parameters or functions. - Typing : choose what type information to be added to names: as type hints or annotations. - Member functions : choose whether you want some functions to be bound to structure types as methods, classmethods, staticmethods, properties or context managers. - Pretty-printing : you can specify what gets returned by str and repr . - Attribute swizzling : choose whether to add attribute swizzling to Vectors, Color and Rectangle types. - Context manager : choose whether you want function pairs named Begin and End to form context","default_branch":null,"files":null,"tree":[],"storefront":"/r/overdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/overdev/raylibpyctbg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}