Skip to main content

No project description provided

Project description

NQS Simulator python binding

Setup

The following steps require python ≥3.11.

  1. Create and activate venv:
python3 -m venv venv
source venv/bin/activate
  1. Setup AWS python registry and enable pip command

Follow instructions Using Nuant Python Registry on AWS

  • Login to renew the access token
  • Using pip command

The credentials expire after 12 hours.

  1. Install dependencies:
pip3 install -r dev-requirements.txt
pip3 install -r requirements.txt

Run tests

Using UNIX Shell:

RUST_LOG_SPAN_EVENTS=full RUST_LOG=trace cargo test

Using Windows PowerShell

$env:RUST_LOG_SPAN_EVENTS="full"; $env:RUST_LOG="trace"; cargo test

You can use -- --nocapture at the end to show tracing log.

Run bench

cargo make test-bench

Custom profile and target dir

Build and install nqs_pycore package in your venv:

# activate the venv first,
# then for profile `profiling` and target directory `/mnt/build/nqs-simulator-rs`:
maturin dev -F extension-module,uniswap_v3_evm/revmc --profile profiling --target-dir /mnt/build/nqs-simulator-rs

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

nqs_pycore-0.4.0-cp312-cp312-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.12Windows x86-64

nqs_pycore-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (14.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

nqs_pycore-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (22.6 MB view details)

Uploaded CPython 3.12macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file nqs_pycore-0.4.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: nqs_pycore-0.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nqs_pycore-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6ee21486a4899f71364c3c0bf3ebf09f8c970967e7ded0c3baf0d6453426511d
MD5 f3a1344868f76ba375f83966bc2a5279
BLAKE2b-256 53c88c51ef29697f35c320c40e87cdab4a5fdebe87f49e461213f25a28a3b785

See more details on using hashes here.

File details

Details for the file nqs_pycore-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for nqs_pycore-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c485ab88199d780b6cfd476e4a7041d783ef5d287e7e94c58999a08324dba5f
MD5 6a707e26b99a6258e2512d405fbd3dcf
BLAKE2b-256 72581b0070743da1f41c25cfa3002685dfdfa031d051f34f0fe2c3fd780baa0d

See more details on using hashes here.

File details

Details for the file nqs_pycore-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for nqs_pycore-0.4.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e3772e923a3729f45e3cb9fd779a7f6916164dfb2cbe0651e5dddbb5e076a9e0
MD5 ff2a8d91ca3515349bc35bcc8dfdfa55
BLAKE2b-256 9bd5d68df4462258c95a55ef844c180064968dce7b32bb21606462c6e709ab4b

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