Skip to main content

No project description provided

Project description

python_rust_module

description

This is a sample project to compare the performance of python and rust binding.

prerequisuite

poetry python3.11 rust

setup

poetry install # install python dependencies
mnaturin develop # build & link rust module

run

python -m python_rust_module.main

result

sum_to_n_elapsed_time sum_to_n_elapsed_time_ratio

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

python_rust_module-0.1.1.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

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

python_rust_module-0.1.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file python_rust_module-0.1.1.tar.gz.

File metadata

  • Download URL: python_rust_module-0.1.1.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.16 Darwin/22.5.0

File hashes

Hashes for python_rust_module-0.1.1.tar.gz
Algorithm Hash digest
SHA256 709b7a7b4d5e60e018b902d3afb376ab1915adec7df6480d9a92a99da5226714
MD5 9b0bd75271df42f8de0087bff35ec56a
BLAKE2b-256 731d3786f0ed5c614e2c54e18594a5d4f0562dfd8eb4f50a0e00393eb73c89c2

See more details on using hashes here.

File details

Details for the file python_rust_module-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: python_rust_module-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.16 Darwin/22.5.0

File hashes

Hashes for python_rust_module-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d642dcf2270744e44b82c724a77f40053c395ee5d4baf26f36986c546ef461b
MD5 2fbff0f613e7f47d2c208fa0257d1e61
BLAKE2b-256 6118de6ae35868fd28fb13ecf8af914b3ba91cfb977af5f7877f9bf961742e36

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