{"id":30749443,"url":"https://github.com/wsl-iq/cpython","last_synced_at":"2026-04-10T23:10:14.033Z","repository":{"id":311282329,"uuid":"1040901768","full_name":"wsl-iq/CPython","owner":"wsl-iq","description":"A lightweight Python-based project inspired by CPython, designed for learning, experimenting, and extending Python features.   It provides a simple structure for contributions, code experiments, and educational purposes.","archived":false,"fork":false,"pushed_at":"2025-09-01T18:18:28.000Z","size":4577,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-01T20:24:57.151Z","etag":null,"topics":["cpp","cython","dll","python","windows-10","windows-11"],"latest_commit_sha":null,"homepage":"https://wsl-iq.github.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wsl-iq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-19T17:14:25.000Z","updated_at":"2025-09-01T18:18:32.000Z","dependencies_parsed_at":"2025-08-23T23:41:08.109Z","dependency_job_id":"3af77251-68a4-4086-8429-a0f6fa529edc","html_url":"https://github.com/wsl-iq/CPython","commit_stats":null,"previous_names":["wsl-iq/cpython"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wsl-iq/CPython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsl-iq%2FCPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsl-iq%2FCPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsl-iq%2FCPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsl-iq%2FCPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wsl-iq","download_url":"https://codeload.github.com/wsl-iq/CPython/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsl-iq%2FCPython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273561378,"owners_count":25127396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cython","dll","python","windows-10","windows-11"],"created_at":"2025-09-04T06:04:45.516Z","updated_at":"2025-10-24T23:03:59.265Z","avatar_url":"https://github.com/wsl-iq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### **CPython**\n\n---\n\n\u003cimg src=\"Cython.png\" alt=\"Program Icon\" width=\"250\" height=\"250\"\u003e\n\n---\n\n### Why This Build System Helps Your Project?\n\n- **This setup makes your workflow faster, cleaner, and more professional. Instead of manually rebuilding every time, everything is automated and reusable.**\n\n---\n\n### Easier Rebuilds\n\n- **You don’t need to manually open setup.py and rebuild the** `.pyx` **into** `.pyd` **or rename it into** `.dll` **.**\n- **The ready-made build script does everything with one command.**\n- **This saves time and effort, especially in large projects.**\n\n---\n\n### Fewer **Errors**\n\n- **All those issues with** **`ModuleNotFound`**, **version mismatches, or wrong file names are avoided.**\n- **The final version keeps everything consistent and properly linked.**\n\n---\n\n### Code Reusability\n\n- **If you have another project or a new version of the same project, you can reuse the compiled** **`.pyd`** **and** **`.dll`** **files without rewriting or recompiling your source code**\n\n---\n\n### Easy Distribution\n\n- **When sharing your project with others, you only need to provide the ready files** **(`.pyd`, `.dll`, `.py`).**\n- **No need for the other person to install `Cython` or `Visual Studio` they can run it directly.**\n\n---\n\n### Faster Execution\n\n- **Since the program skips build steps, it runs immediately. This is important for continuous testing or running large projects without rebuild overhead.**\n\n---\n### in Short\n- T**his system makes your project more professional, portable, and future-proof, while saving you from common `Python`/`Cython` headaches.**\n\n---\n\n### **How Installation**\n\n[![Download Python](https://img.shields.io/badge/Download-Python-blue?logo=python\u0026logoColor=white)](https://www.python.org/ftp/python/3.13.7/python-3.13.7-amd64.exe) \n\n**`Version Python -\u003e 3.13.7`**\n\n---\n\n[![Visual Studio](https://custom-icon-badges.demolab.com/badge/MicroSoft_C++_Build%20Tools-Build_Tool-5C2D91.svg?\u0026logo=visual-studio\u0026logoColor=white)](https://aka.ms/vs/17/release/vs_BuildTools.exe)\n\n```\n$ MicroSoft C++ BuildTools.exe\n```\n\n### Visual Studio Installer (Build Tools 2022)\n### Trun On Option\n\n- **Desktop development with C++**\n\n---\n### **Your Need Packages**\n- `✅` **MSVC v143 - VS 2022 C++ `x64`/`x86` build tools**\n- `✅` `Windows 10` **SDK (10.0.19041.0)** `or` `Windows 11` **SDK (10.0.22000.0)**\n- `✅` **C++ CMake tools for Windows**\n\n---\n\n### **Your Not Need Packages**\n\n- `❌` **.NET desktop development**\n- `❌` **Game development with C++**\n- `❌` **Linux/WSL development**\n- `❌` **Mobile development**\n- `❌` **Universal Windows Platform (UWP)**\n- `❌` **Any packages for `\"C++ Clang\"` or `\"ARM compilers\"` unless they run on ARM platforms**\n\n---\n\n### Size storge \n\n- **The installation size if you only take what you need will be approximately `2-3GB` instead of `10+GB.`**\n\n---\n\n### **Requirements Installation** \n\n```\npip install -r requirements.txt\n```\n\n---\n\n### **OR**\n\n```\n$ requirements.cmd\n```\n\n---\n\n### **Run**\n\n```\npython CPython.py\n```\n\n---\n\n### **OR**\n\n- **Name File -\u003e** `BuildTools.py`\n\n```python\nimport os\nimport sys\nimport glob\nimport shutil\nimport time\nos.system(\"python setup.py build_ext --inplace\")\npython_version = f\"cp{sys.version_info.major}{sys.version_info.minor}\"\npattern = f\"mylib.{python_version}-win_amd64.pyd\"\nfiles = glob.glob(pattern)\nif not files:\n    raise FileNotFoundError(f\"File {pattern} not found\")\npyd_file = files[0]\nprint(f\"Found PYD: {pyd_file}\")\nshutil.copyfile(pyd_file, \"mylib.dll\")\ndll_path = os.path.abspath(\"mylib.dll\")\nprint(f\"Created DLL at: {dll_path}\")\ntime.sleep(1)\nos.system(f'python dll.py')\n```\n---\n\n```\n┏━━ mylib.pyx               \n┃\n┣━━ mylib.c                 \n┃\n┗━━ Build/\n┃    ┗━ temp.win-amd64-cpython/\n┃    ┃     ┣━ mylib.obj               \n┃    ┃     ┣━ mylib.cp-win_amd64.exp  \n┃    ┃     ┗━ mylib.cp-win_amd64.lib  \n┃    ┃\n┃    ┗━ lib.win-amd64-cython/\n┃          ┗━ mylib.cp-win_amd64.pyd  \n┃\n┣━━ mylib.dll               \n┣━━ mylib.h                 \n┗━━ mylib.cp-win_amd64.pyd \n```\n---\n\n| ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11\u0026logoColor=white) | ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux\u0026logoColor=black) | ![macOS](https://img.shields.io/badge/macOS-000000?logo=apple\u0026logoColor=F0F0F0) |\n|---------|-------|---------|\n|   ✅   |   ❌  |   ❌   |\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsl-iq%2Fcpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsl-iq%2Fcpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsl-iq%2Fcpython/lists"}