Skip to content

Commit

Permalink
Merge pull request #29 from MichaelaLawrenceONS/package_arrange_branch
Browse files Browse the repository at this point in the history
Rearranged and updated file names, added __init__.py
  • Loading branch information
JoelPaullONS authored Oct 26, 2023
2 parents b4d77f4 + c6e47fb commit 208fd51
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "census21_cacd_wrapper"
name = "census21api"
version = "0.0.1"
dependencies = [
"requests",
Expand Down
6 changes: 6 additions & 0 deletions src/census21api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""A Python wrapper for the England & Wales Census 2021 API."""

from .interface import Interface
from .wrapper import APIWrapper

__all__ = ["APIWrapper", "Interface"]
2 changes: 1 addition & 1 deletion src/Interface.py → src/census21api/interface.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from tkinter import *
from src.Census21_CACD_Wrapper import APIWrapper
from src.census21api.wrapper import APIWrapper
FONT = ("arial",10)

class Interface():
Expand Down
File renamed without changes.

0 comments on commit 208fd51

Please sign in to comment.