Skip to main content

No project description provided

Project description

Prerequisites:

  • Rust compiler (installation instructions, it is important to allow installation of Visual Studio C++ Build tools on Windows - this is the default installation procedure),
  • Python version at least 3.7

The same tools are required for each operating system. "Visual Studio C++ Build tools" in the case of Windows are required due to the use of the linker (it should be possible to bypass it with the appropriate flags). Check that all required tools are in the path (they are available from the terminal level without having to go to the directories where they were installed).

Installation:

  • Create a python virtual environment and activate it,
  • In the activated environment, install:
    • Maturin - the build manager for native python extensions (pip install maturin),
    • Pdoc - the Python documentation generator (pip install pdoc),
  • Go to the project directory (where the Cargo.toml file is located),
  • Use the command maturin develop --release (the library will be compiled with optimizations enabled and installed in the activated environment)

Now the library is ready to use (make sure that the environment in which the library was installed is active). The library can also be compiled into a .whl installation package using the maturin build command (instructions).

Documentation:

The HTML documentation for the nanoPDB library is available in the docs directory.

Useful VSCode extensions:

  • rust-analyzer (The Rust Programming Language)
  • Even Better TOML (tamasfe)
  • Python (as extension pack)

Project details


Download files

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

Source Distribution

nanoPDB-0.1.0.tar.gz (189.4 kB view details)

Uploaded Source

Built Distribution

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

nanoPDB-0.1.0-cp311-none-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file nanoPDB-0.1.0.tar.gz.

File metadata

  • Download URL: nanoPDB-0.1.0.tar.gz
  • Upload date:
  • Size: 189.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.3.1

File hashes

Hashes for nanoPDB-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e77e3bbf896424161518c9259b2796d5565ed0cf599e413b2be75f806227177
MD5 f6bad174c481abcf177c46aa26093c97
BLAKE2b-256 f053f69edbb89e11d3b0c364d763da2800902267893aee59100b309d631decb0

See more details on using hashes here.

File details

Details for the file nanoPDB-0.1.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: nanoPDB-0.1.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.3.1

File hashes

Hashes for nanoPDB-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 eaa754368be1fb27782c6fa42daabd25d5f45e3cbe2fb300b20a8b1131c5114e
MD5 ba420653532770adc1cb1e5a7f2cc270
BLAKE2b-256 c9a3a4367de034a086a189fe57364404521f90bcda0ed8a836982f0479a9b020

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