drake_eq is a Python implementation of the Drake equation
Project description
Drake Equation Python Package
This Python package provides an implementation of the Drake Equation, which estimates the number of transmitting societies in the Milky Way galaxy. The Drake Equation takes several factors into account to calculate an estimate, including the rate of star formation, the fraction of stars with planetary systems, the number of planets with an environment suitable for life per solar system, the fraction of suitable planets where life actually appears, the fraction of life-bearing planets where intelligent life emerges, the fraction of civilizations that develop detectable signs of their existence, and the average length of time such civilizations produce such signs.
Installation
To install the package, simply run the following command:
pip install drake-eq
Usage
To use the Drake Equation package, follow these steps:
-
Import the
Equation
class from thedrake_eq.equation
:from drake_eq.equation import Equation
-
Create an instance of the
Equation
class with optional parameter values:drake_equation = Equation(Rstar=10, fp=0.5, ne=2, fe=1, fi=0.01, fc=0.01, L=10_000)
-
Estimate the number of technologically advanced civilizations:
result = drake_equation.estimate()
-
Print the result:
print(f"The estimated number of technologically advanced civilizations is: {result}")
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the GitHub repository of this package.
License
This package is licensed under the MIT License. See the LICENSE file for more information.
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
File details
Details for the file drake_eq-1.0.0.tar.gz
.
File metadata
- Download URL: drake_eq-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac7948791fba098545ea41b708232f5b4814bb7e90294bf735eab3b18be6c77 |
|
MD5 | 50bd3a6a523e8d0ec6126e18dd6af590 |
|
BLAKE2b-256 | 62a84a0d460538f60fa611f644adc63af34fc7e2f951b4ff2090839c2df9cfe8 |
File details
Details for the file drake_eq-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: drake_eq-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fc42126f0fc98e07dc0d7fdb38b88b8fa8c7878a503c513bbbbca8fe9777441 |
|
MD5 | e50dd8dea934dd61f5a7a7c36cbb629b |
|
BLAKE2b-256 | f82325901b7bd48f39bda9f532c589ee48a197c660d19b8a52a202963945d068 |