diff --git a/src/__init__.py b/__init__.py similarity index 100% rename from src/__init__.py rename to __init__.py diff --git a/dist/bunya_jobs-0.0.1-py3-none-any.whl b/dist/bunya_jobs-0.0.1-py3-none-any.whl deleted file mode 100644 index 81457a8..0000000 Binary files a/dist/bunya_jobs-0.0.1-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.1.tar.gz b/dist/bunya_jobs-0.0.1.tar.gz deleted file mode 100644 index 30196af..0000000 Binary files a/dist/bunya_jobs-0.0.1.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.2-py3-none-any.whl b/dist/bunya_jobs-0.0.2-py3-none-any.whl deleted file mode 100644 index eb36bc8..0000000 Binary files a/dist/bunya_jobs-0.0.2-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.2.tar.gz b/dist/bunya_jobs-0.0.2.tar.gz deleted file mode 100644 index 7afcb66..0000000 Binary files a/dist/bunya_jobs-0.0.2.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.3-py3-none-any.whl b/dist/bunya_jobs-0.0.3-py3-none-any.whl deleted file mode 100644 index 9e52c43..0000000 Binary files a/dist/bunya_jobs-0.0.3-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.3.tar.gz b/dist/bunya_jobs-0.0.3.tar.gz deleted file mode 100644 index 7d636bc..0000000 Binary files a/dist/bunya_jobs-0.0.3.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.4-py3-none-any.whl b/dist/bunya_jobs-0.0.4-py3-none-any.whl deleted file mode 100644 index 4fc21f0..0000000 Binary files a/dist/bunya_jobs-0.0.4-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.4.tar.gz b/dist/bunya_jobs-0.0.4.tar.gz deleted file mode 100644 index fed37b7..0000000 Binary files a/dist/bunya_jobs-0.0.4.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.5-py3-none-any.whl b/dist/bunya_jobs-0.0.5-py3-none-any.whl deleted file mode 100644 index 21df3b4..0000000 Binary files a/dist/bunya_jobs-0.0.5-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.5.tar.gz b/dist/bunya_jobs-0.0.5.tar.gz deleted file mode 100644 index 072628c..0000000 Binary files a/dist/bunya_jobs-0.0.5.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.6-py3-none-any.whl b/dist/bunya_jobs-0.0.6-py3-none-any.whl deleted file mode 100644 index bfea6f8..0000000 Binary files a/dist/bunya_jobs-0.0.6-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.6.tar.gz b/dist/bunya_jobs-0.0.6.tar.gz deleted file mode 100644 index 260b5b4..0000000 Binary files a/dist/bunya_jobs-0.0.6.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.0.7-py3-none-any.whl b/dist/bunya_jobs-0.0.7-py3-none-any.whl deleted file mode 100644 index 6e9f59d..0000000 Binary files a/dist/bunya_jobs-0.0.7-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.0.7.tar.gz b/dist/bunya_jobs-0.0.7.tar.gz deleted file mode 100644 index e7b9ca5..0000000 Binary files a/dist/bunya_jobs-0.0.7.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.0-py3-none-any.whl b/dist/bunya_jobs-0.1.0-py3-none-any.whl deleted file mode 100644 index f2a1b12..0000000 Binary files a/dist/bunya_jobs-0.1.0-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.0.tar.gz b/dist/bunya_jobs-0.1.0.tar.gz deleted file mode 100644 index 9da3a0d..0000000 Binary files a/dist/bunya_jobs-0.1.0.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.1-py3-none-any.whl b/dist/bunya_jobs-0.1.1-py3-none-any.whl deleted file mode 100644 index e5bb320..0000000 Binary files a/dist/bunya_jobs-0.1.1-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.1.tar.gz b/dist/bunya_jobs-0.1.1.tar.gz deleted file mode 100644 index a74bacc..0000000 Binary files a/dist/bunya_jobs-0.1.1.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.2-py3-none-any.whl b/dist/bunya_jobs-0.1.2-py3-none-any.whl deleted file mode 100644 index 91c1afe..0000000 Binary files a/dist/bunya_jobs-0.1.2-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.2.tar.gz b/dist/bunya_jobs-0.1.2.tar.gz deleted file mode 100644 index 570598a..0000000 Binary files a/dist/bunya_jobs-0.1.2.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.3-py3-none-any.whl b/dist/bunya_jobs-0.1.3-py3-none-any.whl deleted file mode 100644 index 874bffd..0000000 Binary files a/dist/bunya_jobs-0.1.3-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.3.tar.gz b/dist/bunya_jobs-0.1.3.tar.gz deleted file mode 100644 index 983f013..0000000 Binary files a/dist/bunya_jobs-0.1.3.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.4-py3-none-any.whl b/dist/bunya_jobs-0.1.4-py3-none-any.whl deleted file mode 100644 index 71b5407..0000000 Binary files a/dist/bunya_jobs-0.1.4-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.4.tar.gz b/dist/bunya_jobs-0.1.4.tar.gz deleted file mode 100644 index 8537b96..0000000 Binary files a/dist/bunya_jobs-0.1.4.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.5-py3-none-any.whl b/dist/bunya_jobs-0.1.5-py3-none-any.whl deleted file mode 100644 index e402de0..0000000 Binary files a/dist/bunya_jobs-0.1.5-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.5.tar.gz b/dist/bunya_jobs-0.1.5.tar.gz deleted file mode 100644 index 1b5ab8f..0000000 Binary files a/dist/bunya_jobs-0.1.5.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.6-py3-none-any.whl b/dist/bunya_jobs-0.1.6-py3-none-any.whl deleted file mode 100644 index 40ce259..0000000 Binary files a/dist/bunya_jobs-0.1.6-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.6.tar.gz b/dist/bunya_jobs-0.1.6.tar.gz deleted file mode 100644 index d660d3b..0000000 Binary files a/dist/bunya_jobs-0.1.6.tar.gz and /dev/null differ diff --git a/dist/bunya_jobs-0.1.7-py3-none-any.whl b/dist/bunya_jobs-0.1.7-py3-none-any.whl deleted file mode 100644 index f32e914..0000000 Binary files a/dist/bunya_jobs-0.1.7-py3-none-any.whl and /dev/null differ diff --git a/dist/bunya_jobs-0.1.7.tar.gz b/dist/bunya_jobs-0.1.7.tar.gz deleted file mode 100644 index c7cfbc9..0000000 Binary files a/dist/bunya_jobs-0.1.7.tar.gz and /dev/null differ diff --git a/src/bunya_jobs/__init__.py b/hooks/__init__.py similarity index 100% rename from src/bunya_jobs/__init__.py rename to hooks/__init__.py diff --git a/src/bunya_jobs/hooks/slack.py b/hooks/slack.py similarity index 100% rename from src/bunya_jobs/hooks/slack.py rename to hooks/slack.py diff --git a/src/bunya_jobs/monitor.py b/monitor.py similarity index 92% rename from src/bunya_jobs/monitor.py rename to monitor.py index b3fcb08..5b90328 100644 --- a/src/bunya_jobs/monitor.py +++ b/monitor.py @@ -1,9 +1,9 @@ import subprocess from typing import Optional import os -from src.bunya_jobs.hooks.slack import send_slack_message -from src.bunya_jobs.utils.stdout_processing import stdout_to_job_records, JOB_RECORDS -from src.bunya_jobs.utils.data_serialization import ( +from hooks.slack import send_slack_message +from utils.stdout_processing import stdout_to_job_records, JOB_RECORDS +from utils.data_serialization import ( read_json_as_job_records, write_job_records_to_json, ) diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 8877c57..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,20 +0,0 @@ -[project] -name = "bunya_jobs" -version = "0.1.7" -authors = [{ name = "Kerry Chu", email = "kerry.x.chu@gmail.com" }] -description = "useful utilities for monitoring jobs at bunya" -readme = "README.md" -requires-python = ">=3.9" -classifiers = [ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", -] - -# [project.urls] -# Homepage = "https://github.com/kerrychu/sampleproject" -# Issues = "https://github.com/kerrychu/sampleproject/issues" - -[build-system] -requires = ["setuptools>=61.0"] -build-backend = "setuptools.build_meta" diff --git a/src/bunya_jobs.egg-info/PKG-INFO b/src/bunya_jobs.egg-info/PKG-INFO deleted file mode 100644 index e13dd0b..0000000 --- a/src/bunya_jobs.egg-info/PKG-INFO +++ /dev/null @@ -1,14 +0,0 @@ -Metadata-Version: 2.1 -Name: bunya_jobs -Version: 0.1.7 -Summary: useful utilities for monitoring jobs at bunya -Author-email: Kerry Chu -Classifier: Programming Language :: Python :: 3 -Classifier: License :: OSI Approved :: MIT License -Classifier: Operating System :: OS Independent -Requires-Python: >=3.9 -Description-Content-Type: text/markdown -License-File: LICENSE - -# Bunya Jobs - diff --git a/src/bunya_jobs.egg-info/SOURCES.txt b/src/bunya_jobs.egg-info/SOURCES.txt deleted file mode 100644 index 5e74bb7..0000000 --- a/src/bunya_jobs.egg-info/SOURCES.txt +++ /dev/null @@ -1,14 +0,0 @@ -LICENSE -README.md -pyproject.toml -src/bunya_jobs/__init__.py -src/bunya_jobs/monitor.py -src/bunya_jobs.egg-info/PKG-INFO -src/bunya_jobs.egg-info/SOURCES.txt -src/bunya_jobs.egg-info/dependency_links.txt -src/bunya_jobs.egg-info/top_level.txt -src/bunya_jobs/hooks/__init__.py -src/bunya_jobs/hooks/slack.py -src/bunya_jobs/utils/__init__.py -src/bunya_jobs/utils/data_serialization.py -src/bunya_jobs/utils/stdout_processing.py \ No newline at end of file diff --git a/src/bunya_jobs.egg-info/dependency_links.txt b/src/bunya_jobs.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/src/bunya_jobs.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/bunya_jobs.egg-info/top_level.txt b/src/bunya_jobs.egg-info/top_level.txt deleted file mode 100644 index cb1bc39..0000000 --- a/src/bunya_jobs.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -bunya_jobs diff --git a/src/bunya_jobs/utils/__init__.py b/src/bunya_jobs/utils/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/bunya_jobs/hooks/__init__.py b/utils/__init__.py similarity index 100% rename from src/bunya_jobs/hooks/__init__.py rename to utils/__init__.py diff --git a/src/bunya_jobs/utils/data_serialization.py b/utils/data_serialization.py similarity index 100% rename from src/bunya_jobs/utils/data_serialization.py rename to utils/data_serialization.py diff --git a/src/bunya_jobs/utils/output.txt b/utils/output.txt similarity index 100% rename from src/bunya_jobs/utils/output.txt rename to utils/output.txt diff --git a/src/bunya_jobs/utils/stdout_processing.py b/utils/stdout_processing.py similarity index 100% rename from src/bunya_jobs/utils/stdout_processing.py rename to utils/stdout_processing.py