Skip to content

Commit

Permalink
Create main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Oct 18, 2024
1 parent 7ba5678 commit dcdfd1e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/bioregenerative_system/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import logging
from microbial_processing import MicrobialProcessor
from nutrient_cycle import NutrientCycler

def main():
# Set up logging
logging.basicConfig(level=logging.INFO)

# Initialize microbial processor
processor = MicrobialProcessor()

# Process waste
processed_waste = processor.process_waste()
logging.info(f"Processed waste: {processed_waste}")

# Initialize nutrient cycler
cycler = NutrientCycler()

# Cycle nutrients
nutrient_status = cycler.cycle_nutrients(processed_waste)
logging.info(f"Nutrient status: {nutrient_status}")

if __name__ == "__main__":
main()

0 comments on commit dcdfd1e

Please sign in to comment.