You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
> | Manual Build | Compile the binaries yourself using `cl.exe` or similar toolchains | Microsoft Visual Studio with MSVC installed|
16
-
> | Auto Build Script | Run the [`tool/compilerHelper.ps1`](https://github.com/DefinetlyNotAI/PyCTools/blob/main/tool/compilerHelper.ps1) PowerShell script | Visual Studio Build Tools + PowerShell|
17
-
> | Prebuilt Release Archive | Download precompiled binaries from the [releases page](https://github.com/DefinetlyNotAI/PyCTools/releases/tag/v1.0.0)| None (just extract archive) |
> | Manual Build | Compile the binaries yourself using `cl.exe` or similar toolchains | Microsoft Visual Studio with MSVC installed|
16
+
> | Auto Build Script | Run the [`tool/compilerHelper.ps1`](tool/compilerHelper.ps1) PowerShell script | Visual Studio Build Tools + PowerShell|
17
+
> | Prebuilt Release Archive | Download precompiled binaries from the [releases page](https://github.com/DefinetlyNotAI/PyCTools/releases/)| None, make sure to use the latest available version|
18
18
>
19
-
> No matter what you decide, do still read the important notice about the `dist` from the [release](https://github.com/DefinetlyNotAI/PyCTools/releases/tag/v1.0.0) OR check the [Wiki](https://github.com/DefinetlyNotAI/PyCTools/wiki/DLL-Discovery) page about the DLL discovery explanation.
19
+
> No matter what you decide, do still read the important notice about the `dist` from the [release](https://github.com/DefinetlyNotAI/PyCTools/releases/) OR check the [Wiki](https://github.com/DefinetlyNotAI/PyCTools/wiki#dll-discovery-and-dist-directory) page about the DLL discovery explanation.
20
20
21
21
## Directory Structure
22
22
23
23
<details>
24
24
<summary>📁 Project Structure (click to expand)</summary>
25
25
26
-
example/
27
-
pyCTools/
28
-
hwrng.py # Python wrapper for hardware RNG DLL
29
-
processInspect.py # Python wrapper for process inspection DLL
30
-
hwrng_example.py # Example: hardware RNG usage
31
-
process_inspect_example.py # Example: process metrics usage
32
-
src/
33
-
hRng.c # C source for hardware RNG DLL
34
-
processInspect.c # C source for process inspection DLL
35
-
tool/
36
-
compilerHelper.ps1 # PowerShell script to build DLLs for x86/x64
> Either check out the [example script](example/hwrng_example.py) or the [Wiki page](https://github.com/DefinetlyNotAI/PyCTools/wiki/Py-Documentation-‐-hwrng#methods)
100
+
>
101
+
> #### Process Inspection
102
+
> Either check out the [example script](example/process_inspect_example.py) or the [Wiki page](https://github.com/DefinetlyNotAI/PyCTools/wiki/Py-Documentation-‐-processInspect#methods)
72
103
73
-
## DLL Discovery
104
+
###DLL Discovery
74
105
75
106
The Python wrappers automatically search for the correct DLL in:
76
107
-`./dist/{arch}/<dll>`
@@ -79,6 +110,8 @@ The Python wrappers automatically search for the correct DLL in:
79
110
80
111
where `{arch}` is `x64` or `x86` depending on your Python interpreter.
81
112
113
+
> More details on how the DLL discovery works can be found in the [Wiki page](https://github.com/DefinetlyNotAI/PyCTools/wiki#dll-discovery-and-dist-directory)
114
+
82
115
## Extra resources
83
116
84
117
> [!TIP]
@@ -87,4 +120,3 @@ where `{arch}` is `x64` or `x86` depending on your Python interpreter.
87
120
> • **DLL explanations**: learn how the DLLs are structured, discovered, and loaded
88
121
> • **Python examples, wrappers, and usage**: practical code snippets and usage patterns in Python
89
122
> • **C code explanation**: understand the underlying native implementation
0 commit comments