Skip to content

Testing out some features of ray with Cython classes.

Notifications You must be signed in to change notification settings

astrophysaxist/cython_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cython testing with ray

This is just a repo illustrating some features of Ray, the framework for building and running distributed applications.

I've noticed some gotchas when trying to initialize and run Cython methods.

Build Cython module of demo class

You can build the very simple Cython classes by executing:

python setup.py build_ext --inplace

Running demos

You can run a demo of executing methods from the Cython demo classes by running test_classes.py with a commandline argument (number) of the test class to run.

python test_classes.py 1

The above executes the testing of class Test1

Explore comments in the test_classes.py and cython_test.pyx for more information.

About

Testing out some features of ray with Cython classes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages