Skip to main content

# 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynexusapi-2.3.tar.gz (211.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynexusapi-2.3-py3-none-any.whl (214.7 kB view details)

Uploaded Python 3

File details

Details for the file pynexusapi-2.3.tar.gz.

File metadata

  • Download URL: pynexusapi-2.3.tar.gz
  • Upload date:
  • Size: 211.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pynexusapi-2.3.tar.gz
Algorithm Hash digest
SHA256 77036c1e31655d9908d944b1c1bae75bc9f289571bb7c78eaa2f14ec49baf460
MD5 8f47b4f043227e3e0cfcb11121e7e06a
BLAKE2b-256 66b04c733f3b8a79d5ea8502472044fb86ddf90829d3a6b19a602cf7cac3a9a3

See more details on using hashes here.

File details

Details for the file pynexusapi-2.3-py3-none-any.whl.

File metadata

  • Download URL: pynexusapi-2.3-py3-none-any.whl
  • Upload date:
  • Size: 214.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pynexusapi-2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ebd03eeb6e89054ccdd90d3cf495dcfc8874f9aa89003aa5e23e715b81291b80
MD5 ad92eea642d0be83fc265297e6d7d9c1
BLAKE2b-256 0b65cc0ea4d47fd057bd8c3ad1df2b1ae4cf5e9f7c09b34ed0a569b8f4b3ed12

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 Sentry Error logging StatusPage Status page