semvec/pypi-packages huggingface dataset:
PyOneLiner 0.0.1
This package implement a code OneLiner for python (write a script and get it in oneline).
Requires Python: >=3.6

# OneLiner

## Description
This package implement a code OneLiner for python (write a script and get it in oneline).

## Requirements
This package require :
 - python3
 - python3 Standard Library

## Installation
```bash
pip install PyOneliner
```

## Examples

### Command lines
1. For python console:
```bash
PyOneLiner script.py
PyOneLiner script.py --mode "uu"
```
2. For bash console:
```bash
PyOneLiner script.py --mode "base64" --console "bash"
PyOneLiner script.py --mode "unicode" --console "bash"
```
3. For windows cmd:
```bash
PyOneLiner script.py --mode "gzip" --console "batch"
PyOneLiner script.py --mode "ord" --console "batch"
```

### Python3
```python
from PyOneLiner import OneLiner
from os import system

oneliner = OneLiner("script.py", type_="python")
oneliner.xor()
oneline = oneliner.done()
exec(oneline)

oneliner.ascii85()
oneline = oneliner.done()
exec(oneline)

oneliner = OneLiner("script.py", type_="bash") # Linux
oneliner.lzma()
oneline = oneliner.done()
system(oneline)

oneliner.binary()
oneline = oneliner.done()
system(oneline)

oneliner = OneLiner("script.py", type_="batch") # Windows
oneliner.base16()
oneline = oneliner.done()
system(oneline)

oneliner.bz2()
oneline = oneliner.done()
system(oneline)
```

## Link
[Github Page](https://github.com/mauricelambert/PyOneLiner)

## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).
optionaldict 0.1.2
A dict-like object that ignore NoneType values for Python
Keywords: dict,optional value

# optionaldict

[![Build Status](https://travis-ci.org/messense/optionaldict.svg)](https://travis-ci.org/messense/optionaldict)
[![Build status](https://ci.appveyor.com/api/projects/status/qkj8q2cuitihj2dx/branch/master?svg=true)](https://ci.appveyor.com/project/messense/optionaldict/branch/master)
[![Coverage Status](https://coveralls.io/repos/messense/optionaldict/badge.svg)](https://coveralls.io/r/messense/optionaldict)

``optionaldict`` is a dict-like object that ignore NoneType values for Python which is pickable and JSON serializable.

# Installation

You can install ``optionaldict`` simply using ``pip``:
```bash
pip install optionaldict
```

# Usage
``optionaldict``'s usage is very simple, you will import it by:

```python
from optionaldict import optionaldict
```

or if you prefer the CamelCasing style naming, you can import it by:

```python
from optionaldict import OptionalDict
```

> Tips: In fact, ``optionaldict`` is just an alias for ``OptionalDict``.

Then you can use it just like the built-in ``dict``:

```python
d1 = optionaldict(a=1, b=None)
d1['c'] = 2
d1.setdefault('d', None)

d2 = optionaldict()
d2['a'] = 1
d2['b'] = None

d3 = optionaldict({
    'a': 1,
    'b': None
})
```
nvselector 0.0.1
Auto selector for NVIDIA GPUs

# nvselector
Auto Selector for NVIDIA GPUs

## Installation

```bash
python setup.py install
```

## Usage

```python
from nvselector import autoset_nvgpu

# select 1 gpu with minimal memory utilization rate
autoset_nvgpu(metric="mem", k=1)

# your GPU codes
# ...
```