semvec/pypi-packages huggingface dataset:
winion 0.0.0
A producer/consumer async runtime for Python
Requires Python: >=3.11

# winion
![pypi](https://img.shields.io/pypi/v/winion.svg)
![versions](https://img.shields.io/pypi/pyversions/winion.svg)

A producer/consumer async runtime for Python

## Usage

1. Install the package from pypi

```console
> pip install winion
```

## Development

This repository manages the dev environment as a Nix flake and requires [Nix to be installed](https://github.com/DeterminateSystems/nix-installer)

```console
> nix develop -c $SHELL
```

```console
> make setup
```

```console
> make test
```

## Publish Package to PyPi

```console
> make pypi
```

## License

`winion` is released under the [MIT license](./LICENSE)
email-auth-remote 1.3.0
Django app for an endpoint authentication.
Requires Python: >=3.11

# Email Auth Remote

Проект для интеграции МС авторизации с другими Django МС.

## Как пользоваться

Добавить проект в INSTALLED_APPS.

```python
# File: settings.py

INSTALLED_APPS = [
    ...
    "rest_framework_simplejwt",
    "email_auth_remote",
]
```

В urlpatterns добавить include("email_auth_remote.urls") перед admin.site.urls.

```python
from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path("api/v1/catalog/admin/", include("email_auth_remote.urls")),
    path("api/v1/catalog/admin/", admin.site.urls),
]
```

Установить переменные в settings.py.

```python
# File: settings.py

## defaults:
EMAIL_AUTH_REMOTE = {
    "JWT_AUTH_COOKIE": None,
    "JWT_AUTH_REFRESH_COOKIE": None,
    "JWT_AUTH_REFRESH_COOKIE_PATH": "/",
    "JWT_AUTH_COOKIE_USE_CSRF": False,
    "JWT_AUTH_COOKIE_ENFORCE_CSRF_ON_UNAUTHENTICATED": False,
    "JWT_AUTH_SECURE": False,
    "JWT_AUTH_HTTPONLY": True,
    "JWT_AUTH_SAMESITE": "Lax",
    "JWT_AUTH_COOKIE_DOMAIN": None,
    "JWT_REFRESH_URL": None,
    "ADMIN_LOGIN_URL": None,
    "LOGOUT_URL": None,
}

## examples:
EMAIL_AUTH_REMOTE = {
    "JWT_AUTH_COOKIE": "jwt_access_token",
    "JWT_AUTH_REFRESH_COOKIE": "jwt_refresh_token",
    "JWT_AUTH_REFRESH_COOKIE_PATH": "/",
    "JWT_AUTH_COOKIE_USE_CSRF": True,
    "JWT_REFRESH_URL": "http://auth:8000/api/v1/auth/token/refresh/",
    "ADMIN_LOGIN_URL": "/api/v1/auth/admin/login/",
    "LOGOUT_URL": "http://auth:8000/api/v1/auth/logout/",
    "JWT_AUTH_COOKIE_ENFORCE_CSRF_ON_UNAUTHENTICATED": False,
    "JWT_AUTH_SECURE": False,
    "JWT_AUTH_HTTPONLY": True,
    "JWT_AUTH_SAMESITE": "Lax",
    "JWT_AUTH_COOKIE_DOMAIN": None,
}

```

Добавить класс аутентификации

```python
# File: settings.py

REST_FRAMEWORK = {
    "DEFAULT_AUTHENTICATION_CLASSES": [
        "email_auth_remote.authentication.JWTStatelessCookieAuthentication",
    ],
}

```

**Важная информация:**
При использовании библиотеки модель CustomTokenUser, полученная через request.user не будет
сохранена в
БД. На эту модель невозможно ссылаться через ForeignKey и тд. Сохранение в БД также невозможно.

## Разрешения IsDesigner IsSeller 

Всего есть 4 возможных permissions. 

```python
from email_auth_remote.permissions import (
    IsDesigner,
    IsSeller,
    IsSellerOrReadOnly,
    IsDesignerOrReadOnly,
)

class ExampleView(generics.GenericAPIView):
    """
    Пример View только для продавца.
    """
    permission_classes = (IsSeller,)
    # other logic here ...
```

## Сборка

***Необходимо только для сборки, для интеграции не надо.***

Как собрать проект локально

```bash
python3 -m pip install build
python3 -m build 
```

### Проверка собранного пакета

```bash
python3 -m pip install twine
twine check dist/*
```

### Выкладывание проекта в PYPI

```bash
twine upload dist/*
```
dfcleanser 1.0.0
A Jupyter notebook extension for dataframe cleansing

<div><table align="center"><tr><td><img src="https://rickkrasinski.github.io/dfcleanser/graphics/pandas.png" style="width: 120px ; height: 120px"></td><td style="margin-left: 200px"><p style="text-align: left" id="mainTitle"><font size="6">Pandas Dataframe Cleanser</font></p><p id="titleComment"><font size="3">A utility to prepare your pandas dataframe for data analytics.</font></p></td><td><img src="https://rickkrasinski.github.io/dfcleanser/graphics/dataCleansing.png" style="width: 120px ; height: 120px"></td></tr></table></div>

# dfcleanser
Pandas Dataframe Cleanser is a Jupyter Notebook extension that lets you perform operations on a pandas dataframe.



## Chapters
Dataframe Cleanser has the following Chapters supporting specific functionality.
1) Data Import 
2) Data Inspection
3) Data Cleansing
4) Data Transform
5) Data Export
6) Data Utilities

## Users Manual
Refer to the dataframe cleanser <a href="https://rickkrasinski.github.io/dfcleanser-help/index.html"  target="_blank">Users Manual</a> to get detailed info on all aspects of the package.