Skip to main content

Example algo package with Cython-compiled submodules

Project description

建立虛擬環境

uv venv

輸出requirements.txt

uv pip compile pyproject.toml -o requirements.txt

安裝建置相依

uv pip install -r requirements.txt

建立 wheel

uv run python -m build --wheel python setup.py build_ext --inplace python -m build --wheel

清理所有產物

python setup.py clean

檢查 wheel 內容

unzip -l dist/algo-0.1.0-*.whl

✅ algo/init.py

✅ algo/func01/func01.cpython-*.so

✅ algo/func02/func02.cpython-*.so

✅ algo-0.1.0.dist-info/*

安裝並測試

uv pip install dist/algo-0.1.0-*.whl

uv run python - <<'PY' import algo print("5! =", algo.factorial(5)) print("Fib(10) =", algo.fib(10)) PY

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

k_algo-0.1.11.tar.gz (11.6 kB view details)

Uploaded Source

Built Distributions

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

k_algo-0.1.11-cp313-cp313-win_amd64.whl (76.4 kB view details)

Uploaded CPython 3.13Windows x86-64

k_algo-0.1.11-cp313-cp313-musllinux_1_2_x86_64.whl (90.9 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

k_algo-0.1.11-cp313-cp313-musllinux_1_2_aarch64.whl (91.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

k_algo-0.1.11-cp313-cp313-manylinux_2_28_x86_64.whl (89.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

k_algo-0.1.11-cp313-cp313-manylinux_2_28_aarch64.whl (91.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

k_algo-0.1.11-cp313-cp313-macosx_10_13_universal2.whl (142.9 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

k_algo-0.1.11-cp312-cp312-win_amd64.whl (79.3 kB view details)

Uploaded CPython 3.12Windows x86-64

k_algo-0.1.11-cp312-cp312-musllinux_1_2_x86_64.whl (93.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

k_algo-0.1.11-cp312-cp312-musllinux_1_2_aarch64.whl (93.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

k_algo-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl (92.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

k_algo-0.1.11-cp312-cp312-manylinux_2_28_aarch64.whl (94.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

k_algo-0.1.11-cp312-cp312-macosx_10_13_universal2.whl (148.3 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

k_algo-0.1.11-cp311-cp311-win_amd64.whl (78.0 kB view details)

Uploaded CPython 3.11Windows x86-64

k_algo-0.1.11-cp311-cp311-musllinux_1_2_x86_64.whl (92.0 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

k_algo-0.1.11-cp311-cp311-musllinux_1_2_aarch64.whl (92.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

k_algo-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl (90.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

k_algo-0.1.11-cp311-cp311-manylinux_2_28_aarch64.whl (93.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

k_algo-0.1.11-cp311-cp311-macosx_10_9_universal2.whl (135.5 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file k_algo-0.1.11.tar.gz.

File metadata

  • Download URL: k_algo-0.1.11.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for k_algo-0.1.11.tar.gz
Algorithm Hash digest
SHA256 47a4b259ea31ef7d26beacf5102691a2710067817abb04f73bb6a91164a3ff06
MD5 3bc823582f41bf04ba8d33aa58a7cda3
BLAKE2b-256 566304c0aff313a499db94cba1d79140473b305fe1016aa3093308c6076e10cf

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: k_algo-0.1.11-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 76.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 849ed220f5d4d59ead0431fbba3a27a64ce9832450ca07ba512bad3cb54ffd61
MD5 64654c2b46751e1a5fd25ea4264deadd
BLAKE2b-256 8f6ccd9796292d2a03700e34866ccd8357cb3e474248d77280827b89230aee37

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 733fe6a6917d00455abfcaef94b82027bf624df68496840d98f00fd5a72b713d
MD5 5c2206342dd62535cdfdda22aa238475
BLAKE2b-256 1a1ab5bdcd3e4411a06a7907e1ceb072d7f4f8a199d692b21045ef371ff5d598

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 25b26f6984cd5797d07f78b27adb71c5f1e00ffad10d4cdd0be3c4e7fc7eb527
MD5 f1cae4c3cd96a68f7faeb7f91af249d5
BLAKE2b-256 906c08035c823222fe1923dbbd9faa768b2942f2129350af0306fb5f6fb03bdd

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 87b6dee5c32ed71886adfa01b58c6654849e45d523b5cc4c048a865a607b76ad
MD5 e42dfcb83b08603de6b9c004036403ab
BLAKE2b-256 a8565153b45f2cafebf6c378a5d7bac7f8525320e6d396dbf08a8e8e4e2c56cd

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a5688377aa98e6e9acc5c2122b3a0a75205945f505cd3be4c78a46bdf68190ca
MD5 aa18794dd0174d657f0d5f54c8905512
BLAKE2b-256 dee2f9556794ced6a78fe77f0bc124e54a2cc9b3aa9f3e1167aed1b90227ed9e

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 859d4d387fd62058a346b890238910430d4b55551ff7ad31798356358e4ffbe8
MD5 8121001a51b74aeb7abf4d0731bf830e
BLAKE2b-256 9d9a4b087db3b30bf86d95de0c5767ab92fd1a02d6993f0cefa97943bd169dd7

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: k_algo-0.1.11-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 79.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d6e8c2ee2989273d5d76ec0d76821c6f98ee0f45fbea0a8a83a20144ce006eb7
MD5 60756816ef67e821141716cae237b76f
BLAKE2b-256 f71ff3607aed57aa4e076038f531f473986c9faa3c8db5f171d1677dac0775dc

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fb5238b2dc0a77ff1717d870696e30ea299dd8053b68228996e70e97c96e3282
MD5 ee6ab6c0e6b4e768dd05c204847531c8
BLAKE2b-256 4b55d28cd9a5d2e30998f5695789d1a326088db1365f48fa88738f3e17c43356

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8a9e29eb59db18c4f2cd8b35df407658cc5f852e45fe50482af60719833e09c2
MD5 2acab117d6c396627766c6904aa53008
BLAKE2b-256 1a40193adc51eb363845e53f3e2a85472fcd8bd159208a56b18956cd4616c32c

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cc1b5658d65d7d956b793f3a43e5ede76c998e836b09db0fcc67ef10b4a3e04
MD5 4cb4157222b3ca37446721a9fb272986
BLAKE2b-256 7e51009e49485150a1b36c95921422e1f7f7c003635f777c97a1d70fa6488bf8

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d8f369f1ea12a98548599da86787c678a2eaa89951643c9fae99cae96878856
MD5 67ec7645122d25a9c6ce8df6df4d0bc9
BLAKE2b-256 29d83210fe2198124cac0fb3f5b70a4f5073cb86bd280b2ac64e2da5a0a5bac8

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 aeca033919fe6fb94c08de70139f441f80dd5ccc243f948c0bff199aabbdbcd0
MD5 586d69879f9a8759295e0971dc66527a
BLAKE2b-256 4167c71633a8fbe68c231f4beefdd29901a1ced9e0e568dfa8da3ded33188e44

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: k_algo-0.1.11-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 78.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4d17a2114747188f2836b94e445d95f0ae9591e7462c84c817801871a97e6b6d
MD5 846ea2e80855c89c7826a75471a0cd78
BLAKE2b-256 8b671fc4c26fa6ae70a7f842c5c9f390cc25837bffbd3e2a83a7156ceff93000

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b47274a76b321d8bbec6c8f4d30956ffae3c35226687d5d406fd956ce8b17aa0
MD5 6dd894fff93d47e7769e8939ec1e3e25
BLAKE2b-256 7ca8e18bd254994adaecf9f8d588d900b3228e88176659c6bf9bcbca0895073b

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7fef38897e83f346da37e8c050791bc8015a7b1f1a6e1afab9f67b1ed2f4be8b
MD5 0b1a6c3b4a575b506ac87b5e12a193e8
BLAKE2b-256 400b209294a6983327a885b01f99a9d509c1d427e0ba5dd9834d6fa750dd0b60

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e96594aa21d276a6586379f3f9e51522195915175bf2a8d56b4489ad1d2eedb
MD5 cf72843ebf2a015bf442688a88d6d20e
BLAKE2b-256 5618dd4636f7cd7701ee278acb535d9d032768afce521b4c7fdc2862ae5ad224

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1431d6198e166c33a225e13fa732bb9e03a03ca4a561f2e89d84dca8439d8bbe
MD5 998849b628633abc65b135ed2116668b
BLAKE2b-256 2313234ab54339c2f34bbb3ae78c8d3a5196935c5e85095e711754c31b4c49a4

See more details on using hashes here.

File details

Details for the file k_algo-0.1.11-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for k_algo-0.1.11-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1f341853ca5986b9d51b1f4389c4a9e94944bdd83f468d93dd015d6e037c5305
MD5 d6afb673da6267823c53a00066b9fee3
BLAKE2b-256 800c6d32352df23bea182c36bf9f7d093781b4be2546bc22f7fb55cf5c847140

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