- Compound Identification: Retrieve unique identifiers (CIDs) for chemical compounds based on their names.
- Chemical Properties: Fetch various chemical properties including CAS numbers, molecular formulas, and more.
- Synonyms and Descriptions: Access detailed descriptions and synonyms for a wide range of compounds.
- Data Integration: Combine chemical compound data from PubChem with external data sources seamlessly.
- Data Saving: Functionality to save the integrated data back to a server for further use.
- Python 3.6 or higher
- pip for installing dependencies
- Clone the repository to your local machine:
git clone https://github.com/HzaCode/ChemInformant.git
- Navigate to the project directory:
cd ChemInformant
- Install the required dependencies:
pip install -r requirements.txt
The project is structured into modules, each serving a specific functionality within the data retrieval and integration process:
src/api_helpers.py
: Functions for direct interaction with the PubChem API.src/compound_details.py
: Aggregates detailed information about compounds from various sources.src/drug_data_integration.py
: Demonstrates fetching drug names from a server, retrieving their details, and saving the data.
To see the project in action, refer to the example script provided in the examples
directory:
python examples/example_usage.py
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/HzaCode/ChemInformant