Skip to content

Commit e49bd11

Browse files
committed
update name
1 parent a71636b commit e49bd11

File tree

8 files changed

+8
-5
lines changed

8 files changed

+8
-5
lines changed

.github/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
environment:
4040
name: pypi
41-
url: https://pypi.org/project/dots-infrastructure/ # Replace <package-name> with your PyPI project name
41+
url: https://pypi.org/project/electricity-network-file-parser/ # Replace <package-name> with your PyPI project name
4242
permissions:
4343
id-token: write # IMPORTANT: mandatory for trusted publishing
4444

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Network file parser
2-
A python package parsing gaia files.
2+
A python package parsing gaia files. It takes a gaia file as input and parses the data in pandas data frames.
33

44
Example usage:
55

@@ -9,6 +9,9 @@ from ElectricityNetworFileParser.GnfParser import GnfParser
99
gnf_parser = GnfParser("test.gnf")
1010
gnf_parser.parse_file()
1111

12+
# To acces the dataframe of a single entity type
13+
gnf_parser.data_frames["CABLE"]
14+
1215
# Write all data to a single excel file each tab in the excel file represents an entity in the gaia file
1316
gnf_parser.write_all_data_frames()
1417
```
@@ -17,4 +20,4 @@ gnf_parser.write_all_data_frames()
1720

1821
Create a new python environment and run the following command:
1922

20-
`pip install -e . `
23+
`pip install ElectricityNetworFileParser `

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "ElectricityNetworFileParser"
6+
name = "electricity_network_file_parser"
77
version = "0.0.1"
88
authors = [
99
{ name="Leo van Schooten", email="l.g.t.v.schooten@tue.nl" },
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/TestGnfParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
22

33
import pandas as pd
4-
from ElectricityNetworFileParser.GnfParser import GnfParser
4+
from electricity_network_file_parser.GnfParser import GnfParser
55

66
class Test(unittest.TestCase):
77

0 commit comments

Comments
 (0)