Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Framework and methods to facilitate photovoltaic facility capacity testing following ASTM E2848.
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 <https://pvcaptest.readthedocs.io/en/latest/>
__ including
full examples in jupyter notebooks that can be run in the browser
without installing anything.
These instructions assume that you are new to using conda and python, if that is not the case skip to the last section for users familiar with conda and pip.
The recommended method to install pvcaptest is to create a conda environment for pvcaptest. Installing Anaconda or miniconda will install both python and conda. There is no need to install python separately.
Easiest Option:
anaconda distribution <https://www.anaconda.com/products/individual>
__. Follow the default installation settings.conda install -c conda-forge pvcaptest
and pressing enter. The -c conda-forge
option tells conda to install pvcaptest from the conda forge channel <https://conda-forge.org/#about>
__.This will install the pvcaptest package in the base environment created when Anaconda is installed. This should work and provide you with jupyter notebook and jupyer lab to run pvcaptest in. If you think you will use your Anaconda installation to create and maintain additional environments, the following process for creating a stand alone option is likely a better option.
Better long term option:
anaconda distribution <https://www.anaconda.com/products/individual>
__ or miniconda.project github page <https://github.com/pvcaptest/pvcaptest>
__ and download the project source to obtain a copy of the environment.yml
file. Click the green code button and click ‘Download ZIP’.C:\Users\username\
.environment.yml
file to the folder identified by the path from the previous step.conda env create -f environment.yml
and hit enter. Wait for a few seconds while conda works to solve the environment. It should ask you if you want to proceed to install new packages including pvcaptest. Type y
enter to proceed and wait for conda to finish installing pvcaptest and the other packages.conda activate captest_env
.The environment created will include jupyter lab and notebook for you to use pvcaptest in. You can start these using the commands jupyter lab
or jupyter notebook
.
See the conda documentation <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file>
__
for more details on using conda to create and manage environments.
Conda install into an existing environment:
conda install -c conda-forge pvcaptest
If you prefer, you can pip install pvcaptest, but the recommended approach is to use the conda package.
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.
FAQs
Framework and methods to facilitate photovoltaic facility capacity testing following ASTM E2848.
We found that captest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.