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.12.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.12-cp313-cp313-win_amd64.whl (76.4 kB view details)

Uploaded CPython 3.13Windows x86-64

k_algo-0.1.12-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.12-cp313-cp313-musllinux_1_2_aarch64.whl (91.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

k_algo-0.1.12-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.12-cp313-cp313-manylinux_2_28_aarch64.whl (91.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

k_algo-0.1.12-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.12-cp312-cp312-win_amd64.whl (79.3 kB view details)

Uploaded CPython 3.12Windows x86-64

k_algo-0.1.12-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.12-cp312-cp312-musllinux_1_2_aarch64.whl (93.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

k_algo-0.1.12-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.12-cp312-cp312-manylinux_2_28_aarch64.whl (94.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

k_algo-0.1.12-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.12-cp311-cp311-win_amd64.whl (78.0 kB view details)

Uploaded CPython 3.11Windows x86-64

k_algo-0.1.12-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.12-cp311-cp311-musllinux_1_2_aarch64.whl (92.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

k_algo-0.1.12-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.12-cp311-cp311-manylinux_2_28_aarch64.whl (93.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

k_algo-0.1.12-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.12.tar.gz.

File metadata

  • Download URL: k_algo-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 60594f71afcf8da770b8ca1408e7f2ae7f9ce71e4f3a1cd1514ca9dcbcdc2a33
MD5 fda82916f2524f46e67529a8a0e37668
BLAKE2b-256 cf5ec1c06d69f7df5ef17a2bbb367255c4f51f4becc0fa4f9f7ed91d2bdd84b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k_algo-0.1.12-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.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 92186155b79b68802959d35f47de7c45f06ff35f89c646fe8cfb2f43766441a1
MD5 ed1191ecc89193cbbd4f8df6d989c4c5
BLAKE2b-256 12bfdf0cab0bb511793223dac6cf9b1f513294388c0a5f9a57005d384ac0f146

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f889b67b5fef9f3e2aa255f410893ad69e715efb125f7a14452add282fe8ca64
MD5 b2545ce31879741506c5cbbc6790ff80
BLAKE2b-256 4e165a71f751c2f2bbfa8a1d0d8f23eb7cd7874b7cc68ca896606eb2cafa5b38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 52a0edc4b8338783f8c7d4cb569f12c8bc8d6d78d45b49b79562d463d4a4b6c9
MD5 07e16668775cef4cb4862cce6530ee94
BLAKE2b-256 9af3216f357cdc4b630ed030ec71177eba2066b6d3e036d3e0a8233a3b5f120e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 694873bd12b173e14105ec91fe59ba75a2eb21d55310fc4f5b04704bbc4ba163
MD5 851bed74a54e4605e08da5327b7b8690
BLAKE2b-256 f6fa241599c4aed52334c37d42362edb3189230105f3e6d0c630c143f51fdb8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d1d4e8868f219efc3e7c2042e70c9accee6d6828af30573898b9ea97e556fb5d
MD5 9961dbe1be9677b5842a24cb7632e1b9
BLAKE2b-256 86bdcaa6f386892f1a2dea1843447bd33a4f3ba72062427063f221d49bed4d24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 26e1834b04ea71c49eb3513e1bf12ef8d90447d5bcbf76351863da34ba06f633
MD5 fdb09d6a09d8121647d9a0f0611b32f7
BLAKE2b-256 9d1bbedba566dbe89e0c20935178bb0796d0a34fcd49e1cb2d334fc646b3d31f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k_algo-0.1.12-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.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a58bf3f004ee707117b597cda28144b412024242fb9591faa0f21964ce6c2bf5
MD5 d2a12775eb92bc9de25da01569b6c7d3
BLAKE2b-256 035d2e1ff2fb621c2304c9fcb40992c0d4f370e11ea6c10e5cab0bb2d1c6cd4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b5dee99105f225f117ef64bb39976184576d15aba6e7aee8de0c860f32830caf
MD5 c6ca24781480fab7dc5bc27426f27d83
BLAKE2b-256 77f2e041261d568bcf1598632615c2ed64ec43c2d7359d5bc94351d922fce5ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 af06c88f909eb39e9e60fde1e50f548bde713c7f9362376b9fa04da25c2e5a63
MD5 0cfdb3ec5489f7483ea8b07cfb4da3eb
BLAKE2b-256 bfa7b64d73bb86919231b8bfb1662e5d1af61fbb4cbde5d1b98fe11351907927

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44a7a7eb526e542f39c52b06804c6e1e30bd0526dc52c9c9c354e57a2f5433c6
MD5 b159a13c45eb4ad9651edf5256133422
BLAKE2b-256 55d0b45bb373ab5205d7b5267f5585d23984194d4f2b52098117729322f5e716

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b717344870103d0516cf8461ee856c0c7f7484644793ec248d268c721ecdc9ee
MD5 697744bc1bf55d0926386bdb5b38d36b
BLAKE2b-256 e49637faa75f4a73fd08bcc7aed7b87d93d615a45313794850d329f59b0d5de9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 af70a4b905e0c37f405ecf5c3c92e4f2972dc6263a6dffd7897768789879ac6d
MD5 0b41e44b782624dfe384bb18a107777a
BLAKE2b-256 5cc762415d0166a67f33e733b278c959775154e09366240c9c28679079336222

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k_algo-0.1.12-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.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 81f5efaccbf4f1ec9e630bcf27d5fda5b405e2b5280d4fc0c9d2470f1c583f04
MD5 1bdd8d2df045ed03b519fea236a812a4
BLAKE2b-256 fbe528cf6a0ad45f64283af9ce2ffbd3326ae7e333b34fa347ca9ee929481a2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 920a9580053cc0ac3ba2157fefc78277f2e5f5ec94d59232f6903ed8e411190e
MD5 342f394dab166271d165a4f403230b97
BLAKE2b-256 c3391e46643253a6b2d5713a42a683dad22ee7d2187e42fbd30ab347d995274a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b93d2dd08b30136093a8d6f6932afa261d2e9859f6300d94bb613b7c9ca3e207
MD5 779db6a5d8f2f6c9178214ba31aec004
BLAKE2b-256 3d8f9e94269cadbb90d6bfb3e25468362ff6d19736a2acaaa446c2fac1b90af1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a8977863338057c87067c654f4ec77579a21eca8ca0bcd4b3ca77c860374b355
MD5 a9200b62173400ad3550fc766e3f7a0c
BLAKE2b-256 f9375c61886b06d7509b657c5dda7639ff2d5a51bae5c6a2b0ef4975a8e3dbb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 26fa9679db8fb8d84ac7b8eb177af33f953d2f4ad71383bcd358a21a419be55e
MD5 a3e5ebb1c2cc5176750a1fcab702d4c1
BLAKE2b-256 9d8f16726bd6d8ab9fe8b69fdb6e108bcfe3b518c58d2b1d37320ad9ed00090e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k_algo-0.1.12-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6ed8e474cda99e781bdf17f993d07a8eb4c4d8cd7b344e20ff872fc75ee4d109
MD5 96229c2dc76efbf5275b4e4b3dac97db
BLAKE2b-256 a82e01721720d60bd47e9fd6c4d159ee31c83bba8a55a2af622eb156f53d4813

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