semvec/pypi-packages huggingface dataset:
wwpdb.utils.detach 0.5.0
WWPDB Python Detached Process Utilities
Requires Python: >=3.6

# OneDep Detached Process Support Utilities

master: [![Build Status](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_apis/build/status/wwPDB.py-wwpdb_utils_detach?branchName=master)](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_build/latest?definitionId=9&branchName=master)

develop: [![Build Status](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_apis/build/status/wwPDB.py-wwpdb_utils_detach?branchName=develop)](https://dev.azure.com/wwPDB/wwPDB%20Python%20Projects/_build/latest?definitionId=9&branchName=develop)

## Introduction

This repository povides utilities used by detached services

### Installation

Download the library source software from the project repository:

```bash

git clone --recurse-submodules https://github.com/wwpdb/py-wwpdb_utils_detach.git

```

Optionally, run test suite using the Tox test runner

```bash
python setup.py test

or simply run

tox

Installation is via the program [pip](https://pypi.python.org/pypi/pip).

```bash
pip install wwpdb.utils.detach

or from the local repository:

pip install .
smart-git 0.1.0
A Python package for automating Git repositories
Requires Python: >=3.6

# Smart-Git-Auto-Commit-Push

This project automates Git operations such as initialization, staging, committing, pushing, and generating reports using Python. It helps streamline the version control process and maintain structured logs and reports.

**Features**
1. Initialize Git Repository (if not already initialized)
2. Automatically Add Remote URL (only the first time)
3. Create and Switch to Branch (if not already in the specified branch)
4. Stage Changes (adds specified files or all changes)
5. Commit and Push Changes (ensures the latest code is pushed)
6. Generate Git Report (logs last commit, changes, and repository details)
gr11prctl 0.0.3
A Python package for Grade 11 practical programs.
Requires Python: >=3.6

# **gr11prctl** 📚  
*A Python package with essential Grade 11 practical programs!*  

[![PyPI Version](https://img.shields.io/pypi/v/gr11prctl?color=blue)](https://pypi.org/project/gr11prctl/)  
[![License](https://img.shields.io/github/license/TanujairamV/gr11prctl)](https://github.com/TanujairamV/gr11prctl/blob/main/LICENSE)  
[![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-blue?logo=github)](https://github.com/TanujairamV/gr11prctl)  

---

## 📌 **About**
`gr11prctl` is a Python package that provides a collection of **Grade 11 practical programs** to help students understand fundamental programming concepts through ready-to-use functions.

---

## 🚀 **Installation**
Install `gr11prctl` from PyPI using:  
```sh
pip install gr11prctl
```

---

## 🛠 **Usage**
### **1️⃣ View Available Programs**
To list all available programs, run:  
```python
import gr11prctl
gr11prctl.code()
```

### **2️⃣ Import and Use Specific Functions**
You can directly import functions from the `snippets` module.  
Example: **Check if a number is prime**
```python
from gr11prctl.snippets import is_prime
print(is_prime(7))  # Output: True
```

---

## 📜 **Available Programs**
| #  | Function Name | Description |
|----|-------------|-------------|
| 1  | `pattern1_code` | Prints a **right-angled triangle pattern**. |
| 2  | `perfect_number_code` | Checks if a number is **Perfect**. |
| 3  | `prime_number_code` | Determines if a number is **Prime or Composite**. |
| 4  | `fibonacci_series_code` | Generates the **Fibonacci sequence**. |
| 5  | `count_chars_code` | Counts **vowels, consonants, uppercase, and lowercase letters** in a string. |
| 6  | `palindrome_string_code` | Checks if a string is a **Palindrome**. |
| 7  | `swap_even_odd_code` | Swaps **even and odd-indexed elements** in a list. |
| 8  | `frequency_list_code` | Finds the **frequency of elements** in a list. |
| 9  | `search_tuple_code` | Searches for an item in a **tuple**. |
| 10 | `student_details_code` | Stores student details and **filters students with marks > 75**. |

---

## 🎯 **Example Usages**
### **🔹 Right-Angled Triangle Pattern**
```python
from gr11prctl.snippets import pattern1_code
exec(pattern1_code.code)
```
#### 🖥 Output (Example for `n=5`):
```
*  
* *  
* * *  
* * * *  
* * * * *  
```

---

### **🔹 Check if a Number is Prime**
```python
from gr11prctl.snippets import prime_number_code
exec(prime_number_code.code)
```
#### 🖥 Output:
```
Enter any number: 7
7 is a PRIME number
```

---

### **🔹 Fibonacci Series**
```python
from gr11prctl.snippets import fibonacci_series_code
exec(fibonacci_series_code.code)
```
#### 🖥 Output:
```
How many terms? 5
Fibonacci sequence:
0 , 1 , 1 , 2 , 3 ,
```

---

### **🔹 Swap Even and Odd Elements in a List**
```python
from gr11prctl.snippets import swap_even_odd_code
exec(swap_even_odd_code.code)
```
#### 🖥 Output:
```
Enter number of elements: 4
Enter element: 1
Enter element: 2
Enter element: 3
Enter element: 4
Original List: [1, 2, 3, 4]
List after swapping: [2, 1, 4, 3]
```
bm-configurator 0.0.0
The configurator allows you to collect knowledge about models in configs and select among them suitable for local deployment on certain devices.
Requires Python: >=3.8


---

# Model Configurator

[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**A smart configuration system that collects model specifications in config files and selects suitable options for local deployment on target devices.**

---

## Key Features

- 🗂 **Centralized Model Catalog** - Manage all model specifications in YAML config files
- 🖥 **Device Compatibility Engine** - Automatically detects hardware capabilities:
  - RAM/VRAM availability
  - GPU support and memory
  - Disk space requirements
- 🎯 **Smart Selection** - Recommends optimal models based on:
  - Device constraints
  - Performance priorities
  - Model ranking system
- 🛠 **Extensible Architecture** - Supports multiple model types through config inheritance

---

## Installation

```bash
pip install bm_configurator
```

From source:
```bash
git clone https://github.com/Dmatryus/bm_configurator
cd bm_configurator
pip install .
```

---

## Basic Usage

```python
from pathlib import Path

from bm_configurator import DiffusionModelConfig, LLMModelConfig, ModelConfigurator

configurator = ModelConfigurator(
    model_class=DiffusionModelConfig,
    config_path=Path("./configs/diffusion_models.yaml")
)

configurator.print_available_models()
```

---

## Configuration Example (`models.yaml`)

```yaml
models:
  - name: "Tiny Diffusion"
    model_id: "parlance/diffusion_mini"
    description: "Ultra-light CPU model"
    requirements:
      min_ram: 4
      requires_gpu: false
      disk_space: 1
    tags: ["cpu", "low-res", "fast"]
    image_size: [256, 256]
    default_steps: 15
    rank: 3

  - name: "SD 1.5 Optimized"
    model_id: "runwayml/stable-diffusion-v1-5"
    description: "The balance of quality and speed"
    requirements:
      min_ram: 8
      requires_gpu: true
      min_vram: 4
      disk_space: 2
    tags: ["mid-tier-gpu", "general-use"]
    image_size: [512, 512]
    default_steps: 25
    rank: 2
```
---

## Contribution

We welcome contributions! Please see our [Contribution Guidelines](CONTRIBUTING.md) for:
- Adding new hardware detection methods
- Supporting additional model types
- Improving compatibility checks

---

## License

MIT License. See [LICENSE](LICENSE) for full text.
dice-api 2025.3.1
A web API for DICE services
Requires Python: >=3.8

# DICE API

[![Actions Status][actions-badge]][actions-link]
[![PyPI version][pypi-version]][pypi-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

[![GitHub Discussion][github-discussions-badge]][github-discussions-link]

<!-- SPHINX-START -->

<!-- prettier-ignore-start -->
[actions-badge]:            https://github.com/uobdic/dice-api/workflows/CI/badge.svg
[actions-link]:             https://github.com/uobdic/dice-api/actions
[pypi-link]:                https://pypi.org/project/dice-api/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/dice-api
[pypi-version]:             https://img.shields.io/pypi/v/dice-api

<!-- prettier-ignore-end -->

DICE API is a FastAPI-based API for the Data Intensive Computing Environment.
The aim is to provide a simple, easy-to-use API for admin-interaction

## Getting started

```bash
docker run \
    --net=host \
    -v /opt/cvmfs/cms.cern.ch/SITECONF/local:/cvmfs/cms.cern.ch/SITECONF/T2_UK_SGrid_Bristol:ro \
    -v /etc/hadoop:/etc/hadoop:ro \
    -v /etc/alternatives/hadoop-conf:/etc/alternatives/hadoop-conf:ro \
    -ti kreczko/dice-api:latest
```
prismacloud-api 5.3.0
Prisma Cloud API SDK for Python
Requires Python: >=3.6

# Python SDK for the Prisma Cloud APIs

This project includes a Python SDK for the Prisma Cloud APIs (CSPM, CWPP, and CCS) in the form of a Python package.
It also includes reference scripts that utilize this SDK.

Major changes with Version 5.0:

* Command-line argument and configuration file changes.

## Table of Contents

* [Setup](#Setup)
* [Support](#Support)


## Setup

Install the SDK via `pip3`:

```
pip3 install prismacloud-api
```

Please refer to [PyPI](https://pypi.org/project/prismacloud-api) for details.

### Example Scripts

Please refer to this [scripts](https://github.com/PaloAltoNetworks/prismacloud-api-python/tree/main/scripts) directory for configuration, documentation, and usage.

If you prefer to use this SDK without using command-line options, consider these minimal examples:

#### Prisma Cloud Enterprise Edition

```
import os
from prismacloud.api import pc_api

# Settings for Prisma Cloud Enterprise Edition

settings = {
    "url":      "https://api.prismacloud.io/",
    "identity": "access_key",
    "secret":   "secret_key"
}

pc_api.configure(settings)

print('Prisma Cloud API Current User:')
print()
print(pc_api.current_user())
print()
print('Prisma Cloud Compute API Intelligence:')
print()
print(pc_api.statuses_intelligence())
print()

print('Prisma Cloud API Object:')
print()
print(pc_api)
print()
```

#### Prisma Cloud Compute Edition

```
import os
from prismacloud.api import pc_api

# Settings for Prisma Cloud Compute Edition

settings = {
    "url":      "https://console.example.com/",
    "identity": "username",
    "secret":   "password"
}

pc_api.configure(settings)

print('Prisma Cloud Compute API Intelligence:')
print()
print(pc_api.statuses_intelligence())
print()

print('Prisma Cloud API Object:')
print()
print(pc_api)
print()
```

Settings can also be defined as environment variables:

#### Environment Variables

```
settings = {
    "url":      os.environ.get('PC_URL'),
    "identity": os.environ.get('PC_IDENTITY'),
    "secret":   os.environ.get('PC_SECRET')
}
```

## Support

This project has been developed by members of the Prisma Cloud CS and SE teams, it is not Supported by Palo Alto Networks.
Nevertheless, the maintainers will make a best-effort to address issues, and (of course) contributors are encouraged to submit issues and pull requests.