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.3.0-cp312-cp312-win_amd64.whl (11.9 MB view details)

Uploaded CPython 3.12Windows x86-64

nqs_pycore-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (13.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

nqs_pycore-0.3.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (22.5 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.3.0-cp312-cp312-win_amd64.whl.

File metadata

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

File hashes

Hashes for nqs_pycore-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8066946eaf865c623e732f81124e2044bf7140f31753757aa3c89da2a114de94
MD5 e36ffc6f6c78ba9ffa429902b6a0508d
BLAKE2b-256 f4ce34da4acfd4e6e7f484c828dd6b0e12326d59d3a20b3d2b421f7db9db18dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nqs_pycore-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f659842da65c4c18fd912f69fed37f9f6aabcfab6eb89f64b63c73fe279357de
MD5 ea7ce4aae3e582e09b7bb908ff2c93ea
BLAKE2b-256 eabb6301cf38463f1f5ea8d1b5b41427b8ade70b35d4af78fd9058583ed9429d

See more details on using hashes here.

File details

Details for the file nqs_pycore-0.3.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.3.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 001e76e8f9b975267e9af6700d3b6289395f499743be56bf7a7fbeb848f2037f
MD5 984dee292651dcd710749b090d837a15
BLAKE2b-256 b0f072820a44f676c9f4d792c0dadfd3e288a410306d06fba974149380fa35c4

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