Skip to main content

Python JIT compiler for near-native performance of low-level arithmetic

Project description

pyrbo

Python JIT compiler for near-native performance of low-level arithmetic.

Install

These are generic installation instructions.

To use, disposably

Install the current release from PyPI to a virtual environment:

python3 -m venv venvname
venvname/bin/pip install -U pip
venvname/bin/pip install pyrbo
. venvname/bin/activate

To use, permanently

pip3 install --break-system-packages --user pyrbo

See ~/.local/bin for executables.

To develop

First install venvpool to get the motivate command:

pip3 install --break-system-packages --user venvpool

Get codebase and install executables:

git clone git@github.com:combatopera/pyrbo.git
motivate pyrbo

Requirements will be satisfied just in time, using sibling projects with matching .egg-info if any.

API

pyrbo

pyrbo.leaf

turbo
def turbo(**kwargs)

Accelerate the decorated function or method using Cython. The types kwarg is a dict of local variables (including params) to their numpy type. (If types would be the only kwarg, its contents may be provided to turbo directly.)

pyrbo.model

nocompile Objects

@singleton
class nocompile()

Generate Cython source without compiling it e.g. in preparation for making wheels.

Project details


Download files

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

Source Distribution

pyrbo-23.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrbo-23-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file pyrbo-23.tar.gz.

File metadata

  • Download URL: pyrbo-23.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyrbo-23.tar.gz
Algorithm Hash digest
SHA256 ccc1c2562df6f6f6283cff4dd473d07427ebc9ef56a4e085b423a2871ddb9866
MD5 3bb4f291a1bc1e828cd2b735223b5ae9
BLAKE2b-256 164135056d1d33ae47744a3c7f248fe21aa6a23fa2ba6ee90c942492cd56551e

See more details on using hashes here.

File details

Details for the file pyrbo-23-py3-none-any.whl.

File metadata

  • Download URL: pyrbo-23-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyrbo-23-py3-none-any.whl
Algorithm Hash digest
SHA256 2efb5a29c9b6948f70a9ab54c33508763a0f8018d9c42bdb7f9689c43263d0e9
MD5 2d1c2a88eb907698f49da669ae383b34
BLAKE2b-256 7bcff8e6d4e6a26db8cbd717ffe1ffa567e023d8ed3ac6e6f2649a42b1920fe5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page