Skip to content

KittPhi/python-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All Python Projects

  • Cython
  • Pyarmor
  • Custom pip package
  • Python examples
  • Intel Realsense Depth Camera
  • Skeletal Tracking

Cython setup:

  • The setup.py file allows you to cythonize a python script .pyx and build an .so file without the need for type definitions!
# ensure cython is installed
pip install cython

# setup.py
from distutils.core import setup
from Cython.Build import cythonize

setup(ext_modules = cythonize('helloworld.pyx'))

# Build by executing:
python setup.py build_ext --inplace

cython-helloworld

  • basic cythonized helloword

cython-run-python

  • compares runtime between a python script and cythonized python script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages