semvec/pypi-packages huggingface dataset:
k8s-spark-helper-liangdao-data 0.0.3
Run spark task in k8s

###spark-helper

####在k8s集群中调用spark (https://github.com/GoogleCloudPlatform/spark-on-k8s-operator)

Author: yuchao.li@liangdao.ai
Created: 2023.3.9

```
Usage:
    s3_config = {'endpoint': 'http://minio.minio-tenant',
                'access': 'xxx',
                'secret': 'xxx'}

    set_config(image='pyspark:driver-3.3.1',
               namespace='spark-operator',
               service_account='sparkoperator',
               s3_config = s3_config )

    start_spark('hello-world-spark',
                's3a://airflow-dags/spark/pyspark_helloworld.py',
                False)
```

####配置优先级：
    从高到低
    set_config 设置的配置
    auto_load_config 自动加载的环境变量配置
pipenv-d 0.0.4
dirty hack of pipenv

# `pipenv-d`: A `d`irty hack of `pipenv`

`pipenv-d` is a dirty hack of [`pipenv`](https://pipenv.pypa.io/en/latest/).

TL;DR, I want [this feature](https://github.com/pypa/pipenv/issues/5130), so `pipenv` can support multiple platform-specific lock files.

Why? Because some of my colleagues are using `x86_64` machine and some are using Apple silicon (such as `m1`). As a result, when some of them lock dependencies on one machine, high chances is that the lock file may not work on the others, especially for machine learning applications which heavily rely on extension modules (`Cython`, `pybind11`, `Numba`..etc) and are very platform-specific.

I am just so tired of fixing dependency issues for them. I NEED platform-specific lock file support ASAP.

## Installation

- via `pip`
```bash
$ python3 -m pip install pipenv-d
```

## Usage

Simple, whenever you want to run `pipenv` in the console, replace it with `pipenv-d`.

`pipenv-d` works exactly the same as `pipenv` except that it will create platform-specific lock file in your project instead of single `Pipfile.lock`.

## Demo

- install packages in your project with `pipenv-d`
![install-packages](images/install_packages.png)

- platform-specific lock file will be generated in `.pipenv.d/`
![lock-files](images/lock_files.png)

- To regenerate the virtual environment, simply run `pipenv-d install` again, just like what you would do with `pipenv`.
![reinstall](images/reinstall.png)
![shell](images/shell.png)

## How it works?

Simple, everytime `pipenv` generate a `Pipfile.lock`, move it to `.pipenv.d` directory and give it a platform-specific name.

If any platform-specific-named lock file found in `.pipenv.d` when `pipenv-d` is executed, copy the content to `Pipfile.lock` in the working directory and invoke `pipenv` command afterward.

After `pipenv` exits, move `Pipfile.lock` back to `.pipenv.d`.
python-alias 0.0.6
A simple and easy command alias tool
Requires Python: >=3.6

从mac换到windows，苦于没有`alias`给命令取别名，只好自己简单开发一个了。

## 安装

`pip install -U python-alias`

## 使用

`palias --help`查看支持的命令

主要命令使用如下：

- 添加别名：`palias add gs git status`表示`gs`为命令`git status`的别名

- 别名列表：`palias list`

- 执行命令: 直接终端输入`gs`，代表执行`git status`命令

- 删除别名：`palias del --name gs`