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-22.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-22-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrbo-22.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-22.tar.gz
Algorithm Hash digest
SHA256 77ac389cf4417c69a8da96580a8d381fab6cdef0c0924160e241cf47250bb2d6
MD5 ba7ecf8e8c4d73c8c1f9c5cbf144dd4c
BLAKE2b-256 dfc1f12225f6a3f9cd44672fd6df3748831bb6032c0e90f1c5f6abcbf8ff1542

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrbo-22-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-22-py3-none-any.whl
Algorithm Hash digest
SHA256 03770517e169d6d2021655d2cf201b00e0de85c277bf04c8635bca368cd04fe0
MD5 0caad42ffd0cba68aab29f9429921d79
BLAKE2b-256 22cba840b2e553b28f02c0ffa5d35eaacab99a75925b19c0cdb0ef4282e69f54

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