semvec/pypi-packages huggingface dataset:
pysma-plus 0.3.24
Library to interface SMA Devices via Speedwire, WebConnect, EnnexOS and Energy Meter Protocol
Requires Python: >=3.9

# pysma-plus library

Unofficial and unaffiliated Python 3 library to retrieve data from various [SMA](https://www.sma.de/) devices.
Based on the Webconnect implementation of the [pysma lib from kellerza](https://github.com/kellerza/pysma), the number of supported devices has been massively increased by this implementation.

This library is the basis for:
* [HA-pySmaPlus -- Home Assistant Integration](https://github.com/littleyoda/ha-pysmaplus)
* [LoxBerry SMA Plugin](https://wiki.loxberry.de/plugins/sma2loxone/start)

Supported Devices:
* Devices with Webconnect-Interface
* Devices based on ennexOS e.g. the Tripower X series released in 2022
* SMA Energy Meter (EMETER-10, EMETER-20) und Sunny Home Manager 2.0 (hm-20/shm2)
* Almost all SMA devices through the use of Speedwire (sometimes with a reduced range of measured values compared to the other interfaces)

The long-term goal is to integrate the change into the original library.


## Example usage

See [example.py](./example.py) for a basic usage and tests

## Successfully tested devices

| Bereich | Gerät | Method |
|--|--|--|
| Wechselrichter | Tripower X (STP XX-50)<br>(12,15,25) | ennexos |
| Wechselrichter | Tripower (STP XX)<br>(8,10) | speedwireINV |
| Hybrid-Wechselrichter | Sunny Tripower Smart Energy<br>(10.0)  | webconnect |
| Hybrid-Wechselrichter | Sunny Boy Storage<br>(SBS3.7-10, SBS5.0-10) | webconnect |
| Hybrid-Wechselrichter | Sunny Boy Smart Energy 5.0 | ennexos |
| Batterie-Wechselrichter | Sunny Island 8.0H (SI 8.0H-12) | webconnect |
| Energy Meter | Energy Meter 2<br>(EMTER 20) | speedwireEM |
| Energy Meter | Sunny Home Manager 2<br>(SHM2) | speedwireEM |
| | | |
spiceitup 1.3.4
Quicklook tool for level 2 SPICE imaging
Requires Python: >=3.7

# SPICE data quicklook in PyQt5 / PyQtGraph

This graphical user interface (GUI) allows you to have a quick look in the SPICE data (provide level 2 '.fits' files in input). You will be able to navigate dynamically in the data thanks to sliders which update the maps I(x,y) ; I(lambda,y), the curve I(lambda) and more.

Also, you can draw a gaussian fit on the profile I(lambda) and generate the maps related to the gaussian parameters.

## - Documentation

`docs/user_manual/user_documentation.pdf`

## - Installation

### 0) If you don't already have a python3/pip3 environment:

`sudo apt-get install build-essential libssl-dev libffi-dev python-dev`  
`sudo apt install python3-pip`  

Optional: install and run a virtual env (an IDE like Pycharm would be also fine)   
`sudo apt-get install python3-venv`  
`python3 -m venv env`  
`. env/bin/activate`  

### A - Using official package
`pip install spiceitup`
Run with `spiceitup`

### B - Manually from project
#### B.1) Install the requirements  
`pip install -r requirements.txt`  
**Think to upgrade numpy to > 1.20 for nanpercentile usage.** (Then reboot your IDE)  
`pip install numpy --upgrade`

#### B.2) Run the app  
`python3 spiceitup/main.py` or use an IDE like pycharm (which will install the requirements automatically), open this folder as a project and run `run.py`

#### B.3) Troubleshooting
Error known:  
  
**"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. [...] Aborted (core dumped)"**
In this case, try to do: `sudo apt-get install --reinstall libxcb-xinerama0`  
  
**spiceitup: command not found**
In this case check if spiceitup is here: `$(python -m site --user-base)/bin"`
Then add it to $PATH: `export PATH="$PATH:$(python -m site --user-base)/bin"`
Run again `spiceitup`  
  
**No module spiceitup**  
In this case you should use a virtual environment (see python virtual environment)

#### B.4) For developers
- See docs/code_conventions.txt before adding some codes  
- Watch logs with `watch tail logs/debug.log` or `logs/show_debug_console.sh`
camb 1.6.5
Code for Anisotropies in the Microwave Background
Requires Python: >=3.10.0
Keywords: cosmology, CAMB, CMB

===================
CAMB
===================
:CAMB: Code for Anisotropies in the Microwave Background
:Author: Antony Lewis and Anthony Challinor
:Homepage: https://camb.info/

.. image:: https://img.shields.io/pypi/v/camb.svg?style=flat
        :target: https://pypi.python.org/pypi/camb/
.. image:: https://readthedocs.org/projects/camb/badge/?version=latest
   :target: https://camb.readthedocs.io/en/latest

Description
============


CAMB is a cosmology code for calculating cosmological observables, including
CMB, lensing, source count and 21cm angular power spectra, matter power spectra, transfer functions
and background evolution. The code is in Python, with numerical code implemented in fast modern Fortran.

See the `CAMB python example notebook <https://camb.readthedocs.io/en/latest/CAMBdemo.html>`_ for a
quick introduction to how to use the CAMB Python package.

To install the CAMB on your computer run::

    pip install camb [--user]

The --user is optional and only required if you don't have write permission to your main python installation.
Binary wheels are provided for most systems; to compile from source you will need gfortran 6 or higher installed
(usually installed as part of gcc). gfortran is also required for just-in-time compilation of some functions like custom sources.

The python module is  "camb". see the `CAMB documentation <https://camb.readthedocs.io/en/latest/>`_.
ib1-provenance 0.5.3
Tools to encode, decode, and sign provenance data
Requires Python: <4.0,>=3.10

# Provenance

```
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

pipx install poetry
poetry install

mkdir certs
cd certs
sh ../scripts/certmaker.sh

python3 main.py
```

## Provenance record decoder

```
python3 decode-self-contained-provenance.py path/to/signing-CA-root.pem < record.json
```
cpan115 0.1.0
115云盘的python接口文档(非官方)
Requires Python: >=3.10


## cpan115

这是一个非官方的115云盘开放平台调用库，可以轻松的在Python中调用cpan115云盘开放平台而不需要多次编写重复的代码

文档: [cpan115.readthedocs.io](https://cpan115.readthedocs.io/)