Skip to main content

Basic Chemistry Toolkit

Project description

logo_project

🛠️ Tools Kit 🛠

Build Status Coverage License

📖 Description

The Tools Kit package allows chemistry students to find basic information on molecules and provides easy access to some graphs and calculations required in experimental laboratories.

🌙 Note: For an aesthetically pleasing experience, it is recommended to use the dark mode interface if you are on a Mac or any other platform that supports it.

📚 Table of Contents

🛠️ Installation

1. 🍴 Fork the Repository

To start, fork the repository to your own GitHub account.
To do so, navigate to the repository page and click the "Fork" button. The repository will then be copied to your account, and you will be able to access it.

2. 📥 Clone the Repository

GitHub

Next, clone the repository using the following command:

a) Using HTTPS (default):

git clone https://github.com/sgrunber/Project-ppchem-tools-kit.git

b) Using SSH (recommended for users who have set up SSH):

To clone with SSH, use the following command:

git clone git@github.com:sgrunber/Project-ppchem-tools-kit.git

3. ⬇️ Install with pip

After cloning, navigate into the cloned directory and install the package locally using pip:

cd path/to/Project-ppchem-tools-kit
pip install .

This will install the package and its dependencies from the cloned repository, automatically fetching the latest version:

PyPI

Alternatively, you can install Tools Kit using pip, which will fetch and install the latest updated version from PyPI:

pip install Project_ppchem-tools-kit

🚀 Usage

To use Tools Kit and access its features, follow these steps after cloning the repository:

Using Jupyter Notebook:

Jupyter Notebook

  1. Launch Jupyter Notebook by navigating to the cloned repository directory in your terminal and running the command:

    jupyter notebook
    
  2. In the Jupyter Notebook interface, navigate to the notebooks directory.

  3. Open the notebook named project_report.ipynb.

  4. Follow the instructions inside the notebook to interact with the Tools Kit interface and utilize its features for molecule analysis, graph plotting, error calculation, and more. This notebook provides an interactive environment for convenient usage of Tools Kit directly within Visual Studio Code.

Usage with Visual Studio Code:

VSCode

  1. Open Visual Studio Code and navigate to the cloned directory.

  2. Install the Jupyter extension if not already installed. You can do this by searching for "Jupyter" in the Extensions view (Ctrl+Shift+X) and installing the "Python" extension pack.

  3. Open the notebooks directory in Visual Studio Code.

  4. Open the notebook named project_report.ipynb.

  5. Follow the instructions inside the notebook to interact with the Tools Kit interface and utilize its features for molecule analysis, graph plotting, error calculation, and more. This notebook provides an interactive environment for convenient usage of Tools Kit with Jupyter Notebook.

🧪 Features

  1. 🧬 Molecule Name

    • Input: Raw formula of the molecule
    • Output: SMILES of the molecule
  2. ⚖️ Molecular Weight

    • Input: SMILES of the molecule
    • Output: Corresponding molar mass in g/mol
  3. 📈 Linear Regression

    • Input: Excel document (imported by pressing the Browse button)
    • Output: Linear regression graph with the R2 value
      • Options: The graph allows customization of various parameters such as changing scales, axis labels, title, displaying maximum values, enabling gridlines, adjusting line types and colors, modifying grid and label axes, and background color.
  4. 📊 Graph Maker

    • Input: Excel document with x and y values arranged in two columns
    • Output: Graph plotting all values
      • Options: The graph allows customization of various parameters such as changing scales, axis labels, title, displaying maximum values, enabling gridlines, adjusting line types and colors, modifying grid and label axes, and background color.
  5. 🧮 Error Propagation

    • Input: Variables, their values, and their uncertainties.
    • Output: Mean value, its uncertainty, and the result can be copied as LaTeX code for easy inclusion in documents.
  6. 🔬 Show Molecule

    • Input: SMILES
    • Output: Molecular structure

🤝 Contributing

Contributions are welcome! To contribute to Tools Kit, please follow these steps:

  1. Fork the project to your GitHub account.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
    
  3. Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
    
  4. Make your changes and ensure they adhere to the project's coding conventions and style guidelines.

  5. Commit your changes with descriptive messages explaining the purpose of your changes:

    git commit -am 'Add some feature'
    
  6. Push your changes to your branch on your forked repository:

    git push origin feature/your-feature-name
    
  7. Once you've pushed your changes, you can open a Pull Request (PR) in the original repository. Provide a clear description of the changes you've made in the PR.

  8. After reviewing your PR, if everything looks good, it will be merged into the main repository. Congratulations, you've successfully contributed to Tools Kit!

Thank you for your contribution! Your efforts help improve the project for everyone.

📚 Cite Us

If you use Tools Kit in your research work or academic projects, we would appreciate it if you could cite us. You can use the following BibTeX entry:

BibTeX

@misc{project-ppchem-tools-kit,
  title = {Project-ppchem-tools-kit},
  author = {{Méloé Enzinger & Sébastien Grunberg}},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub Repository},
  howpublished = {\url{https://github.com/username/Project-ppchem-tools-kit}}
}

Chicago Style

Chicago Style

Méloé Enzinger and Sébastien Grunberg. 2024. Project-ppchem-tools-kit. Computer software. GitHub. https://github.com/username/Project-ppchem-tools-kit.` 

📜 License

License

This project is licensed under the MIT License. See the LICENSE file for details.

📸 Screenshots

Note: Graphs have much better quality when saved to your computer.

Interface

Capture d’écran 2024-05-18 à 16 44 09

Graph

graph

Linear Regression

linear_reg

Graph & Linear Regression Settings

scale graph_option Label

Show Molecule

show_molecule

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

project_ppchem_tools_kit-1.1.0.tar.gz (21.0 kB view hashes)

Uploaded Source

Built Distribution

project_ppchem_tools_kit-1.1.0-py3-none-any.whl (29.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page