# PyNexusAPI
The ultimate bridge between lazy developers and low-level libraries, designed for good.
Usage:
Recomended to use "import PyNexusAPI as nexus" or "as pn"
Also - modules macOS, Linux, Windows are not cross-platform.
Example I made in 5 minutes:
from PyNexusAPI import Mouse, Keyboard, Clipboard
Mouse.LeftClick()
Keyboard.FWrite("Hello world!")
Clipboard.CopyText("Hello world! x2")
Note: Clipboard.CopyAny works ONLY for Windows.
Example 2:
from PyNexusAPI import NexusQuantumSim # do not touch unless you have Phd++, I meant PhD += 1
sim = NexusQuantumSim(num_qubits=1)
sim.PrintState()
sim.Hadamard(target_qubit=0)
sim.PrintState()
result = sim.Measure()
sim.PrintState()
# this works better than random.randint as it takes system's time does some math and boom, predictable, and NexusQuantumSim simulates a universe (no matter it's one qubit it's still universe) on your CPU and it's unpredictable
CLI features:
PS F:\> python -m PyNexusAPI --simulate quantum qubit --two
[QUANTUM] Initialized 2-qubit quantum register. Universe simulated >w<
[QUANTUM] Applying Hadamard gate to Q0 (Superposition go brrrr)
[QUANTUM] Applying Hadamard gate to Q1 (Superposition go brrrr)
[QUANTUM] Current State Vector Amplitudes:
|00> : 0.5000 (25.0% prob)
|01> : 0.5000 (25.0% prob)
|10> : 0.5000 (25.0% prob)
|11> : 0.5000 (25.0% prob)
[QUANTUM] Collapsing wave function... Schrodinger is nervous OwO
[QUANTUM] Measurement resulted in state |00>
PS F:\> python -m PyNexusAPI --simulate quantum qubit
[QUANTUM] Initialized 1-qubit quantum register. Universe simulated >w<
[QUANTUM] Current State Vector Amplitudes:
|0> : 1.0000 (100.0% prob)
[QUANTUM] Applying Hadamard gate to Q0 (Superposition go brrrr)
[QUANTUM] Current State Vector Amplitudes:
|0> : 0.7071 (50.0% prob)
|1> : 0.7071 (50.0% prob)
[QUANTUM] Collapsing wave function... Schrodinger is nervous OwO
[QUANTUM] Measurement resulted in state |1>
[QUANTUM] Current State Vector Amplitudes:
|1> : 1.0000 (100.0% prob)
PS F:\> python -m PyNexusAPI --tobinary Hello world!
[INFO] Converting to binary...
01001000 01100101 01101100 01101100 01101111 00100000 01110111 01101111 01110010 01101100 01100100 00100001
PS F:\> python -m PyNexusAPI --frombinary 01001000 01100101 01101100 01101100 01101111 00100000 01110111 01101111 01110010 01101100 01100100 00100001
[INFO] Deconverting from binary...
Hello world!
PyNoob CaSP Software
Metadata
Release files for PyNexusAPI 2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pynexusapi-2.3.tar.gz | 211.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynexusapi-2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 425.8 kB
Release files / pynexusapi-2.3.tar.gz
| Download URL | pynexusapi-2.3.tar.gz |
|---|---|
| Size | 211.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77036c1e31655d9908d944b1c1bae75bc9f289571bb7c78eaa2f14ec49baf460
|
|
BLAKE2b-256 checksum How to use checksums |
66b04c733f3b8a79d5ea8502472044fb86ddf90829d3a6b19a602cf7cac3a9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / pynexusapi-2.3-py3-none-any.whl
| Download URL | pynexusapi-2.3-py3-none-any.whl |
|---|---|
| Size | 214.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebd03eeb6e89054ccdd90d3cf495dcfc8874f9aa89003aa5e23e715b81291b80
|
|
BLAKE2b-256 checksum How to use checksums |
0b65cc0ea4d47fd057bd8c3ad1df2b1ae4cf5e9f7c09b34ed0a569b8f4b3ed12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|