A Python package for computing molecular potential energy using a C++ backend.
Project description
Molecule Potential Energy Library
This project provides a C++ shared library for calculating the potential energy of a molecule. The library can be easily integrated into Python applications, allowing users to leverage the performance of C++ while maintaining the ease of use of Python.
Project Structure
molecule-potential
├── src
│ ├── potential_energy.cpp
│ └── potential_energy.h
├── python
│ └── module.cpp
├── setup.py
├── CMakeLists.txt
└── README.md
Installation
To install the package, you can use pip. First, ensure you have the necessary build tools and libraries installed. Then, run the following command in the root directory of the project:
pip install .
This will build the C++ shared library and install the Python bindings.
Usage
Once installed, you can use the potential energy function in your Python scripts. Here is a simple example:
import molecule_potential
# Define molecular parameters
parameters = {
'param1': value1,
'param2': value2,
# Add other parameters as needed
}
# Calculate potential energy
energy = molecule_potential.calculate_potential_energy(parameters)
print(f"Potential Energy: {energy}")
Functionality
The library implements a potential energy function that calculates the energy based on various molecular parameters. The implementation is optimized for performance and can handle a wide range of molecular configurations.
Contributing
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file molecule_potential-0.1.0.tar.gz.
File metadata
- Download URL: molecule_potential-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e48ca7cccec742705dc69ba75a03438549c96917fbbe1e42f2c49dac4c987426
|
|
| MD5 |
950414e68a4417ca59c0c6a05cee1201
|
|
| BLAKE2b-256 |
7aca705da45097cd177c621f1f999df82fe72898ee475245393e62289b021bd4
|
File details
Details for the file molecule_potential-0.1.0-py3-none-any.whl.
File metadata
- Download URL: molecule_potential-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0cce0a7e53bda49122090b349aad35771ffb6829279bbf9eafee11a9d339753
|
|
| MD5 |
1b8bb47a57e3f7f5204f997183fdcf6a
|
|
| BLAKE2b-256 |
c4c57d3ade160122eab3d5ac29b70731e467ca95a60b3e9602e54576db24269b
|