https://github.com/ishanoshada/chemipy
ChemiPy: Python utilities for chemistry enthusiasts, including stable electron configuration and Aufbau principle implementation. Stay tuned for more exciting features!
https://github.com/ishanoshada/chemipy
Last synced: 3 months ago
JSON representation
ChemiPy: Python utilities for chemistry enthusiasts, including stable electron configuration and Aufbau principle implementation. Stay tuned for more exciting features!
- Host: GitHub
- URL: https://github.com/ishanoshada/chemipy
- Owner: Ishanoshada
- License: mit
- Created: 2023-09-22T21:51:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T05:30:00.000Z (almost 2 years ago)
- Last Synced: 2025-04-28T15:52:25.833Z (5 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChemiPy 🧪
Welcome to the ChemiPy repository! ChemiPy is a Python toolkit designed to assist you in various aspects of chemistry, from electron configurations to molecular calculations.
## Features 📚
### 1. Electron Configuration Formatter 🌐
The `electron_configuration_stable` function takes an atomic number as input and provides a stable electron configuration. It also handles exceptions for elements like Chromium (Cr) and Copper (Cu).
### 2. Electron Configuration Formatter with Superscripts 🧾
The `format_electron_configuration` function enhances the readability of electron configurations by using superscripts to denote the number of electrons in each sublevel.
### 3. (Add more features here as you develop them)
## Usage 🛠️
To use ChemiPy, simply include the relevant functions from the `chemipy.py` file in your Python project. You can then call these functions with the appropriate parameters.
```python
from chemipy import electron_configuration_stable, format_electron_configuration# Example usage
atomic_number = 29
config = electron_configuration_stable(atomic_number)
formatted_config = format_electron_configuration(config)
print(f'Stable Electron configuration for atomic number {atomic_number}: {formatted_config}')
```## Code Output Example 🚀
When you run the example code provided, you will get an output like this:
```
Stable Electron configuration for atomic number 29 (Copper): 1s² 2s² 2p⁶ 3s² 3p⁶ 4s¹ 3d¹⁰
```
**Repository Views** ## Contributions 🤝
Contributions are welcome! If you have ideas for additional features or improvements, please feel free to open an issue or submit a pull request.
## License 📜
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
Happy coding and exploring the world of chemistry with ChemiPy! 🌟🧪