-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from UNSW-CEEM/add_new_table_config
add INTERMITTENT_GEN_SCADA table and DIRECTION column
- Loading branch information
Showing
35 changed files
with
417 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Continuous Integration and Deployment | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# Publishes to PyPi if tests are passed and release is created | ||
publish: | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
needs: test | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/project/nemosis/ | ||
permissions: | ||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
steps: | ||
# Checkout repo | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
# Install rye with cache | ||
- name: Install the latest version of rye | ||
uses: eifinger/setup-rye@v4 | ||
with: | ||
enable-cache: true | ||
# Sync dependencies | ||
- name: Sync dependencies | ||
run: rye sync | ||
# Build | ||
- name: Build | ||
run: rye build | ||
# Publish to PyPI | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,35 @@ | ||
[project] | ||
name = "nemosis" | ||
version = "3.8.0" | ||
description = "A tool for accessing AEMO data." | ||
authors = [ | ||
{ name = "nick-gorman", email = "n.gorman305@gmail.com"}, | ||
{ name = "prakaa", email = "abiprakash007@gmail.com" } | ||
] | ||
dependencies = [ | ||
"requests>=2.32.3", | ||
"pyarrow>=17.0.0", | ||
"feather-format>=0.4.1", | ||
"pandas>=2.2.3", | ||
"xlrd>=2.0.1", | ||
"beautifulsoup4>=4.12.3", | ||
"openpyxl>=3.1.5", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"parameterized>=0.9.0" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/nemosis"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
# generate-hashes: false | ||
# universal: false | ||
|
||
-e file:. | ||
beautifulsoup4==4.12.3 | ||
# via nemosis | ||
certifi==2024.8.30 | ||
# via requests | ||
charset-normalizer==3.4.0 | ||
# via requests | ||
et-xmlfile==1.1.0 | ||
# via openpyxl | ||
feather-format==0.4.1 | ||
# via nemosis | ||
idna==3.10 | ||
# via requests | ||
numpy==2.1.2 | ||
# via pandas | ||
# via pyarrow | ||
openpyxl==3.1.5 | ||
# via nemosis | ||
pandas==2.2.3 | ||
# via nemosis | ||
parameterized==0.9.0 | ||
pyarrow==17.0.0 | ||
# via feather-format | ||
# via nemosis | ||
python-dateutil==2.9.0.post0 | ||
# via pandas | ||
pytz==2024.2 | ||
# via pandas | ||
requests==2.32.3 | ||
# via nemosis | ||
six==1.16.0 | ||
# via python-dateutil | ||
soupsieve==2.6 | ||
# via beautifulsoup4 | ||
tzdata==2024.2 | ||
# via pandas | ||
urllib3==2.2.3 | ||
# via requests | ||
xlrd==2.0.1 | ||
# via nemosis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
# generate-hashes: false | ||
# universal: false | ||
|
||
-e file:. | ||
beautifulsoup4==4.12.3 | ||
# via nemosis | ||
certifi==2024.8.30 | ||
# via requests | ||
charset-normalizer==3.4.0 | ||
# via requests | ||
et-xmlfile==1.1.0 | ||
# via openpyxl | ||
feather-format==0.4.1 | ||
# via nemosis | ||
idna==3.10 | ||
# via requests | ||
numpy==2.1.2 | ||
# via pandas | ||
# via pyarrow | ||
openpyxl==3.1.5 | ||
# via nemosis | ||
pandas==2.2.3 | ||
# via nemosis | ||
pyarrow==17.0.0 | ||
# via feather-format | ||
# via nemosis | ||
python-dateutil==2.9.0.post0 | ||
# via pandas | ||
pytz==2024.2 | ||
# via pandas | ||
requests==2.32.3 | ||
# via nemosis | ||
six==1.16.0 | ||
# via python-dateutil | ||
soupsieve==2.6 | ||
# via beautifulsoup4 | ||
tzdata==2024.2 | ||
# via pandas | ||
urllib3==2.2.3 | ||
# via requests | ||
xlrd==2.0.1 | ||
# via nemosis |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.