Skip to main content

Rust_Pyfunc


一些用python计算起来很慢的指标,这里用rust来实现,提升计算速度。

  • 安装
pip install rust_pyfunc
  • 使用
import rust_pyfunc as rp
  • 目前支持的指标:
  1. DTW动态时间规整
import rust_pyfunc as rp

a=[1,2,3,4]
b=[3,9,8,6,5]
res=rp.dtw_distance(a,b)
  1. transfer_entropy转移熵
import rust_pyfunc as rp

a=[1,2,3,4]
b=[3,9,8,6]
res=rp.transfer_entropy(a,b)

Download files

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

Source Distribution

rust_pyfunc-0.2.0.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file rust_pyfunc-0.2.0.tar.gz.

File metadata

  • Download URL: rust_pyfunc-0.2.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for rust_pyfunc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 00840bd6e9245ce4a27a9b8622d3ff0fc7c8e86c0c762f238bda1de6536a453d
MD5 c694802c31ca23eab3db69440881e1ff
BLAKE2b-256 2ce13f06085ad9ed5e0234d731f25c62927085603c8b594b22be84d85d27c0a8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.89.3

7 files

0.89.2

7 files

0.88.0

7 files

0.85.0

7 files

0.84.5

7 files

This release

0.2.0 This release

1 file

0.1.11

1 file

0.1.7

1 file

0.1.4

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page