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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nanoPDB-0.1.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa754368be1fb27782c6fa42daabd25d5f45e3cbe2fb300b20a8b1131c5114e |
|
MD5 | ba420653532770adc1cb1e5a7f2cc270 |
|
BLAKE2b-256 | c9a3a4367de034a086a189fe57364404521f90bcda0ed8a836982f0479a9b020 |