Fundamental package for compound library management
Project description
chemlibmgr
Introduction
chemlibmgr is a Python library designed to simplify the management of chemical compound libraries databases.
Features
- Data Handling: Easily manage compound properties such as molecular weight, melting point, and more.
- Library Analysis: Easily analyze the property distribution of compounds in your library.
- Search Functionality: Perform quick searches based on compound properties or chemical structures.
Installation
To install chemlibmgr, use pip:
pip install chemlibmgr
Usage
Basic Usage
from chemlibmgr.manager import Manager
# Initialize the manager with your database configuration
mgr = Manager(database="compounds.db")
# Add new compounds from smiles file
mgr.add_compound('/path/to/smifile', calc_props=False)
# Retrieve compounds
compounds = mgr.search_compounds({'name': 'Aspirin'})
for compound in compounds:
print(compound)
# Add a new property field
mgr.add_field('Classification', 'TEXT')
# Update a compound's property
mgr.update_compound_property(
smiles='CC(=O)Oc1ccccc1C(=O)O', Classification='Drug')
# Delete a compound
mgr.delete_compound(name='Aspirin')
mgr.close()
Contributing
We welcome contributions to improve chemlibmgr. If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.
License
This project is licensed under the Apache License - see the Apache 2.0 license file for 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 chemlibmgr-0.0.1.tar.gz.
File metadata
- Download URL: chemlibmgr-0.0.1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd633308238eb1368f655f040d844a1f7c40143bb03cc705fd5a9b6341682579
|
|
| MD5 |
1270d971a8d90c20abb286f6ab27ea5a
|
|
| BLAKE2b-256 |
91b93071a8d4583d52a357d225894fdc608d52b9452442ce450943d824620309
|
File details
Details for the file chemlibmgr-0.0.1-py3-none-any.whl.
File metadata
- Download URL: chemlibmgr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da4fc6fcb7b757c7668f8346e8c9f604c61a748faff7892c9926bd04963aeada
|
|
| MD5 |
2c6cccd54323bdc8f2d6f5fd43046949
|
|
| BLAKE2b-256 |
8715c611bb6258c2926106dff5d0d68ddf8b014aa49d731ead8b0e3956f013e9
|