Skip to content

Commit

Permalink
Generate graphs during main script
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Jun 18, 2024
1 parent a88e7e7 commit 15ac4e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import beautifultable
import requests

import graph


def generate_regex(order: List[str]) -> str:
final = []
Expand Down Expand Up @@ -380,6 +382,11 @@ def create_file(table_string: str, month: int, year: int, total_data: dict):
request_table = table_data(items)
create_file(request_table, MONTH, YEAR, stats)

graph.top_5_resources()
graph.top_5_libraries()
graph.total_requests_and_bandwidth()
graph.daily_requests_and_bandwidth()

"""
Create venv: python3 -m venv
Activate venv: source venv/bin/activate
Expand Down

0 comments on commit 15ac4e2

Please sign in to comment.