Skip to content

Commit 9d5f83c

Browse files
updating pvops nomenclature
1 parent 0cae272 commit 9d5f83c

File tree

15 files changed

+44
-42
lines changed

15 files changed

+44
-42
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[run]
22
omit =
3-
pvOps/tests/conftest.py
3+
pvops/tests/conftest.py

.github/workflows/lint-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Test with pytest
3131
run: |
3232
pip install pytest pytest-cov
33-
pytest --cov=pvOps --cov-config=.coveragerc --cov-report term-missing pvOps
33+
pytest --cov=pvops --cov-config=.coveragerc --cov-report term-missing pvops
3434
3535
lint:
3636

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: Set up Python
12-
uses: actions/setup-python@v1
12+
uses: actions/setup-python@v2
1313
with:
1414
python-version: '3.x'
1515
- name: Install dependencies

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__pycache__/
2-
pvOps/text/__pycache__/
3-
pvOps/text2time/__pycache__/
2+
pvops/text/__pycache__/
3+
pvops/text2time/__pycache__/
44
examples/*.npy
55
docs/_build/

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# pvOps
2-
pvOps contains a series of functions to facilitate fusion of text-based data with time series production data collected at photovoltaic sites. The package also contains example datasets and tutorials to help demonstrate how the functions can be used.
1+
# pvops
2+
pvops contains a series of functions to facilitate fusion of text-based data with time series production data collected at photovoltaic sites. The package also contains example datasets and tutorials to help demonstrate how the functions can be used.
33

44
Installation
55
=============
6-
pvOps can be installed using `pip`. See more information at [readthedocs](https://pvops.readthedocs.io/en/latest/).
6+
pvops can be installed using `pip`. See more information at [readthedocs](https://pvops.readthedocs.io/en/latest/).
77

88

99
Package Layout and Documentation
@@ -16,7 +16,7 @@ The package is delineated into the following directories. Refer to the `examples
1616
├───examples : Functionality examples directory
1717
│ └─── example_data : └─── Example data
1818
|
19-
└───pvOps : Source function library
19+
└───pvops : Source function library
2020
├───tests : ├─── Library stability tests
2121
├───text : ├─── Text processing functions
2222
└───text2time : └─── Text2Timeseries functions
@@ -27,11 +27,11 @@ More information about theses modules is available in the documentation at [read
2727
Contributing
2828
============
2929

30-
The long-term success of pvOps requires community support. Please see the [Contributing page](https://pvops.readthedocs.io/en/latest/) for more on how you can contribute.
30+
The long-term success of pvops requires community support. Please see the [Contributing page](https://pvops.readthedocs.io/en/latest/) for more on how you can contribute.
3131

3232

3333
Copyright and License
3434
=======
3535

36-
pvOps is copyright through Sandia National Laboratories. The software is distributed under the Revised BSD License. See [copyright and license](https://github.com/tgunda/pvOps/blob/master/LICENSE) for more information.
36+
pvops is copyright through Sandia National Laboratories. The software is distributed under the Revised BSD License. See [copyright and license](https://github.com/tgunda/pvops/blob/master/LICENSE) for more information.
3737

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
import shlex
2222

23-
sys.path.insert(0, os.path.abspath("../pvOps"))
24-
sys.path.insert(0, os.path.abspath("../pvOps/text2time"))
25-
sys.path.insert(0, os.path.abspath("../pvOps/text"))
23+
sys.path.insert(0, os.path.abspath("../pvops"))
24+
sys.path.insert(0, os.path.abspath("../pvops/text2time"))
25+
sys.path.insert(0, os.path.abspath("../pvops/text"))
2626

2727

2828
# -- Project information -----------------------------------------------------
2929

30-
project = "pvOps"
30+
project = "pvops"
3131
copyright = "2021, Thushara Gunda"
3232
author = "Thushara Gunda"
3333

docs/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Thank you for wanting to contribute to this library! We will try to make this an
77

88
**If you find errors in the codebase:**
99

10-
1. Submit an issue at the `pvOps issues page <https://github.com/tgunda/pvOps/issues>`_
10+
1. Submit an issue at the `pvops issues page <https://github.com/tgunda/pvops/issues>`_
1111

1212
**If you would like to contribute:**
1313

14-
2. Create a pull request (PR) or help with other PRs which are in the library by referencing `pvOps PR page <https://github.com/tgunda/pvOps/pulls>`_. Pull requests should contain code that follows the PEP8 python code style.
14+
2. Create a pull request (PR) or help with other PRs which are in the library by referencing `pvops PR page <https://github.com/tgunda/pvops/pulls>`_. Pull requests should contain code that follows the PEP8 python code style.
1515

1616
**If you are confused:**
1717

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _index:
22

33
******************************************************
4-
pvOps: a python package for PV operators & researchers
4+
pvops: a python package for PV operators & researchers
55
******************************************************
66

77
.. toctree::
@@ -12,11 +12,11 @@ pvOps: a python package for PV operators & researchers
1212

1313
Introduction
1414
============
15-
pvOps contains a series of functions to facilitate fusion of text-based data with time series production data collected at photovoltaic sites. The package also contains example datasets and tutorials to help demonstrate how the functions can be used.
15+
pvops contains a series of functions to facilitate fusion of text-based data with time series production data collected at photovoltaic sites. The package also contains example datasets and tutorials to help demonstrate how the functions can be used.
1616

1717
Installation
1818
=============
19-
pvOps can be installed using `pip`.
19+
pvops can be installed using `pip`.
2020

2121

2222
Text Subpackage Layout
@@ -90,12 +90,12 @@ These functions focus on visualizing the processed O&M and production data
9090
Contributing
9191
============
9292

93-
The long-term success of pvOps requires community support. One can make contributions by submitting issues and pull requests. Please follow the PR template
93+
The long-term success of pvops requires community support. One can make contributions by submitting issues and pull requests. Please follow the PR template
9494

9595
Copyright and License
9696
=====================
9797

98-
pvOps is copyright through Sandia National Laboratories. The software is distributed under the Revised BSD License.
98+
pvops is copyright through Sandia National Laboratories. The software is distributed under the Revised BSD License.
9999

100100
Indices and tables
101101
==================

docs/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pvOps
1+
pvops
22
=====
33

44
.. toctree::

examples/text_class_example.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import os
99

1010
sys.path.append("..")
11-
text_directory = os.path.join("..", "pvOps", "text")
11+
text_directory = os.path.join("..", "pvops", "text")
1212
sys.path.append(text_directory)
1313

1414
# Utilities
15-
from pvOps.text import create_stopwords, summarize_text_data
15+
from pvops.text import create_stopwords, summarize_text_data
1616

1717
# Visualizations
18-
from pvOps.text import (
18+
from pvops.text import (
1919
visualize_word_frequency_plot,
2020
visualize_attribute_connectivity,
2121
visualize_attribute_timeseries,
@@ -24,13 +24,13 @@
2424
)
2525

2626
# Preprocessing
27-
from pvOps.text import preprocessor, DataDensifier, Doc2VecModel
27+
from pvops.text import preprocessor, DataDensifier, Doc2VecModel
2828

2929
# Classification
30-
from pvOps.text import classification_deployer
30+
from pvops.text import classification_deployer
3131

3232
# Library example definitions
33-
from pvOps.text import supervised_classifier_defs, unsupervised_classifier_defs
33+
from pvops.text import supervised_classifier_defs, unsupervised_classifier_defs
3434

3535
# Embedding
3636
from sklearn.feature_extraction.text import TfidfVectorizer
@@ -271,7 +271,7 @@ def classify_supervised(
271271
Thoroughness of supervised classification investigation with following options:
272272
'normal': a smaller subset of settings used in grid search
273273
'detailed': a comprehensive set of settings used in grid search
274-
For specifics, view the `supervised_classifier_defs.py` file located in `/pvOps/text/`.
274+
For specifics, view the `supervised_classifier_defs.py` file located in `/pvops/text/`.
275275
To specify your own classifier pipeline, use `user_defined_classes` and `user_defined_search_space` parameters.
276276
277277

0 commit comments

Comments
 (0)