semvec/pypi-packages huggingface dataset:
a4 0.2.7
Minimal library for command-line applications.
Requires Python: >=3.4

# A4 – Minimal library for command-line applications.

The name comes from A4 paper.  It provides absolutely minimal (but not lousy)
support for command-line applications.

**A4** is [listed on PyPI](https://pypi.org/project/a4/).


## Simple logging

`a4.log` implements minimal logging with three major features which, in my
highly opinionated opinion, should be included in all logging libraries:

- Levels.
- Colors.
- Timestamps.

You may print all logs to stderr with `a4.log.fork=True` (default `False`).


## Yet another command-line application decorator

`a4.app` provides a decorator `Runnable` to convert a class into a runnable
command-line application. All class methods *NOT* starting with understore
are recognized as sub-commands. This pattern offers more convenience over
single-function decorators when multiple commands require shared resources.

```python
import a4
from a4.app import AppBase, Runnable

@Runnable
class MyApp(AppBase):
    def __init__(self):
        AppBase.__init__(self)

    def gen_calendar(self, args):
        """<yyyy> mmdd-mmdd [mmdd-mmdd ...]
        Generate trading calendar for one year.
        -c  <cal_id>   calendar ID, default 86
        """

        opts, args = a4.get_opts('c:', args)
        if len(args) < 2:
            self._die_usage()
        cal_id = int(opts['c'] or '86')
        self._log(f'calendar id = {cal_id}')


if __name__ == '__main__':
    MyApp().run()
```
ar2en 0.1.2
A CLI tool for converting text between Arabic and English keyboard layouts.
Requires Python: >=3.6

# ar2en

A CLI tool for converting text between Arabic and English keyboard layouts.

## Installation

You can install the package using pip:

```sh
pip install ar2en
```

## Usage

### Convert Text Directly

To convert text directly from Arabic to English keyboard layout, use:

```sh
ar2en "ضصث"
```

### Convert Text from Clipboard

To convert text from the clipboard and copy the result back to the clipboard:

```sh
ar2en -c
```

### Convert Text from a File

To convert text from a file and optionally copy the result to the clipboard:

```sh
ar2en -f input.txt -c
```

### Convert Text from English to Arabic

To convert text from English to Arabic keyboard layout:

```sh
ar2en -r "qwerty"
```

### Interactive Mode

To enter interactive mode and type the text to be converted:

```sh
ar2en -i
```

### Verbose Mode

To display detailed information about the conversion:

```sh
ar2en -v "ضصث"
```

### Save Output to a File

To save the converted text to an output file:

```sh
ar2en -f input.txt -o output.txt
```

### Full Help

For a full list of options and usage, use:

```sh
ar2en --help
```

## Examples

### Example 1: Simple Conversion

```sh
ar2en "ضصث"
```

Output:

```
wet
```

### Example 2: Conversion with Verbose Output

```sh
ar2en -v "ضصث"
```

Output:

```
The conversion of "ضصث" is "wet"
```

### Example 3: Conversion from Clipboard

```sh
ar2en -c
```

If the clipboard contains "ضصث", the clipboard will be updated with "wet".

### Example 4: Conversion from File and Save to Another File

```sh
ar2en -f input.txt -o output.txt
```

The content of `input.txt` will be converted and saved to `output.txt`.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.

## Author

[gamalthecreator](https://github.com/gamalthecreator)
```
>>>>>>> d23772a (initial commit)
dbopenapi 0.0.8
package for db openapi
Requires Python: >=3.8

﻿# DB증권 OpenApi Package

This is a simple package for DB RestAPI version.

## Installation

```bash
pip install dbopenapi
```

## Usage
모든 요청은 비동기로 처리되며, 요청에 대한 응답은 await 키워드를 사용하여 받을 수 있습니다.
<BR/>
Samples: https://github.com/teranum/db-openapi-samples

### 로그인 요청은 반드시 먼저 수행되어야 하며, 로그인이 성공하면 다른 요청을 수행할 수 있습니다.
```python
import asyncio
import dbopenapi
from app_keys import appkey, appsecretkey # app_keys.py 파일에 appkey, appsecretkey 변수를 정의하고 사용하세요

async def main():
    api=dbopenapi.OpenApi()
    
    logined:bool = False
    logined = await api.login(appkey, appsecretkey)
    
    # 옵션1: 당일 발급받은 access_token 이 있는 경우, access_token 으로 로그인
    # logined = await api.login('', '', access_token=saved__access_token)
    
    # 옵션2: 모의투자 일 경우 is_simulation 옵션을 True 로 설정
    # logined = await api.login(appkey, appsecretkey, is_simulation=True)
    
    # 옵션3: 해외선물옵션인 경우 wss_domain 옵션을 dbopenapi.WSS_URL_GLOBAL 로 설정
    # logined = await api.login(appkey, appsecretkey, wss_domain=dbopenapi.WSS_URL_GLOBAL)

    if not logined:
        print(f'연결실패: {api.last_message}')
        return
    
    print('연결성공, 접속서버: ' + ('모의투자' if api.is_simulation else '실투자'))
    
    # 발급된 access_token 출력
    print('access_token: ', api.access_token)
    
    ... # 다른 작업 수행
    await api.close()

asyncio.run(main())
```
data-quality-checker 1.7
A package for automating data quality and integrity checks with optional GPU acceleration using cuDF
Requires Python: >=3.11

# DataPilotChecker

Datapilot is a Python package that automates data quality and integrity checks for your dataset. It performs several checks including missing values, duplicate rows, outliers, data type validation, and range validation. The package uses cuDF for GPU acceleration if a compatible GPU is available, and falls back to Dask for parallel processing otherwise.

## Installation

### Basic Installation

You can install the package via pip:

```bash
pip install data_pilot_checker
```

## Installation with GPU Support
To use GPU acceleration with cuDF, you need to set up a compatible environment. Follow these steps:

### Create a conda environment with RAPIDS:

```bash
conda create -n rapids-24.06 -c rapidsai -c conda-forge -c nvidia \
    rapids=24.06 python=3.11 cuda-version=12.2
```
### Activate the conda environment:

```bash
conda activate rapids-24.06
```
### Install DataWhiz in the conda environment:

```bash
pip install data_pilot_checker
```

Check the rapids website for cuDF installation. (https://docs.rapids.ai/install)
tufw 1.1.2
Ufw terminal frontend based on dialog
Requires Python: >=3.0

# Tufw
Ufw terminal frontend based on dialog

![tufw image](./tufw.png)

# 
## Installation
Tufw **NEEDS** to be installed as root, because it needs to run as root and python won't load the module if it's installed as a normal user.

```sh
sudo python3 -m pip install tufw
# OR
sudo pip3 install tufw
```
Obviously Tufw needs [`dialog`](https://invisible-island.net/dialog/), so install it with
```sh
sudo apt install dialog
```
or whatever you use on your distribution.

>While [vermin](https://github.com/netromdk/vermin) reports minimum python version for Tufw is 3.0, it has been tested only with python 3.5.4 and 3.10. Older versions have not been tested yet.
# 
## Running
As ufw, Tufw needs to be run as root.
```sh
sudo tufw
```
I know typing '`sudo `' (space included) is always tiring and easy to forget and ufw refuses to work without, so Tufw can self elevate, calling sudo itself if you forget to.

You can just type:
```sh
tufw
```
# 
## Give to Caesar what is Caesar's
This project comes from my need to have a simple frontend for ufw like [@costales](https://github.com/costales)' [gufw](https://github.com/costales/gufw), but character based, to install on my headless server, so the code in `firewall.py` comes from costales' work, simplified a bit, but still his work.

#
#

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/a13ssandr0)

[<img src="https://raw.githubusercontent.com/aha999/DonateButtons/master/Paypal.png" width="200">](https://www.paypal.com/donate/?hosted_button_id=9RHPMJAS26TJN)