Name | k-algo JSON |
Version |
0.1.8
JSON |
| download |
home_page | None |
Summary | Example algo package with Cython-compiled submodules |
upload_time | 2025-08-28 01:02:45 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | >=3.11 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 建立虛擬環境
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
Raw data
{
"_id": null,
"home_page": null,
"name": "k-algo",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": null,
"download_url": null,
"platform": null,
"description": "# \u5efa\u7acb\u865b\u64ec\u74b0\u5883\nuv venv\n\n# \u8f38\u51farequirements.txt\nuv pip compile pyproject.toml -o requirements.txt\n\n\n# \u5b89\u88dd\u5efa\u7f6e\u76f8\u4f9d\nuv pip install -r requirements.txt\n\n# \u5efa\u7acb wheel\nuv run python -m build --wheel\npython setup.py build_ext --inplace\npython -m build --wheel\n\n# \u6e05\u7406\u6240\u6709\u7522\u7269\npython setup.py clean\n\n# \u6aa2\u67e5 wheel \u5167\u5bb9\nunzip -l dist/algo-0.1.0-*.whl\n# \u2705 algo/__init__.py\n# \u2705 algo/func01/func01.cpython-*.so\n# \u2705 algo/func02/func02.cpython-*.so\n# \u2705 algo-0.1.0.dist-info/*\n\n# \u5b89\u88dd\u4e26\u6e2c\u8a66\nuv pip install dist/algo-0.1.0-*.whl\n\nuv run python - <<'PY'\nimport algo\nprint(\"5! =\", algo.factorial(5))\nprint(\"Fib(10) =\", algo.fib(10))\nPY\n",
"bugtrack_url": null,
"license": null,
"summary": "Example algo package with Cython-compiled submodules",
"version": "0.1.8",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ec34b53f31f0a5e98cd48e182ae5d932567c1ab7cfb92d4baecf5843716164bf",
"md5": "005846540665d71c69424d4339d0e41a",
"sha256": "57f48c9ac0335d4717f82507ad0d0c443f65936e55cbb9b3a733df0a462fd626"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "005846540665d71c69424d4339d0e41a",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 189549,
"upload_time": "2025-08-28T01:02:45",
"upload_time_iso_8601": "2025-08-28T01:02:45.200639Z",
"url": "https://files.pythonhosted.org/packages/ec/34/b53f31f0a5e98cd48e182ae5d932567c1ab7cfb92d4baecf5843716164bf/k_algo-0.1.8-cp311-cp311-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2fa6c35da54f6b051739151f2ec62280c3bbbfe0c814cde734120564c48e84dd",
"md5": "c027f5bfe372367a92fba2bb6bd6ffaa",
"sha256": "27dd53d271e53e68ca4b097bd40ceb7f7ae574e39c856d0ee6bf8fef901d7805"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-manylinux_2_28_aarch64.whl",
"has_sig": false,
"md5_digest": "c027f5bfe372367a92fba2bb6bd6ffaa",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 126621,
"upload_time": "2025-08-28T01:02:46",
"upload_time_iso_8601": "2025-08-28T01:02:46.498104Z",
"url": "https://files.pythonhosted.org/packages/2f/a6/c35da54f6b051739151f2ec62280c3bbbfe0c814cde734120564c48e84dd/k_algo-0.1.8-cp311-cp311-manylinux_2_28_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2c19ffc9bc8f347c8e20834f9df8c118b4cb120f54e06e10f9abc510b1961661",
"md5": "e4a137dc705e39d57084f9217d8df4f1",
"sha256": "72978186484d88b0840f312ad3d32b9bf9d55fe093490e6afc68868b0889cbc5"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "e4a137dc705e39d57084f9217d8df4f1",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 121336,
"upload_time": "2025-08-28T01:02:47",
"upload_time_iso_8601": "2025-08-28T01:02:47.563486Z",
"url": "https://files.pythonhosted.org/packages/2c/19/ffc9bc8f347c8e20834f9df8c118b4cb120f54e06e10f9abc510b1961661/k_algo-0.1.8-cp311-cp311-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "31b29f7afddfeb2cb90e22cdfcf58aa3c783006f39bdc0b3039a6b7dc494d94c",
"md5": "9c4ea187e0ad936cd7c53584eec5ef99",
"sha256": "f907152f16e2b33f833508b75fb507cacf8f028221c59e4bdb85bfe42f60691a"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "9c4ea187e0ad936cd7c53584eec5ef99",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 125750,
"upload_time": "2025-08-28T01:02:48",
"upload_time_iso_8601": "2025-08-28T01:02:48.424757Z",
"url": "https://files.pythonhosted.org/packages/31/b2/9f7afddfeb2cb90e22cdfcf58aa3c783006f39bdc0b3039a6b7dc494d94c/k_algo-0.1.8-cp311-cp311-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a7f00208705b12dcdb3b1737134478d5eb5fbcd7587a6c4d564f4d7cfd6b0e10",
"md5": "60610c8119bba35d5c27afe437342467",
"sha256": "e7b989d5950163546aef3a1af072b4d5c3efe082f7a22b788b2d34298c4c9c20"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "60610c8119bba35d5c27afe437342467",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 124303,
"upload_time": "2025-08-28T01:02:49",
"upload_time_iso_8601": "2025-08-28T01:02:49.538702Z",
"url": "https://files.pythonhosted.org/packages/a7/f0/0208705b12dcdb3b1737134478d5eb5fbcd7587a6c4d564f4d7cfd6b0e10/k_algo-0.1.8-cp311-cp311-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "465e0f2a92db3ca6ac449144b4f2d0cc034935fde5be3a54d3aaff935217dd1a",
"md5": "e95287e4efe367136590bc3ab4c2efb2",
"sha256": "94709695ef8f2108cd8abbb3f33a135f1a4c5f08f712ba81f46a1618c17807ea"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "e95287e4efe367136590bc3ab4c2efb2",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.11",
"size": 105822,
"upload_time": "2025-08-28T01:02:50",
"upload_time_iso_8601": "2025-08-28T01:02:50.719467Z",
"url": "https://files.pythonhosted.org/packages/46/5e/0f2a92db3ca6ac449144b4f2d0cc034935fde5be3a54d3aaff935217dd1a/k_algo-0.1.8-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f21981a6dd8f4fa9d0208d2dd7ee2f5ac36811fe01207c40fb38d6d757d66555",
"md5": "c69b7d75be640500759bf3121d4b0220",
"sha256": "1357e194ef95922f79fd7782ad256c462314cf82f4f934ac92d5a0f47d9b2e47"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-macosx_10_13_universal2.whl",
"has_sig": false,
"md5_digest": "c69b7d75be640500759bf3121d4b0220",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 204752,
"upload_time": "2025-08-28T01:02:51",
"upload_time_iso_8601": "2025-08-28T01:02:51.595981Z",
"url": "https://files.pythonhosted.org/packages/f2/19/81a6dd8f4fa9d0208d2dd7ee2f5ac36811fe01207c40fb38d6d757d66555/k_algo-0.1.8-cp312-cp312-macosx_10_13_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f75f4915aac74a9d9e1fdae8c6873902c6760602540a2c5e1860e967da5f42e1",
"md5": "01a75a5fd42c62fcb0b69f7d9b8377a1",
"sha256": "101276d9ce8f60ccb5fa5875e61b2e429ce81c75936a8572ca95c785f3ba41e2"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-manylinux_2_28_aarch64.whl",
"has_sig": false,
"md5_digest": "01a75a5fd42c62fcb0b69f7d9b8377a1",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 128482,
"upload_time": "2025-08-28T01:02:52",
"upload_time_iso_8601": "2025-08-28T01:02:52.740142Z",
"url": "https://files.pythonhosted.org/packages/f7/5f/4915aac74a9d9e1fdae8c6873902c6760602540a2c5e1860e967da5f42e1/k_algo-0.1.8-cp312-cp312-manylinux_2_28_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b36daf25875ac4cc4222b6965fdd14f92bce9dcd4315ec3a7536a6e7f3891e22",
"md5": "7e17dbd4cc46f61276c58b9c4d546a9d",
"sha256": "ab065c51736a4a30568adeef0647524948b8fdccfb8b298dc91f1fb5942bdbfc"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "7e17dbd4cc46f61276c58b9c4d546a9d",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 124515,
"upload_time": "2025-08-28T01:02:53",
"upload_time_iso_8601": "2025-08-28T01:02:53.677825Z",
"url": "https://files.pythonhosted.org/packages/b3/6d/af25875ac4cc4222b6965fdd14f92bce9dcd4315ec3a7536a6e7f3891e22/k_algo-0.1.8-cp312-cp312-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "76d41c5f56f3f4c1157cd4849565f5c7d9d4d527b988c7e753d15565d0797fd9",
"md5": "e9cafed477abb4369f8de0fc28998440",
"sha256": "3699ed4200fdb3838b70358df83651c15ef7796f011194042cf18f0b3c384b29"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "e9cafed477abb4369f8de0fc28998440",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 127293,
"upload_time": "2025-08-28T01:02:54",
"upload_time_iso_8601": "2025-08-28T01:02:54.803943Z",
"url": "https://files.pythonhosted.org/packages/76/d4/1c5f56f3f4c1157cd4849565f5c7d9d4d527b988c7e753d15565d0797fd9/k_algo-0.1.8-cp312-cp312-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "49e1b6a8d40c6800f2c05587df180d8d60ce55c9bd844d7ebff78614efbd1d19",
"md5": "e0aa6c191a58e57e7eba991a3f6c903e",
"sha256": "9072a0bf381309bd94c63ea4ea96be6367f5614756c3508429fe3369699c21dd"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "e0aa6c191a58e57e7eba991a3f6c903e",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 127041,
"upload_time": "2025-08-28T01:02:55",
"upload_time_iso_8601": "2025-08-28T01:02:55.617185Z",
"url": "https://files.pythonhosted.org/packages/49/e1/b6a8d40c6800f2c05587df180d8d60ce55c9bd844d7ebff78614efbd1d19/k_algo-0.1.8-cp312-cp312-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e1f8a6f4487214f8c529fb80e153050a24acba601b00956a3ecb03bf2b63c7f6",
"md5": "15942a33739e954f33ab6c82df4f27d1",
"sha256": "8fa2853e11b7e8fdbfbddec858c95351ba633cb7cd7b9c304274682666738243"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "15942a33739e954f33ab6c82df4f27d1",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.11",
"size": 107250,
"upload_time": "2025-08-28T01:02:56",
"upload_time_iso_8601": "2025-08-28T01:02:56.426218Z",
"url": "https://files.pythonhosted.org/packages/e1/f8/a6f4487214f8c529fb80e153050a24acba601b00956a3ecb03bf2b63c7f6/k_algo-0.1.8-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0e33445c8731aabd8ba4cf6fe9f0d8259c680e6c9c32d957ac2a0941a15b612d",
"md5": "fdb8f5fcc3349930abad91fe843d631d",
"sha256": "2db37f70a8ca43cde5a7eb9c00fa140990aead0fc2d2465a0c0f1d56c77b2f5e"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-macosx_10_13_universal2.whl",
"has_sig": false,
"md5_digest": "fdb8f5fcc3349930abad91fe843d631d",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 194197,
"upload_time": "2025-08-28T01:02:57",
"upload_time_iso_8601": "2025-08-28T01:02:57.298858Z",
"url": "https://files.pythonhosted.org/packages/0e/33/445c8731aabd8ba4cf6fe9f0d8259c680e6c9c32d957ac2a0941a15b612d/k_algo-0.1.8-cp313-cp313-macosx_10_13_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "292556b0ca8d45f51cf1f4ae2c454bb4c79ed7453eec76fc53c97337885dceae",
"md5": "5b882af182f5b41dda0a44d713ee9e66",
"sha256": "7fa845b033700a2fafa2028941bc06248620d510c1c621c4850b108e517d544a"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-manylinux_2_28_aarch64.whl",
"has_sig": false,
"md5_digest": "5b882af182f5b41dda0a44d713ee9e66",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 123706,
"upload_time": "2025-08-28T01:02:58",
"upload_time_iso_8601": "2025-08-28T01:02:58.454577Z",
"url": "https://files.pythonhosted.org/packages/29/25/56b0ca8d45f51cf1f4ae2c454bb4c79ed7453eec76fc53c97337885dceae/k_algo-0.1.8-cp313-cp313-manylinux_2_28_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0f3a8f799ce00e0a237be11bdb0a5c079ae0a981dc8b84be0792fd8bcff91bb7",
"md5": "117c45fdd2dc5f1b18c72ffdba2ed274",
"sha256": "348fb6f4da4eae448d2939dcd8725add2d4200ecfae88d1aea5f3c9ef4229fc2"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "117c45fdd2dc5f1b18c72ffdba2ed274",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 119658,
"upload_time": "2025-08-28T01:02:59",
"upload_time_iso_8601": "2025-08-28T01:02:59.337205Z",
"url": "https://files.pythonhosted.org/packages/0f/3a/8f799ce00e0a237be11bdb0a5c079ae0a981dc8b84be0792fd8bcff91bb7/k_algo-0.1.8-cp313-cp313-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6a24967ccfa3455b6104f2b0b041aa7e368a0dec9104aa5400c8636a1ee16ab0",
"md5": "14c9e26fd09aaed4a0d47ee24a401066",
"sha256": "f94868d5c84b29ee6ca398806b5d412c74fa09fdecad0b185cd768502c38591c"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "14c9e26fd09aaed4a0d47ee24a401066",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 122989,
"upload_time": "2025-08-28T01:03:00",
"upload_time_iso_8601": "2025-08-28T01:03:00.207215Z",
"url": "https://files.pythonhosted.org/packages/6a/24/967ccfa3455b6104f2b0b041aa7e368a0dec9104aa5400c8636a1ee16ab0/k_algo-0.1.8-cp313-cp313-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "dc04d2409b767545248b568840195c73929cf21b43b7255dbd2c36e25a688a9b",
"md5": "e54b669fe7bde4dc18b7302ea3557075",
"sha256": "d7fd9d99755318cf4b892bfcf0a907567efc5b264b806b49b5ee1837d4f8aae8"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "e54b669fe7bde4dc18b7302ea3557075",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 122341,
"upload_time": "2025-08-28T01:03:01",
"upload_time_iso_8601": "2025-08-28T01:03:01.036909Z",
"url": "https://files.pythonhosted.org/packages/dc/04/d2409b767545248b568840195c73929cf21b43b7255dbd2c36e25a688a9b/k_algo-0.1.8-cp313-cp313-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "416de107b17383ff1a4988dae1546840966bafa19cf424bb5414da8f9a2e5beb",
"md5": "1ef08dc67f1bae141012ef73a2e89939",
"sha256": "97093fde4d15fc04b3a530735328d8214a19e7ec4b98468bb7368e393e2da94c"
},
"downloads": -1,
"filename": "k_algo-0.1.8-cp313-cp313-win_amd64.whl",
"has_sig": false,
"md5_digest": "1ef08dc67f1bae141012ef73a2e89939",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.11",
"size": 102775,
"upload_time": "2025-08-28T01:03:01",
"upload_time_iso_8601": "2025-08-28T01:03:01.882234Z",
"url": "https://files.pythonhosted.org/packages/41/6d/e107b17383ff1a4988dae1546840966bafa19cf424bb5414da8f9a2e5beb/k_algo-0.1.8-cp313-cp313-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-28 01:02:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "k-algo"
}