Skip to content

Commit

Permalink
fix import issues, clean up init files, add static types, type checki…
Browse files Browse the repository at this point in the history
…ng with mypy
  • Loading branch information
mccroweyclinton-EPA committed Oct 8, 2024
1 parent d68dd9d commit 0b5e231
Show file tree
Hide file tree
Showing 164 changed files with 1,345 additions and 24,134 deletions.
49 changes: 25 additions & 24 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
A python Interface to The United States Environmental Protection
Agency\'s Air Quality System Data Mart RESTful API server. pyaqsapi is a python
port of RAQSAPI
pyaqsapi is a package for python that connects the python programming
environment to the United States Environmental protection agency\'s
Air Quality System (AQS) Data Mart API for retrieval of air
Expand Down Expand Up @@ -33,18 +33,19 @@
be used in any manner to imply endorsement of any commercial product or
activity by the USEPA or the United States Government.
"""
from .helperfunctions import *
from .setupfunctions import *
from .metadatafunctions import *
from .listfunctions import *
import pyaqsapi.bysite.bysite as bysite
import pyaqsapi.bycounty.bycounty as bycounty
import pyaqsapi.bystate.bystate as bystate
import pyaqsapi.bybox.bybox as bybox
import pyaqsapi.byma.byma as byma
import pyaqsapi.bypqao.bypqao as bypqao
import pyaqsapi.bycbsa.bycbsa as bycbsa

import pyaqsapi.bybox as bybox
import pyaqsapi.bycbsa as bycbsa
import pyaqsapi.bycounty as bycounty
import pyaqsapi.byma as byma
import pyaqsapi.bypqao as bypqao
import pyaqsapi.bysite as bysite
import pyaqsapi.bystate as bystate

from pyaqsapi.helperfunctions import *
from pyaqsapi.listfunctions import *
from pyaqsapi.metadatafunctions import *
from pyaqsapi.setupfunctions import *

# from pyaqsapi.bysite import bysite as bysite
# from pyaqsapi.bycounty import bycounty as bycounty
Expand All @@ -55,16 +56,16 @@
# from pyaqsapi.bybox import bybox as bybox


from__all__ = [
"helperfunctions",
"metadatafunctions",
"setupfunctions",
# 'bysite/',
# 'bycounty/',
# 'bystate/',
# 'byma/',
# 'bypqao/',
# 'bycbsa/',
# 'bybox/',
"listfunctions",
__all__ = [
".pyaqsapi/helperfunctions",
".pyaqsapi/metadatafunctions",
".pyaqsapi/setupfunctions",
".pyaqsapi/bysite/",
".pyaqsapi/bycounty/",
".pyaqsapi/bystate/",
".pyaqsapi/byma/",
".pyaqsapi/bypqao/",
".pyaqsapi/bycbsa/",
".pyaqsapi/bybox/",
".pyaqsapi/listfunctions",
]
6 changes: 5 additions & 1 deletion changelog.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelag

..v1.0.0::
initial public release
initial public release

..v1.0.1::
added type hints, type checking with mypy fix importing issues,
clean __init__ files
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXOPTS ?= --jobs auto --color -v --keep-going --show-traceback
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
Expand All @@ -17,4 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -W -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file removed docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/EPA_Disclaimer.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/Install_pyaqsapi.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/Introduction.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/Load_pyaqsapi.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/RAQSAPI.doctree
Binary file not shown.
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/Troubleshooting.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/manual/Using_pyaqsapi.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/_build/doctrees/modules.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bybox.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bycbsa.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bycounty.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.byma.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bypqao.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bysite.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.bystate.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/pyaqsapi.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/_build/html/.buildinfo

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_build/html/_sources/genindex.rst.txt

This file was deleted.

40 changes: 0 additions & 40 deletions docs/_build/html/_sources/index.rst.txt

This file was deleted.

33 changes: 0 additions & 33 deletions docs/_build/html/_sources/manual/EPA_Disclaimer.rst.txt

This file was deleted.

25 changes: 0 additions & 25 deletions docs/_build/html/_sources/manual/Install_pyaqsapi.rst.txt

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_build/html/_sources/manual/Introduction.rst.txt

This file was deleted.

11 changes: 0 additions & 11 deletions docs/_build/html/_sources/manual/Load_pyaqsapi.rst.txt

This file was deleted.

11 changes: 0 additions & 11 deletions docs/_build/html/_sources/manual/RAQSAPI.rst.txt

This file was deleted.

10 changes: 0 additions & 10 deletions docs/_build/html/_sources/manual/TimelinessofAQSdata.rst.txt

This file was deleted.

9 changes: 0 additions & 9 deletions docs/_build/html/_sources/manual/Troubleshooting.rst.txt

This file was deleted.

55 changes: 0 additions & 55 deletions docs/_build/html/_sources/manual/Using_pyaqsapi.rst.txt

This file was deleted.

59 changes: 0 additions & 59 deletions docs/_build/html/_sources/manual/pyaqsapiFunctions-Brief.rst.txt

This file was deleted.

Loading

0 comments on commit 0b5e231

Please sign in to comment.