semvec/pypi-packages huggingface dataset:
PolCurveFit 1.2.1
library for the analysis of polarization curves
License: MIT

# PolCurveFit
A python library to analyse polarization curves, by fitting theoretical curves to input data. Parameters such as the corrosion potential, corrosion rate, Tafel slopes and exchange current densities can be obtained, with three included techniques:
Tafel extrapolation: a linear fit to a defined Tafel region
Activation control fit: fitting of a theoretical curve describing the anodic and cathodeic activation controlled currents around OCP.
Mixed activation-diffusion control fit: fitting of a theoretical curve describing an anodic domain with solely activation controlled currents and a cathodic domain with (mixed) activation and diffusion controlled currents

### Installation

```
pip install PolCurveFit
```

### Documentation
Find the documentation on: https://polcurvefit.readthedocs.io/

### Example
Example of how to apply the code

```Python
import numpy as np

# An artificial polarization curve
E = np.arange(-1.0, 0.1, 0.01)
I = 0.002 * np.exp(2.3*(E+0.2)/0.08) - 0.002*np.exp(2.3*(-0.2-E)/0.18)/(1+((0.002*np.exp(2.3*(-0.2-E)/0.18))/0.3))

# Instantiate a polarization curve object
from polcurvefit import polcurvefit
Polcurve = polcurvefit(E,I, R= 0, sample_surface=1E-3)

# Apply a fitting technique: 'the activation control fit':
results = Polcurve.active_pol_fit(window=[-0.3,0.1])

# Save the results and visualise the obtained fit
Polcurve.save_to_txt(filename = './output_act')
Polcurve.plotting(output_folder='figures/output_act')

# Apply a fitting technique: 'the mixed activation-diffusion control fit' with a specific weight distribution:
results = Polcurve.mixed_pol_fit(window=[-0.7,0.1], apply_weight_distribution = True, w_ac = 0.07, W = 80)

# Save the results and visualise the obtained fit
Polcurve.save_to_txt(filename = './output_mixed')
Polcurve.plotting(output_folder='figures/output_mixed')

```
soloway-unofficial 1.1.0
Простейшая реализация SDK для https://dsp.soloway.ru/
License: MIT
Requires Python: >=3.10,<4.0

# Soloway SDK (Unofficial)

Простейшая реализация SDK для https://dsp.soloway.ru/

### Реализованные методы
* ``/login``
* ``/whoami``
* ``/clients/{clientGuid}/placements``
* ``/placements_stat``
* ``/placements/{placementGuid}/stat``

## Установка
```bash    
    $ pip install soloway-unofficial
```

## Использование

```python
from soloway_unofficial import Client

client = Client("YOUR_LOGIN", "YOUR_PASSWORD")
```    

Получение статистики размещений по всем кампаниям.
```python
start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat_all(start_date, stop_date)
```    

```python
start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat(list["PLACEMENT_ID"],start_date, stop_date)
```    

Получение статистики по всем кампаниям по дням.
```python        
start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)
data = client.get_placements_stat_by_day(start_date, stop_date)
```

Получение статистики по выбранной кампании по дням.
```python    
start_date = datetime.date(2022, 1,1)
stop_date = datetime.date(2022, 12,31)    
data = client.get_placement_stat_by_day("PLACEMENT_ID", start_date, stop_date)
```
nalogapi 0.1.0
Unofficial synchronous wrapper for lknpd.nalog.ru API written in Python
License: MIT
Requires Python: >=3.7,<4.0

# Неофициальная синхронная обёртка для API сервиса lknpd.nalog.ru на Python.

Служит для автоматизации отправки информации о доходах самозанятых и получения информации о созданных чеках.

Inspired by [https://github.com/alexstep/moy-nalog](https://github.com/alexstep/moy-nalog)

## Использование
Установите пакет
```bash
pip install nalogapi
```

Инициализаци и авторизация
```python
from nalogapi import NalogAPI
NalogAPI.configure("inn", "password") #password that used in lkfl
```

Отправка информации о доходе
```python
NalogAPI.addIncome(datetime.utcnow(), 1.0, "Предоставление информационных услуг #970/2495")
```

Функция возвращает ссылку на чек вида [https://lknpd.nalog.ru/api/v1/receipt/344111066022/200egltxe8/print](https://lknpd.nalog.ru/api/v1/receipt/344111066022/200egltxe8/print)