معرفی شرکت ها


arcade-accelerate-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A companion library for Arcade providing accelerated Rust functions
ویژگی مقدار
سیستم عامل -
نام فایل arcade-accelerate-0.1.0
نام arcade-accelerate
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده ['Darren Eberly <Darren.Eberly@gmail.com>']
نویسنده -
ایمیل نویسنده Darren Eberly <Daren.Eberly@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/arcade-accelerate/
مجوز -
# arcade-accelerate An experimental library for accelerating [Arcade](https://github.com/pythonarcade/arcade) using Rust. The module can be imported and monkey patch Arcade, replacing functions and types with rust versions. ```py import arcade_accelerate arcade_accelerate.bootstrap() import arcade ``` It is important to run the arcade-accelerate bootstrapping process before importing Arcade, otherwise the monkey-patched versions will not be fully applied. ## Build / Setup First create and activate a Python virtual environment, then install maturin: ```bash pip install maturin ``` Install the crate as module in the current virtual environment using Maturin. Generally when working on performance enhancements you will want to use the `--release` flag. ```sh # Debug maturin develop # Release maturin develop --release ``` Then you can install [Arcade](https://github.com/pythonarcade/arcade) into the same virtual environment and run any of it's examples. Optimally testing should be done against the `development` branch of Arcade. In order to enable `arcade-accelerate` add these two lines anytime before importing `arcade`. It is important that the bootstrap is done prior to importing Arcade, otherwise the monkey-patched functions/classes will not fully apply. ```py import arcade_accelerate arcade_accelerate.bootstrap() import arcade ``` If you would like to run Arcade's test suite with arcade-accelerate enabled, you can do so by setting the `ARCADE_PYTEST_USE_RUST` environment variable before running pytest on Arcade. You just need to ensure that both Arcade and arcade-accelerate are installed in the same environment.


نیازمندی

مقدار نام
xtr ruff;
xtr black;


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl arcade-accelerate-0.1.0:

    pip install arcade-accelerate-0.1.0.whl


نصب پکیج tar.gz arcade-accelerate-0.1.0:

    pip install arcade-accelerate-0.1.0.tar.gz