diff --git a/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0-py3-none-any.whl b/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0-py3-none-any.whl deleted file mode 100644 index 95d98cf..0000000 Binary files a/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0-py3-none-any.whl and /dev/null differ diff --git a/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0.tar.gz b/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0.tar.gz deleted file mode 100644 index c0452e4..0000000 Binary files a/nhanes_pytool_api/dist/nhanes_pytool_api-0.1.0.tar.gz and /dev/null differ diff --git a/nhanes_pytool_api/src/__init__.py b/nhanes_pytool_api/nhanes_data/__init__.py similarity index 100% rename from nhanes_pytool_api/src/__init__.py rename to nhanes_pytool_api/nhanes_data/__init__.py diff --git a/nhanes_pytool_api/src/nhanes_data_api.py b/nhanes_pytool_api/nhanes_data/nhanes_data_api.py similarity index 100% rename from nhanes_pytool_api/src/nhanes_data_api.py rename to nhanes_pytool_api/nhanes_data/nhanes_data_api.py diff --git a/nhanes_pytool_api/setup.py b/nhanes_pytool_api/setup.py index df43b63..8a9ef44 100644 --- a/nhanes_pytool_api/setup.py +++ b/nhanes_pytool_api/setup.py @@ -21,8 +21,7 @@ "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Information Analysis", ], - packages=find_packages(where="src"), - package_dir={"": "src"}, + packages=find_packages(), python_requires=">=3.8", install_requires=[ "numpy", diff --git a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/PKG-INFO b/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/PKG-INFO deleted file mode 100644 index 5edbd3f..0000000 --- a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/PKG-INFO +++ /dev/null @@ -1,64 +0,0 @@ -Metadata-Version: 2.1 -Name: nhanes-pytool-api -Version: 0.1.0 -Summary: A tool for programmatic access to NHANES downloadable datasets -Home-page: https://github.com/kkrusere/NHANES-pyTOOL-API -Author: Kuzi Rusere -Author-email: kkrusere@gmail.com -Project-URL: Documentation, https://kkrusere.github.io/NHANES-pyTOOL-API/ -Classifier: Development Status :: 4 - Beta -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3.8 -Classifier: Operating System :: OS Independent -Requires-Python: >=3.8 -Description-Content-Type: text/markdown -License-File: LICENSE.txt -Requires-Dist: numpy -Requires-Dist: pandas -Provides-Extra: test -Requires-Dist: pytest; extra == "test" - -# NHANES pyTOOL API - -The NHANES pyTOOL 'API' is a Python library designed to simplify the process of accessing and analyzing data from the National Health and Nutrition Examination Survey (NHANES). NHANES is a program of studies conducted by the National Center for Health Statistics (NCHS), part of the Centers for Disease Control and Prevention (CDC), to assess the health and nutritional status of adults and children in the United States. - -This tool provides an easy-to-use interface for retrieving NHANES datasets, allowing researchers, data science professionals, health professionals, developers and other stakeholders to explore NHANES data efficiently, enabling a wide range of health-related analyses and applications. - -## Features - -- **List Data Categories:** Retrieve a list of available NHANES data categories. -- **List Cycle Years:** Get a list of available NHANES cycle years. -- **Retrieve Variable Tables:** Fetch variable tables for specific data categories. -- **Get Data File Descriptions:** Obtain unique data file descriptions for a given data category and cycle years. -- **Retrieve Data:** Fetch data for specific data categories, cycle years, and data file descriptions. -- **Join Data Files:** Join data files based on common variables. -- **Find Common and Uncommon Variables:** Identify common and uncommon variables across multiple cycle years. - - -## Installation - -To install the NHANES pyTOOL API, use `pip`: - -```bash -pip install nhanes_pytool_api -``` - - - -# Important Note - -**Attention:** In the current version of the NHANES pyTOOL API (version X.X.X), we do not provide a command-line interface (CLI) for direct use from the terminal. This means that you cannot run the API from the command line to access NHANES data. Instead, the API is designed for use as a library in Python scripts or applications. -###### Future Updates - We are continuously improving the NHANES Data API, and in future versions, we may consider adding a command-line interface for easier interaction with the API from the terminal. Until then, please use the API in your Python scripts or applications. - - -## Documentation - -For detailed information on how to use the NHANES pyTOOL API, check out the [documentation](https://kkrusere.github.io/NHANES-pyTOOL-API/). - -## Contributing - -Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change. - -## License - -This project is licensed under the MIT License - see the [LICENSE](https://github.com/kkrusere/NHANES-pyTOOL-API/blob/main/LICENSE.txt) file for details. diff --git a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/SOURCES.txt b/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/SOURCES.txt deleted file mode 100644 index 37fb31b..0000000 --- a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/SOURCES.txt +++ /dev/null @@ -1,9 +0,0 @@ -LICENSE.txt -README.md -setup.py -src/nhanes_pytool_api.egg-info/PKG-INFO -src/nhanes_pytool_api.egg-info/SOURCES.txt -src/nhanes_pytool_api.egg-info/dependency_links.txt -src/nhanes_pytool_api.egg-info/requires.txt -src/nhanes_pytool_api.egg-info/top_level.txt -tests/test_nhanes_data_api.py \ No newline at end of file diff --git a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/dependency_links.txt b/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/requires.txt b/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/requires.txt deleted file mode 100644 index 58d6dde..0000000 --- a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/requires.txt +++ /dev/null @@ -1,5 +0,0 @@ -numpy -pandas - -[test] -pytest diff --git a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/top_level.txt b/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/top_level.txt deleted file mode 100644 index 8b13789..0000000 --- a/nhanes_pytool_api/src/nhanes_pytool_api.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/nhanes_pytool_api/tests/test_nhanes_data_api.py b/nhanes_pytool_api/tests/test_nhanes_data_api.py index 1ca90d9..d09356e 100644 --- a/nhanes_pytool_api/tests/test_nhanes_data_api.py +++ b/nhanes_pytool_api/tests/test_nhanes_data_api.py @@ -1,6 +1,6 @@ import unittest import pandas as pd -from nhanes_pytool_api.src.nhanes_data_api import NHANESDataAPI # Import from the src directory +from nhanes_pytool_api.nhanes_data.nhanes_data_api import NHANESDataAPI # Import from the src directory class TestNHANESDataAPI(unittest.TestCase):