Metadata-Version: 2.1
Name: astro_constants
Version: 1.2.0
Summary: A Python library for common astronomical and physical constants
Home-page: https://github.com/RedGloveProductions/Astronomy
Author: JoeStem
Author-email: JoeStem25@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Astro Constants Library

Here's a detailed and professional **README.md** description for your project:

---

# Astro Constants Library

Astro Constants is a Python library that provides a comprehensive collection of commonly used **astronomical** and **physical constants**. This library is designed for developers, researchers, educators, and astronomy enthusiasts to simplify calculations and projects related to astrophysics, cosmology, and space science.

## Features

- **Predefined Constants**:
  - Speed of Light (`SPEED_OF_LIGHT`)
  - Gravitational Constant (`GRAVITATIONAL_CONSTANT`)
  - Planck's Constant (`PLANCK_CONSTANT`)
  - Astronomical Unit (AU) (`ASTRONOMICAL_UNIT`)
  - Light Year (`LIGHT_YEAR`)
  - Parsec (`PARSEC`)
  - Masses and Radii of Celestial Bodies (Sun, Earth, Moon, Jupiter, etc.)
  - Surface Temperature of the Sun
  - Cosmic Microwave Background (CMB) Temperature
  - Orbital Periods (Earth, Moon)
  - Solar Luminosity
  - And many more!

- **Easy-to-Use**:
  - Access constants with simple Python imports for quick implementation.

- **Well-Documented**:
  - Full descriptions of all constants are provided to ensure clarity and usability.

## Installation

You can install the library directly from [PyPI](https://pypi.org/project/astro-constants/):

```bash
pip install astro-constants
```

## Usage

Import the library into your Python project and access constants:

```python
from astro_constants import SPEED_OF_LIGHT, MASS_OF_SUN

print(f"The speed of light is {SPEED_OF_LIGHT} m/s.")
print(f"The mass of the Sun is {MASS_OF_SUN} kg.")
```

## Included Constants

Here is a partial list of constants available in this library:

### Fundamental Constants
- **Speed of Light**: `299792458 m/s`
- **Gravitational Constant**: `6.67430e-11 m^3/kg/s^2`
- **Planck's Constant**: `6.62607015e-34 J·s`
- **Boltzmann Constant**: `1.380649e-23 J/K`

### Astronomical Units
- **Astronomical Unit (AU)**: `1.496e11 meters`
- **Light Year**: `9.461e15 meters`
- **Parsec**: `3.0857e16 meters`

### Celestial Bodies
- **Mass of the Sun**: `1.989e30 kg`
- **Mass of the Earth**: `5.972e24 kg`
- **Mass of the Moon**: `7.348e22 kg`
- **Radius of the Sun**: `6.9634e8 meters`
- **Radius of the Earth**: `6.371e6 meters`

### Orbital and Solar Data
- **Earth Orbital Period**: `365.25 days`
- **Moon Orbital Period**: `27.322 days`
- **Solar Luminosity**: `3.828e26 watts`

## Contributing

We welcome contributions! If you'd like to contribute to this project, please:
1. Fork the repository on GitHub.
2. Make your changes.
3. Submit a pull request with a clear description of the changes.

## License

This project is licensed under the MIT License.

## Support

If you encounter any issues or have suggestions, feel free to open an issue on the [GitHub repository](https://github.com/YourUsername/Astronomy).

---



## Installation
Install the library locally with:
```bash
pip install astro-constants
