From 1525a83b7fb90d94ef2c7c38633b12cddade4e2f Mon Sep 17 00:00:00 2001 From: Tom Lever Date: Sat, 15 Jul 2023 21:26:50 +0000 Subject: [PATCH] opioidabusepredictor is a Python package --- README.md | 5 ++++- pyproject.toml | 22 ++++++++++++++++++++++ src/opioidabusepredictor/__init__.py | 1 + src/opioidabusepredictor/queries.py | 1 + 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml create mode 100644 src/opioidabusepredictor/__init__.py create mode 100644 src/opioidabusepredictor/queries.py diff --git a/README.md b/README.md index 89864fa..22f9114 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # Opioid_Abuse_Predictor -Contains project Opioid-Abuse Predictor + +Contains project and Python package Opioid-Abuse Predictor + +For information on creating this Python package, see https://packaging.python.org/en/latest/tutorials/packaging-projects/ . Follow instructions before `python3 -m build`. Install this package by navigating to the root directory of this package and running `pip install .`. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..cf7a5e5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "opioidabusepredictor" +version = "0.0.1" +authors = [ + { name="Tom Lever", email="thomas.lever.business@gmail.com" }, +] +description = "Contains Python utilities for Opioid_Abuse_Predictor" +readme = "README.md" +requires-python = ">=3.7.12" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] + +[project.urls] +"Homepage" = "https://github.com/tslever/Opioid_Abuse_Predictor" +"Bug Tracker" = "https://github.com/tslever/Opioid_Abuse_Predictor/issues" diff --git a/src/opioidabusepredictor/__init__.py b/src/opioidabusepredictor/__init__.py new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/src/opioidabusepredictor/__init__.py @@ -0,0 +1 @@ +Hello World! diff --git a/src/opioidabusepredictor/queries.py b/src/opioidabusepredictor/queries.py new file mode 100644 index 0000000..f301245 --- /dev/null +++ b/src/opioidabusepredictor/queries.py @@ -0,0 +1 @@ +print("Hello World!")