• Stars
    star
    242
  • Rank 161,169 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Library to embed PyPy into CPython

jitpy

Library to embed PyPy into CPython. See documentation for more examples.

The simplest example:

from jitpy.wrapper import jittify

@jittify([int, float], float)
def func(count, no):
    s = 0
    for i in range(count):
       s += no
    return s

func(100000000, 1.2)

Runs about 20x faster.

MIT Licensed.