This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

C Vulkan Wrapper

Project Description

CVulkan is a C extension for Vulkan. It leverages power of Vulkan with simplicity of Python.

Presentation

CVulkan is a complete Vulkan wrapper. It keeps the original Vulkan API and try to limit the differences induced by Python.

How to install

Pip

You can install directly CVulkan with pip:

pip install cvulkan

Manual install

You can install it manually if you want the last version:

git clone https://github.com/realitix/cvulkan
cd cvulkan
python setup.py install

How to contribute

To contribute, you should first read the How it works section. Any contribution is welcome and I answer quickly.

 How it works

CVulkan is a C module generated by a Python script. To proceed, the script vulkan_generator.py computes a model of Vulkan API based on vk.xml (the file from Kronos describing the API) and then uses jinja2 templates to write the vulkanmodule.c file.

Here the basic steps:

  • Load vk.xml
  • Use xmltodict to parse the xml document
  • Generate a good data model from it
  • Pass the model to the jinja2 template engine
  • The template engine generate the final c file
Release History

Release History

This version
History Node

1.2.0

History Node

1.1.0

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cvulkan-1.2.0.tar.gz (169.2 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting