From 226c099960d509a4406cae4071eadb5ea40d2879 Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Wed, 19 Apr 2023 16:10:43 -0600 Subject: [PATCH] reorganize. --- datagovharvester/__init__.py | 1 + datagovharvester/example.py | 17 +++++++++++++++++ .../tests => tests/validate}/dcatus/__init__.py | 0 .../tests => tests/validate}/dcatus/conftest.py | 0 .../validate}/dcatus/test_dcat_us.py | 0 5 files changed, 18 insertions(+) create mode 100644 datagovharvester/__init__.py create mode 100644 datagovharvester/example.py rename {validate/tests => tests/validate}/dcatus/__init__.py (100%) rename {validate/tests => tests/validate}/dcatus/conftest.py (100%) rename {validate/tests => tests/validate}/dcatus/test_dcat_us.py (100%) diff --git a/datagovharvester/__init__.py b/datagovharvester/__init__.py new file mode 100644 index 00000000..a68927d6 --- /dev/null +++ b/datagovharvester/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" \ No newline at end of file diff --git a/datagovharvester/example.py b/datagovharvester/example.py new file mode 100644 index 00000000..fbcff967 --- /dev/null +++ b/datagovharvester/example.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +""" +Example module for datagov harvesting +""" + +def hello(name): + return "Hello " + name + "!" + +def main(): + name = input("Please input your name: ") + output = hello(name) + + print(output) + +if __name__ == "__main__": + main() diff --git a/validate/tests/dcatus/__init__.py b/tests/validate/dcatus/__init__.py similarity index 100% rename from validate/tests/dcatus/__init__.py rename to tests/validate/dcatus/__init__.py diff --git a/validate/tests/dcatus/conftest.py b/tests/validate/dcatus/conftest.py similarity index 100% rename from validate/tests/dcatus/conftest.py rename to tests/validate/dcatus/conftest.py diff --git a/validate/tests/dcatus/test_dcat_us.py b/tests/validate/dcatus/test_dcat_us.py similarity index 100% rename from validate/tests/dcatus/test_dcat_us.py rename to tests/validate/dcatus/test_dcat_us.py