semvec/pypi-packages huggingface dataset:
ift-test 0.1.3
IFT test PyPi Version
Requires Python: >=3.10

IFT NXOPEN API
===============

**Beschreibung**

This repository contains an API for the IFT in Siemens NX. The classes in this API use the NXOpen API to get important data from a Siemens NX Session. 

This package was generated for the SurfAlce project, but the functionalities of the different classes can be used 
in any other project. 

All classes and their methods can be found in the folder `./src/IFT` in the Folder `./scripts`however you can find scripts that can be executed from Siemens NX. 

Before you can use these functionalities, stick to the setup instructions below.

**Setup** 

- [Install Python 3.8](https://www.python.org/) if not already installed and remind the installation directory.
- Add following system variables to the  `%UGII_BASE_DIR%/UGII/ugii_env.dat` file.
- `UGII_PYTHON_LIBRARY_DIR = <installation directory>/Python38`
- `UGII_PYTHONPATH = %UGII_PYTHON_LIBRARY_DIR%;%UGII_PYTHON_LIBRARY_DIR%\DLLs;%UGII_PYTHON_LIBRARY_DIR%\Lib;%UGII_PYTHON_LIBRARY_DIR%\Lib\site-packages;%UGII_BASE_DIR%\nxbin\python`
- `UGII_CAM_WRITE_MRR = <abitrary directory with writing permisions>`
- Install the API into the python distribution via pip with the following command `pip install git+https://git.ift.tuwien.ac.at/lab/ift/sis/data-science/nxopen-export.git`
- Open a Siemens NX CAM-Setup
- If not already done, enable the Developer tab, by right-click on the blue ribbon at the top of NX and set a tick to "Developer"
- Press "Play" and search for the `./scripts/nx_data_export.py` file available in the gitlab repository.
- The script can be executed via the callback-function of a personalized button in the NX Ribbon. 

> NOTE: None of the system variables specified above, expecially `UGII_PYTHONPATH`,  may exceed 256 characters.
tharos-pytools 0.0.32
Collection of quality-of-life functions
Requires Python: >=3.10

# tharos-pytools

This package contains cool functions in order to better manage Python projects.

## Contents

+ `futures_collector` is a function that ensures multithreading.
+ `limit_memory` allows to define a percentage-based memorylock for current Python thread.
+ `get_palette` allows to create a N-sized color palette.
+ `get_palette_from_list` returns a list of colors, normalizing a data array.
+ `overload` is a decorator that allows C-like overloading of functions.
+ `flatten` is a fast list flattener.
+ `revcomp` is a reverse-complement calculator
+ `types_checker` is a decorator for type checking based on annotations.
webopen 0.0.2
A small example package
Requires Python: >=3.8
Keywords: add, search, delete

# WebOpen

WebOpen is a python command to open urls through command line.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install webopen.

```bash
pip install webopen
```

## Usage

```bash
webopen -link link_name
```
<link_name>:The name or identifier of the link you want to open.

```bash
webopen add
```
This command prompts user for website name,username in that website, and password used in that website and store it in local sqllite database.

```bash
webopen search
```
This command prompts user for a website, if the website is in database, it prints out the credentials used in the website.

## Example

```bash
webopen -link github.com
```


## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
picopy 1.0.12
convert an image to a watercolor image 🎨

# Convert an Image To a Watercolor Image 

+ Input :
<p align="center"><img src="https://github.com/Kiana-Jahanshid/picopy/raw/main/picopy/na.jpg" width="290" height="200" ></p> 

<br>

+ Output :
<p align="center"><img src="https://github.com/Kiana-Jahanshid/picopy/raw/main/picopy/watercolor.jpg" width="410" height="300" ></p>

<br/>

# Installation 

```bash
pip install picopy
```

<br>

# How to use 

## 1. Use with Python environments : 

```python
from picopy import picopy 

picopy.convert_image_to_watercolor("image.jpg")

 or 

picopy.convert_image_to_watercolor("https://..../image.jpg")
```
<br>

## 2. Use with CLI :

+ using local image :

```bash
python -m picopy.picopy --imagepath "image.jpg"
```

+ using URL :

```bash
python -m picopy.picopy --imagepath "https://..../image.jpg"
```


Your watercolored image will be saved in your file folder .
vidtoolkit 1.0
A comprehensive toolkit for video processing, including subtitles, watermarks, trimming, thumbnails, and MP4 to HLS conversion.
Requires Python: >=3.6

# vidtoolkit

vidtoolkit is a comprehensive toolkit for video processing, including subtitles, watermarks, trimming, thumbnails, and MP4 to HLS conversion.

## Installation

```bash
pip install vidtoolkit
```

## Usage

### Adding Subtitles

```python
from vidtoolkit.video_subtitle import VideoSubtitle

video = VideoSubtitle('input_video.mp4')
video.add_subtitle('Hello, World!', 0, 5, position=(10, 10), fontsize=24, color='white')
```

### Adding Subtitles from SRT

```python
from vidtoolkit.video_subtitle import VideoSubtitle

video = VideoSubtitle('input_video.mp4')
video.add_subtitle_from_srt('subtitles.srt')
```

### Adding Text Watermark

```python
from vidtoolkit.video_watermarking import VideoWatermarking

video = VideoWatermarking('input_video.mp4')
video.add_text_watermark('Sample Watermark', position=('center', 'bottom'), fontsize=24, color='white')
```

### Adding Image Watermark

```python
from vidtoolkit.video_watermarking import VideoWatermarking

video = VideoWatermarking('input_video.mp4')
video.add_image_watermark('watermark.png', position=('right', 'bottom'))
```

### Trimming Video

```python
from vidtoolkit.video_trimming import VideoTrimming

video = VideoTrimming('input_video.mp4')
video.extract_frames(10, 50, with_audio=True)
```

### Generating Thumbnail

```python
from vidtoolkit.video_thumbnailer import VideoThumbnailer

video = VideoThumbnailer('input_video.mp4')
video.generate_thumbnail(100, save_path='thumbnail.jpg')
```

### Converting MP4 to HLS

```python
from vidtoolkit.mp4_to_hls_converter import MP4toHLSConverter

converter = MP4toHLSConverter('input_video.mp4', resolutions=['1920x1080', '1280x720'])
converter.convert()
```


## License

This project is licensed under the LGPL License - see the LICENSE file for details.
ete-pass 1.0.2
A strong password generator with choosable characters and length
Requires Python: >=3.6

# Password Generator

Ete_Pass is a strong password generator with customizable character types and length.

## Features:

- Generate passwords of desired length. (Min3, Max100)
- Include or exclude lowercase letters, uppercase letters, numbers, and symbols.
- command line accessabitly.

## Installation:

```sh
pip install ete_pass
```

## Usage:
```sh
from password_generator import strongpass
```

### Generate a password of length 12 with all character types
```sh
password = strongpass(12)
print(password)
```
### Generate a password of length 16 with only numbers and symbols
```sh
password = strongpass(16, use_symbols=True, use_uppercase=False, use_lowercase=False, use_numbers=True)
print(password)
```


### CLI orders:
  -  --length: Length of the password (default is 8).
  -  --no-symbols: Exclude symbols from the password.
  -  --no-uppercase: Exclude uppercase letters from the password.
  -  --no-lowercase: Exclude lowercase letters from the password.
  -  --no-numbers: Exclude numbers from the password.

### Example:
```sh
generate-password length=16 --no-symbols --no-uppercase --no-lowercase
```
It will generate a password only made of digits with the length of 16
number-of-terms-inside-a-square-root8 0.0.6
Application to Determine the Number of Terms Inside a Square Root
Requires Python: >=3.8

# Application to Determine the Number of Terms Inside a Square Root
任意の数字を入力することでその数字のルート内の項を求めることができる。
"You can determine the terms inside the square root of any given number by inputting the number."

使用方法 usage rules↓↓
```python
python3 keisannkadai1.py
```
## コード

以下のPythonコードを使用してください。
Use the Python code below.

#keisannkadai1.py↓↓
```python
import math

def calculate_number_of_terms(number):
    square_root = math.sqrt(number)
    integer_part = int(square_root)
    decimal_part = square_root - integer_part
    return integer_part, decimal_part

def main():
    print("√を外して中の数何条になるかを計算します。")
    number = float(input("数値を入力してください: "))
    # √を外して中の数何条になるかを計算する
    integer_part, decimal_part = calculate_number_of_terms(number)
    # 小数点以下の桁数を表示する
    decimal_places = len(str(decimal_part)) - 2
    print(f"√{number} を外して中の数は {integer_part}+{decimal_part:.{decimal_places}f} になります。")

if __name__ == "__main__":
    main()
number-of-terms-inside-a-square-root7 0.0.6
Application to Determine the Number of Terms Inside a Square Root
Requires Python: >=3.8

# Application to Determine the Number of Terms Inside a Square Root
任意の数字を入力することでその数字のルート内の項を求めることができる。
"You can determine the terms inside the square root of any given number by inputting the number."

使用方法 usage rules↓↓
```python
python3 keisannkadai1.py
```
## コード

以下のPythonコードを使用してください。
Use the Python code below.

#keisannkadai1.py↓↓
```python
import math

def calculate_number_of_terms(number):
    square_root = math.sqrt(number)
    integer_part = int(square_root)
    decimal_part = square_root - integer_part
    return integer_part, decimal_part

def main():
    print("√を外して中の数何条になるかを計算します。")
    number = float(input("数値を入力してください: "))
    # √を外して中の数何条になるかを計算する
    integer_part, decimal_part = calculate_number_of_terms(number)
    # 小数点以下の桁数を表示する
    decimal_places = len(str(decimal_part)) - 2
    print(f"√{number} を外して中の数は {integer_part}+{decimal_part:.{decimal_places}f} になります。")

if __name__ == "__main__":
    main()
allure-custom 2024.5.24
allure custom
Requires Python: >=3.6

# allure-custom

定制 Allure 报告

目前支持的定制项：

1. logo

2. 标题栏文案

3. 侧边栏颜色

4. 默认暂时的语言

---

**Documentation**: <a href="https://funny-dream.github.io/allure-custom" target="_blank">https://funny-dream.github.io/allure-custom</a>

**Source Code**: <a href="https://github.com/funny-dream/allure-custom" target="_blank">https://github.com/funny-dream/allure-custom</a>

---

## 安装

```shell
pip install allure-custom
```

## 配置

```python hl_lines="1 4 6 22 26 30"
from allure_custom.conf import setting

# 测试报告的title
setting.html_title = "funny_test"
# 测试报告的name
setting.report_name = "Funny_Test"

# 测试报告的默认语言
# en:English
# ru:Русский
# zh:中文
# de:Deutsch
# nl:Nederlands
# he:Hebrew
# br:Brazil
# pl:Polski
# ja:日本語
# es:Español
# kr:한국어
# fr:Français
# az:Azərbaycanca
setting.report_language = "zh"

# 左上角 logo 图片
# 注意这里给一个绝对路径
setting.logo_png = "/home/xxx/logo.png"

# html favicon
# 注意这里给一个绝对路径
setting.favicon_ico = "/home/xxx/favicon.ico"
```

## 使用方法

```python hl_lines="1 5 8 11"
from allure_custom import AllureCustom

# 生成html测试报告
# ~/Desktop/report 此目录下保存了allure的json\txt的报告文件
AllureCustom.gen(report_path="~/Desktop/report", generate_allure_html="~/Desktop/html")

# 打开html测试报告
AllureCustom.open(generate_allure_html="~/Desktop/html")

# 直接生成在线测试报告
AllureCustom.serve(report_path="~/Desktop/report")
# 根据终端输出提示的在线链接，在浏览器查看即可；
```

## 效果展示

<p align="center">
  <a href="https://github.com/funny-dream/allure-custom"><img src="https://raw.githubusercontent.com/funny-dream/allure-custom/main/docs/img/index.png" alt="allure-custom"></a>
</p>