pvcaptest
Collection of functions and Jupyter Notebooks to partially automate running a capacity test following ASTM E2848.
https://github.com/pvcaptest/pvcaptest
Category: Renewable Energy
Sub Category: Photovoltaics and Solar Energy
Keywords from Contributors
photovoltaic solar-energy renewable-energy
Last synced: about 5 hours ago
JSON representation
Repository metadata
Collection of functions and jupyter notebooks to partially automate running a capacity test following ASTM E2848.
- Host: GitHub
- URL: https://github.com/pvcaptest/pvcaptest
- Owner: pvcaptest
- License: mit
- Created: 2017-09-19T01:33:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-17T13:39:28.000Z (15 days ago)
- Last Synced: 2026-02-17T18:53:31.169Z (15 days ago)
- Language: Python
- Size: 5.02 MB
- Stars: 22
- Watchers: 7
- Forks: 21
- Open Issues: 32
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
README.md
pvcaptest
What is pvcaptest?
pvcaptest is an open source python package created to facilitate capacity testing following the ASTM E2848 standard. The captest module contains a single class, CapData, which provides methods for loading, visualizing, filtering, and regressing capacity testing data. The module also includes functions that take CapData objects as arguments and provide summary data and capacity test results.
Documentation and examples are available on readthedocs including full examples in jupyter notebooks that can be run in the browser without installing anything.
Installation
With Conda
These instructions assume that you are new to python and managing virtual environments to isolate pvcaptest and its dependencies from the rest of your operating system. If you are not sure what that means, these instructions (using miniforge) are for you!
Install Miniforge
The first step to using pvcaptest is to install pvcaptest and Jupyter into an isolated python environment. These directions guide you through the steps to use conda to do that.
Miniforge will install conda, but with the default source for packages set to conda-forge.
- Go to the Miniforge github page to download miniforge. Pick the correct installation option for your operating system and follow the directions.
Windows:
- Use the default options and the .exe installer.
OSX / Linux:
- Open a command line (Type command + space to open Spotlight and type terminal and open your default terminal app) and copy and paste the commands and hit enter.
After installing miniforge, you may need to restart your terminal before running the commands below. You can verify that miniforge is installed by running conda --version in your terminal.
Installing pvcaptest
Open a command line, which we will use to run the conda commands required to install pvcaptest.
-
Windows: Type miniforge into your search bar and select the Miniforge Prompt app, which should be the first option.
-
OSX: Type command + space to open Spotlight and type terminal and open your default terminal app.
Now we can use conda to create a new conda environment and install pvcaptest, its dependencies, and Jupyter. Copy and paste the following command into the command line and hit enter:
conda create --name pvcaptest python=3.12 pvcaptest notebook
See the conda documentation for managing environments for more information on what that command is doing.
Once the installation finishes, you should see a message similar to the one below. The installation process should run for 5-10 minutes, but it will depend on your computer specs and internet speed.
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate pvcaptest
#
# To deactivate an active environment, use
#
# $ conda deactivate
Retrieving notices: ...working... done
Activate the environment using the command provded.
Try running this command in your terminal as a quick check that pvcaptest did install correctly:
python -c "import captest; print(captest.__version__)"
You may see some warning messages, but at the bottom you should see a version number.You should have the latest version installed; 0.13.3 or later. You can check what the most recent release is on pypi.
Congratulations! You now have pvcaptest installed in an isolated conda environment.
Run jupyter lab which will open jupyter lab in your default browser. You can now use pvcaptest in jupyter lab.
You may want to either navigate to the folder containing your project files in the terminal before running jupyter lab or store your project files in a location you can easily navigate to in jupyter lab's file browser.
With uv - Contributors
Using uv is the preferred method for contributors setting up a development installation as of v0.13.3. See MAINTAINER.md for additional details, specifically the section on just.
Install uv and clone your fork of the repository.
The just recipes (commands) use uv run ... to run development workflow commands (e.g., uv run --python 3.12 pytest tests/) and uv run will ensure a venv with the necessary dependencies is used.
With pip
pip install captest
or with optional dependencies:
pip install captest[optional]
Note: The conda package is named pvcaptest and the pip package is named captest. The project is moving to consistent use of the pvcaptest name, but the package name on pypi will remain as captest.
GitHub Events
Total
- Delete event: 1
- Pull request event: 1
- Fork event: 3
- Issues event: 3
- Watch event: 2
- Issue comment event: 3
- Push event: 4
Last Year
- Delete event: 1
- Fork event: 1
- Issues event: 3
- Watch event: 1
- Issue comment event: 3
- Push event: 4
Committers metadata
Last synced: 3 days ago
Total Commits: 896
Total Committers: 5
Avg Commits per committer: 179.2
Development Distribution Score (DDS): 0.026
Commits in past year: 10
Committers in past year: 1
Avg Commits per committer in past year: 10.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| bt- | b****r@g****m | 873 |
| Kevin Anderson | k****o@g****m | 11 |
| Ben Taylor | b****r@g****m | 8 |
| Taylor | B****2@g****m | 3 |
| Cliff Hansen | c****e@s****v | 1 |
Committer domains:
- sandia.gov: 1
- global.alltfs.com: 1
Issue and Pull Request metadata
Last synced: 8 days ago
Total issues: 71
Total pull requests: 66
Average time to close issues: about 1 year
Average time to close pull requests: about 1 month
Total issue authors: 14
Total pull request authors: 8
Average comments per issue: 1.59
Average comments per pull request: 0.45
Merged pull request: 54
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 3
Past year average time to close issues: 2 minutes
Past year average time to close pull requests: 13 days
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 0.67
Past year average comments per pull request: 3.33
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- bt- (50)
- UGuntupalli (4)
- mibelle32 (2)
- matsuobasho (2)
- colmboreilly (2)
- mikofski (2)
- jforbess (2)
- jplanger (1)
- jmertic (1)
- markcampanelli (1)
- shirubana (1)
- rlpappan (1)
- williamhobbs (1)
- kandersolar (1)
Top Pull Request Authors
- bt- (56)
- paulapieper (3)
- millerannalise (2)
- cwhanse (1)
- mikofski (1)
- matsuobasho (1)
- kandersolar (1)
- DBowersox (1)
Top Issue Labels
- enhancement (13)
- quick (7)
- bug (7)
- docs (6)
- data importing (4)
- testing (2)
- plotting (2)
- good first issue (2)
Top Pull Request Labels
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 32
proxy.golang.org: github.com/pvcaptest/pvcaptest
- Homepage:
- Documentation: https://pkg.go.dev/github.com/pvcaptest/pvcaptest#section-documentation
- Licenses: mit
- Latest release: v0.13.4 (published 15 days ago)
- Last Synced: 2026-02-28T05:05:07.132Z (4 days ago)
- Versions: 29
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
conda-forge.org: pvcaptest
- Homepage: http://github.com/pvcaptest/pvcaptest
- Licenses: MIT
- Latest release: 0.10.0 (published over 4 years ago)
- Last Synced: 2026-03-01T12:29:09.917Z (3 days ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Dependent repos count: 24.103%
- Average: 43.319%
- Forks count: 45.985%
- Dependent packages count: 51.54%
- Stargazers count: 51.65%
Dependencies
- bokeh *
- captest *
- docutils *
- holoviews *
- matplotlib *
- nbsphinx *
- notebook *
- pandas *
- pvlib *
- recommonmark *
- sphinx ==2.2.0
- sphinx_rtd_theme *
- statsmodels *
- tables *
- bokeh >=1
- matplotlib >=2
- numpy >=1.13.0
- pandas >=1
- python-dateutil >=2.5
- scikit-learn >=0.19
- statsmodels >=0.8
- colorcet
- holoviews >=1.14.8
- ipython
- jupyterlab
- matplotlib
- nodejs
- notebook
- numpy
- openpyxl
- pandas >=1*
- panel
- param
- pvcaptest
- python >=3.8*
- python-dateutil
- scikit-learn
- scipy 1.2.1
- statsmodels
- actions/checkout v3 composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
Score: 5.598421958998375