Skip to main content

Meshoptimizer wrapper with cython

Project description

构建wheel

兼容性更好的分发版

uv build --wheel --out-dir dist
chcp 65001 && uv build --wheel --out-dir dist  # 修复中文乱码

性能更好的版本

优化项:

  • 启用 AVX2
  • 启用 LTO
  • 启用 Fast Math
  • 启用 march=native

Linux

ALMESHOPT_BUILD_MODE=perf uv build --wheel --out-dir dist

Winodws

cmd

set ALMESHOPT_BUILD_MODE=perf && uv build --wheel --out-dir dist

powershell

$env:ALMESHOPT_BUILD_MODE="perf"; uv build --wheel --out-dir dist

发布到 PyPI(AVX2 版 wheel,一键脚本)

本仓库发布到 PyPI 的项目名是 almeshopt,安装与导入都使用:

  • pip install almeshopt
  • import almeshopt

发布构建强制开启 AVX2(生成包内扩展 almeshopt_avx2,由 almeshopt/__init__.py 负责优先加载)。

前置要求(Windows)

  • 已安装 Python 3.11/3.12/3.13/3.14
  • 已安装 MSVC Build Tools(用于编译 C/C++ 扩展)
  • 已安装 CMake 3.15+
  • 已安装 Docker Desktop(WSL2 backend)(用于在 Windows 上构建 Linux manylinux wheel)

设置 PyPI Token

推荐使用环境变量 PYPI_API_TOKEN

$env:PYPI_API_TOKEN="pypi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

一键构建并上传(默认 cp311/cp312/cp313/cp314;Windows+Linux)

.\scripts\release.ps1

只构建 Windows wheel

.\scripts\release.ps1 -Platform windows

只构建 Linux manylinux x86_64 wheel(Docker Desktop)

.\scripts\release.ps1 -Platform linux -SkipUpload

只构建不上传(Windows+Linux)

.\scripts\release.ps1 -SkipUpload

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

almeshopt-0.1.8-cp314-cp314-win_amd64.whl (128.1 kB view details)

Uploaded CPython 3.14Windows x86-64

almeshopt-0.1.8-cp314-cp314-win32.whl (109.8 kB view details)

Uploaded CPython 3.14Windows x86

almeshopt-0.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (274.6 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

almeshopt-0.1.8-cp313-cp313-win_amd64.whl (124.8 kB view details)

Uploaded CPython 3.13Windows x86-64

almeshopt-0.1.8-cp313-cp313-win32.whl (107.2 kB view details)

Uploaded CPython 3.13Windows x86

almeshopt-0.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (274.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

almeshopt-0.1.8-cp312-cp312-win_amd64.whl (124.6 kB view details)

Uploaded CPython 3.12Windows x86-64

almeshopt-0.1.8-cp312-cp312-win32.whl (107.2 kB view details)

Uploaded CPython 3.12Windows x86

almeshopt-0.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (272.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

almeshopt-0.1.8-cp311-cp311-win_amd64.whl (127.9 kB view details)

Uploaded CPython 3.11Windows x86-64

almeshopt-0.1.8-cp311-cp311-win32.whl (108.6 kB view details)

Uploaded CPython 3.11Windows x86

almeshopt-0.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (273.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

File details

Details for the file almeshopt-0.1.8-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 128.1 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 1a775e8039c6a54c58820bdc1e042c54c35dfa900b710caca75d427ad6a1b077
MD5 eaee6fcc4a524b27ae67ccf3f357796b
BLAKE2b-256 c27cf802238f1cb60be47c9aacabd87672fc4b017fcc7fa3774a5816c1bd5f7b

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp314-cp314-win32.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp314-cp314-win32.whl
  • Upload date:
  • Size: 109.8 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 e9d40150b3faf090cdf65f35db40586c7d15450ba5112fb356e4f20551a7fae0
MD5 b7efd61c408176661ec3604cc307bd67
BLAKE2b-256 be47d9723743f3b4d895bebd9ccf3fff8497ed15e2c85b70a77c37a6759ac2dd

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for almeshopt-0.1.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7a18135a5024d4157d625a4fe391fe847d446a371b33d6e6961b58746472e850
MD5 9b67424524a4e4fc792c4ac362c5e680
BLAKE2b-256 c14161a50c000343bc91b237829f29bdc8af4f2a671484d79e5bdec601ecaebe

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 124.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f9cd39f94434b158cb51a9e25e91c0eac318767f9690061dfaa03b22178e9383
MD5 20a2a8e4cd2e1d25cf42be6e5c618506
BLAKE2b-256 236adb77366c4f01cfc07bc8a65dbedb86b46f1f0de0dfd03d89a276e067f45a

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp313-cp313-win32.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp313-cp313-win32.whl
  • Upload date:
  • Size: 107.2 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 c6f48ae8ba8c6fd7479a6db71be55fd86dcdfba52d492310f9b1904a28872edb
MD5 56bc9e1a13e2b089cdaf881e93d4b355
BLAKE2b-256 9d16f58ef63d2083d5bef1e3ead4e6ea15df7b263fe6508e63b54eb3d0bd7fa3

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for almeshopt-0.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7c3c0e71d48cf3705bc9a80e8e93fb9cf1d4f9af89282124569531193cb3154e
MD5 dd0b64ebbdc3e7023e710e3775f51785
BLAKE2b-256 4f9ad5e02241717b202a314bb8218b093cf008b49b76d0b11d66076623bdce02

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 124.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5b108e3d2a21f31e73b9421d5e3085ada900286f06f07248bb506dbe212a2762
MD5 00d12b6eea51e4145669b02968025625
BLAKE2b-256 2bf8112168900739cd12939c14e676e47f9bb3dd49343d76453d46365ff948ef

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp312-cp312-win32.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp312-cp312-win32.whl
  • Upload date:
  • Size: 107.2 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 eea0a3a3a7697fb47ae6803c271c1b7d8a5855f43a4ffb2abff89ffd26c757c6
MD5 81871670b941a9a32b8e333dcb70eb30
BLAKE2b-256 178324519d27499238fc7ac91be4e53785cdbd69ced25495c0de4273978c1464

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for almeshopt-0.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 45b3c5cf29672cb4f5bf5657b0ae1eb447ba409ba8cd8168bf970e63defe96c6
MD5 92938a55890c4130a17301ef0fb81658
BLAKE2b-256 3997f7bc61ecfd0a6ff4213d477e600b669180f6e9ff44a72235d2e79f9412d9

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 127.9 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 df6059e62c3b078a8483e3073fe9034dd296d46b7d3be91197994f6425cbb1e1
MD5 33030e40cf95dcaca8de2c95ebe3aad1
BLAKE2b-256 1e9f692f7ff436361fa5928b30c8aaff0db908101148cd49f2f175b9af0d6596

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp311-cp311-win32.whl.

File metadata

  • Download URL: almeshopt-0.1.8-cp311-cp311-win32.whl
  • Upload date:
  • Size: 108.6 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for almeshopt-0.1.8-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3775311b69c5734dc7147d2047a8381cbb80e570f1b0c341367dd15d29eae175
MD5 532f6a6e1f00dd25c0eef70cd893110b
BLAKE2b-256 7dd65ea6f0ce07328066212c576675682c106063c2abd6d64520d11510faf44a

See more details on using hashes here.

File details

Details for the file almeshopt-0.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for almeshopt-0.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9515005538db7972eb4e21cd3a3905953e686422fa3091ea28b1f274e3a26d55
MD5 0cf29a39e36e6ea09ad6044059f4159f
BLAKE2b-256 016c2948736f200858e26bb515c56241b73c37244c8a08eb2be39b0161f44685

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