Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just FYI #1

Closed
astrojuanlu opened this issue May 3, 2016 · 2 comments
Closed

Just FYI #1

astrojuanlu opened this issue May 3, 2016 · 2 comments

Comments

@astrojuanlu
Copy link

astrojuanlu commented May 3, 2016

I stumbled upon this project coming from a numba issue and was surprised that we had the same idea within a few months :)

https://github.com/poliastro/pycephes

I implemented this for my own needs (an hypergeometric function) and ran out of time to maintain it, but I will leave you a link here in case it's interesting for you.

Cheers!

@horta
Copy link
Collaborator

horta commented May 3, 2016

Hi Juan. Thank you for the message =)
Your project actually inspired me to finally do this =) Cephes is a library that I have been using a lot but there is no decent wrapper around it for Python purposes (Numba, Cython, and standard Python call).

First I thought about contributing to pycephes but I wanted to wrapping something more automatic. For example, here I update the folder containing cephes with the original sources, apply patches, and do some housekeeping. (even though cephes source is not modified anymore, I just wanted something repeatable in case I want to reestructure something in the future). And here I compile and export cprob functions automatically.

You are very welcomed to propose any changes, of course =) My goal is: export Cephes to Python, Numba, Cython, and C/C++, and document it.

@astrojuanlu
Copy link
Author

The idea of having automatic compilation of the functions is great! I am glad that my prototype inspired you to kick off nCephes 😊 Good luck with this project and I hope you success and we start seeing more CFFI + numba + Python integrations!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants