Skip to content

Commit

Permalink
clean up naming and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonbJohnson committed Sep 24, 2023
1 parent 01dcbd0 commit 15954f0
Show file tree
Hide file tree
Showing 35 changed files with 34 additions and 466 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/venv*
.DS_Store
.pypirc
*build/
*dist/
38 changes: 0 additions & 38 deletions build/lib/src/db_admin2.py

This file was deleted.

48 changes: 0 additions & 48 deletions build/lib/src/db_operational_presence.py

This file was deleted.

35 changes: 0 additions & 35 deletions build/lib/src/db_resource.py

This file was deleted.

Binary file removed dist/hapi-schema-0.0.1.tar.gz
Binary file not shown.
Binary file removed dist/hapi_schema-0.0.1-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion hapi_schema.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: hapi-schema
Version: 0.0.1
Version: 0.0.4
Summary: HAPI database schema specified in SQLAlchemy
Home-page: https://github.com/OCHA-DAP/hapi-sqlalchemy-schema
Author: HDX
Expand Down
30 changes: 15 additions & 15 deletions hapi_schema.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
LICENSE
README.md
setup.py
hapi_schema/__init__.py
hapi_schema/databasequeries.py
hapi_schema/db_admin1.py
hapi_schema/db_admin2.py
hapi_schema/db_age_range.py
hapi_schema/db_dataset.py
hapi_schema/db_gender.py
hapi_schema/db_location.py
hapi_schema/db_operational_presence.py
hapi_schema/db_org.py
hapi_schema/db_orgtype.py
hapi_schema/db_population.py
hapi_schema/db_resource.py
hapi_schema/db_sector.py
hapi_schema.egg-info/PKG-INFO
hapi_schema.egg-info/SOURCES.txt
hapi_schema.egg-info/dependency_links.txt
hapi_schema.egg-info/top_level.txt
src/__init__.py
src/databasequeries.py
src/db_admin1.py
src/db_admin2.py
src/db_age_range.py
src/db_dataset.py
src/db_gender.py
src/db_location.py
src/db_operational_presence.py
src/db_org.py
src/db_orgtype.py
src/db_population.py
src/db_resource.py
src/db_sector.py
hapi_schema.egg-info/top_level.txt
2 changes: 1 addition & 1 deletion hapi_schema.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src
hapi_schema
2 changes: 1 addition & 1 deletion build/lib/src/__init__.py → hapi_schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
HAPI-Schemas
"""

__version__ = "0.1.0"
__version__ = "0.0.4"
__author__ = 'HDX'
File renamed without changes.
2 changes: 1 addition & 1 deletion build/lib/src/db_admin1.py → hapi_schema/db_admin1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_location import DBLocation # noqa: F401
from hapi_schema.db_location import DBLocation # noqa: F401


class DBAdmin1(Base):
Expand Down
2 changes: 1 addition & 1 deletion src/db_admin2.py → hapi_schema/db_admin2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_admin1 import DBAdmin1 # noqa: F401
from hapi_schema.db_admin1 import DBAdmin1 # noqa: F401


class DBAdmin2(Base):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_admin2 import DBAdmin2 # noqa: F401
from hapi.pipelines.database.db_org import DBOrg # noqa: F401
from hapi.pipelines.database.db_resource import DBResource # noqa: F401
from hapi.pipelines.database.db_sector import DBSector # noqa: F401
from hapi_schema.db_admin2 import DBAdmin2 # noqa: F401
from hapi_schema.db_org import DBOrg # noqa: F401
from hapi_schema.db_resource import DBResource # noqa: F401
from hapi_schema.db_sector import DBSector # noqa: F401


class DBOperationalPresence(Base):
Expand Down
2 changes: 1 addition & 1 deletion build/lib/src/db_org.py → hapi_schema/db_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_orgtype import DBOrgType # noqa: F401
from hapi_schema.db_orgtype import DBOrgType # noqa: F401


class DBOrg(Base):
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_admin2 import DBAdmin2 # noqa: F401
from hapi.pipelines.database.db_age_range import DBAgeRange # noqa: F401
from hapi.pipelines.database.db_gender import DBGender # noqa: F401
from hapi.pipelines.database.db_resource import DBResource # noqa: F401
from hapi_schema.db_admin2 import DBAdmin2 # noqa: F401
from hapi_schema.db_age_range import DBAgeRange # noqa: F401
from hapi_schema.db_gender import DBGender # noqa: F401
from hapi_schema.db_resource import DBResource # noqa: F401


class DBPopulation(Base):
Expand Down
2 changes: 1 addition & 1 deletion src/db_resource.py → hapi_schema/db_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
)
from sqlalchemy.orm import Mapped, mapped_column, relationship

from hapi.pipelines.database.db_dataset import DBDataset # noqa: F401
from hapi_schema.db_dataset import DBDataset # noqa: F401


class DBResource(Base):
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
long_description = fh.read()

setuptools.setup(
name="hapi-schema",
version="0.0.1",
name="hapi_schema",
version="0.0.4",
author="HDX",
author_email="simon.johnson@un.org",
description="HAPI database schema specified in SQLAlchemy",
Expand Down
6 changes: 0 additions & 6 deletions src/__init__.py

This file was deleted.

83 changes: 0 additions & 83 deletions src/databasequeries.py

This file was deleted.

38 changes: 0 additions & 38 deletions src/db_admin1.py

This file was deleted.

Loading

0 comments on commit 15954f0

Please sign in to comment.