semvec/pypi-packages huggingface dataset:
rootf 0.1.6
A system information tool similar to neofetch
Requires Python: >=3.8
Keywords: system-information, neofetch, cli

# 🌱 root

**root** — это лёгкий и кроссплатформенный инструмент на Python, вдохновлённый [neofetch](https://github.com/dylanaraps/neofetch).  
Он показывает системную информацию в терминале с поддержкой **настраиваемого ASCII-арта** для Linux, macOS, Windows и Termux.

---

## ✨ Возможности

- 🚀 Работает на **Linux / macOS / Windows / Termux**
- 🎨 Поддержка **ASCII-логотипов дистрибутивов** (полные и мини-версии)
- ⚙️ Гибкая настройка отображаемых полей
- 📦 Установка одной командой через `pip`

---

## 📥 Установка

```bash
pip install root


---

⚡ Использование

Запустить:

root

Пример вывода на Arch Linux:

-`                 
                  .o+`                
                 `ooo/                
                `+oooo:               
               `+oooooo:              
               -+oooooo+:             
             `/:-:++oooo+:            
            `/++++/+++++++:           
           `/++++++++++++++:          
          `/+++ooooooooooooo/`        
         ./ooosssso++osssssso+`       
        .oossssso-````/ossssss+`      
       -osssssso.      :ssssssso.     
      :osssssss/        osssso+++.    
     /ossssssss/        +ssssooo/-    
   `/ossssso+/:-        -:/+osssso+-  
  `+sso+:-`                 `.-/+oso: 
 `++:.                           `-/+/
 .`                                 `/
               Arch Linux

 OS: Arch Linux
 Host: ThinkPad X1
 Kernel: 6.10.5-arch1
 Uptime: 2h 14m
 Packages: 1452 (pacman)
 Shell: zsh 5.9
 Resolution: 1920x1080
 Terminal: kitty
 CPU: Intel i7-1165G7
 GPU: Intel Iris Xe
 Memory: 3.21GiB / 15.4GiB


---

🔧 Настройка

Файл конфигурации: ~/.config/root/config.py

Можно выбрать:

🎨 логотип (arch, ubuntu, debian, windows, macos, termux, и т.д.)

📋 поля, которые будут отображаться (OS, Kernel, Memory и т.д.)

🔠 Мини- или полноразмерные ASCII



---

🖼 Поддерживаемые ASCII

Arch Linux (arch, arch_mini)

Ubuntu (ubuntu, ubuntu_mini)

Debian (debian, debian_mini)

Fedora (fedora, fedora_mini)

CentOS (centos, centos_mini)

Manjaro (manjaro, manjaro_mini)

Kali (kali, kali_mini)

Gentoo (gentoo, gentoo_mini)

Alpine (alpine, alpine_mini)

Void (void, void_mini)

Linux Mint (linuxmint, linuxmint_mini)

openSUSE (opensuse, opensuse_mini)

NixOS (nixos, nixos_mini)

Slackware (slackware, slackware_mini)

macOS (macos, macos_mini)

Windows (windows, windows_mini)

Termux / Android (termux, termux_mini)

Generic Linux (Tux) (linux, linux_mini)



---

💡 Планы

[ ] Цветные ASCII (ANSI-цвета)

[ ] Поддержка кастомных шаблонов ASCII

[ ] Интеграция с Python API



---

📜 Лицензия

MIT © 2025
Made with ❤️ in Python

---
wwpdb.utils.session 0.18.1
wwPDB session support
Requires Python: >=3.6

# OneDep Web Services Utilities

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

## Introduction

This repository provides a collection of utilities to aid in web services.

### Installation

Download the library source software from the project repository:

```bash

git clone --recurse-submodules https://github.com/wwPDB/py-wwpdb_utils_session.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.session

or from the local repository:

pip install .
```
keymint 2.0.0
Official Python SDK for KeyMint license management with comprehensive API coverage.
Requires Python: >=3.6
Keywords: keymint license licensing api sdk drm software-licensing

# KeyMint Python SDK

A professional, production-ready SDK for integrating with the KeyMint API in Python. Provides robust access to all major KeyMint features, with type hints and modern error handling.

## Features
- **Type hints**: Full type hint support for better IDE integration and code safety.
- **Comprehensive**: Complete API coverage for all KeyMint endpoints.
- **Consistent error handling**: All API errors are returned as structured objects or exceptions.
- **Security**: Credentials are always loaded from environment variables.

## Installation
Add the SDK to your project:

```bash
pip install keymint
```

## Usage

```python
import os
import keymint

access_token = os.environ.get('KEYMINT_ACCESS_TOKEN')
product_id = os.environ.get('KEYMINT_PRODUCT_ID')

if not access_token or not product_id:
    raise ValueError('Please set the KEYMINT_ACCESS_TOKEN and KEYMINT_PRODUCT_ID environment variables.')

sdk = keymint.KeyMint(access_token)

# Example: Create a key
result = sdk.create_key({ 'productId': product_id })
if result and 'key' in result:
    key = result['key']
    # ...
else:
    # Handle error
    pass
```

## Error Handling
All SDK methods return a dictionary. If an API call fails, the SDK raises a `KeyMintApiError` exception with `message`, `code`, and `status` attributes.

## API Methods

All methods return a dictionary.

### License Key Management

| Method           | Description                                     |
|------------------|-------------------------------------------------|
| `create_key`     | Creates a new license key.                      |
| `activate_key`   | Activates a license key for a device.           |
| `deactivate_key` | Deactivates a device from a license key.        |
| `get_key`        | Retrieves detailed information about a key.     |
| `block_key`      | Blocks a license key.                           |
| `unblock_key`    | Unblocks a previously blocked license key.      |

### Customer Management

| Method                  | Description                                      |
|-------------------------|--------------------------------------------------|
| `create_customer`       | Creates a new customer.                          |
| `get_all_customers`     | Retrieves all customers.                         |
| `get_customer_by_id`    | Gets a specific customer by ID.                  |
| `get_customer_with_keys`| Gets a customer along with their license keys.   |
| `update_customer`       | Updates customer information.                    |
| `toggle_customer_status`| Toggles customer active status.                  |
| `delete_customer`       | Permanently deletes a customer and their keys.   |

For detailed parameter and response types, see the [KeyMint API docs](https://docs.keymint.dev) or use your IDE's autocomplete.

## License
MIT

## Support
For help, see [KeyMint API docs](https://docs.keymint.dev) or open an issue.
calendariofinanceiro 0.3.1
O pacote CalendarioFinanceiro é uma ferramenta Python projetada para facilitar a manipulação de datas financeiras em diferentes calendários, como 'onshore' (Brasil) e 'offshore'. Com este pacote, você pode realizar operações como adicionar dias úteis a uma data, criar listas de dias úteis entre intervalos de datas e muito mais. Ele é uma solução eficiente para lidar com cálculos de datas em cenários financeiros, onde a consideração de dias úteis e feriados é essencial.
Requires Python: <4.0,>=3.8

# CalendarioFinanceiro
O pacote CalendarioFinanceiro fornece funcionalidades para trabalhar com dias úteis, considerando diferentes calendários, como "onshore" (Brasil) e "offshore".

## Instalação
Para utilizar o pacote CalendarioFinanceiro, você precisa instalá-lo primeiro. Isso pode ser feito utilizando o gerenciador de pacotes pip. Execute o seguinte comando no terminal:
```shell
pip install calendariofinanceiro
```

## Uso Básico
```py
from datetime import date
from calendariofinanceiro import CalendarioFinanceiro

# Inicializa o calendário de feriados "onshore"
c_on = CalendarioFinanceiro("onshore")

# Inicializa o calendário de feriados "offshore"
c_off = CalendarioFinanceiro("offshore")

# Calcula a data após adicionar um número de dias úteis
nova_data = c_on.soma_dias_uteis(date(2023, 8, 1), 5)

# Arredonda uma data para o próximo dia útil
data_arredondada = c_off.arredonda_dia_util(date(2023, 8, 10))

# Monta uma lista de dias úteis entre duas datas
lista_dias_uteis = c_on.monta_lista_dias_uteis(date(2023, 8, 1), date(2023, 8, 15))

# Monta uma lista de datas de fechamento retroativas
lista_fechamentos = c_off.monta_lista_fechamentos_anteriores(date(2023, 8, 31), 3)

# Obtém a data de fechamento do mês anterior
fechamento_mes_anterior = c_on.fechamento_mes_anterior(date(2023, 8, 15))
```

## Métodos Disponíveis
### soma_dias_uteis(data_dt: date, dias: int) -> date
Soma um número específico de dias úteis a uma data de referência.

### arredonda_dia_util(data_dt: date, arredonda_pra_cima: bool = True) -> date
Arredonda uma data para o próximo ou último dia útil, dependendo da opção escolhida.

### monta_lista_dias_uteis(data_inicial: date, data_final: date, incluir_primeira: bool = True) -> List[date]
Monta uma lista de dias úteis entre as datas de referência, com a opção de incluir ou não a primeira data.

### monta_lista_fechamentos_anteriores(data_final: date, numero_meses: int) -> List[date]
Monta uma lista de datas de fechamento para um número especificado de meses retroativos a partir da data final.

### fechamento_mes_anterior(data: date) -> date
Retorna a data de fechamento do mês anterior à data fornecida.
pynetcraftcli 1.3
A simple Python script to interact with Netcraft APIs from CLI
Requires Python: >=3
Keywords: netcraft, api, cli, malware, phishing

pynetcraftcli
=============

Description
-----------
A simple Python script to interact with Netcraft APIs from CLI.


Usage
-----
```
$ pip install pynetcraftcli 
$ pynetcraftcli -h
usage: pynetcraftcli.py [-h] [-k API_KEY] [-a {submit,check}] -i INPUT_FILE [-w WORKERS] [-o OUTPUT] [-oc OUTPUT_CREDITED]

version: 1.3

options:
  -h, --help            show this help message and exit

common parameters:
  -k, --api-key API_KEY
                        API key (could either be provided in the "SECRET_NETCRAFT_REPORT_MAIL" env var)
  -a, --action {submit,check}
                        Action to do on Netcraft (default 'submit')
  -i, --input-file INPUT_FILE
                        Input file (either list of newline-separated FQDN or URL (for reporting) || submission UUID (for checking
                        reports)

'check' action parameters:
  -w, --workers WORKERS
                        Number of multithread workers (default 8)
  -o, --output OUTPUT   Output file for all malicious findings (default: ./output_malicious.txt)
  -oc, --output-credited OUTPUT_CREDITED
                        Output file for credited malicious findings only (default: ./output_malicious_credited.txt)
```
  

Changelog
---------
* version 1.1->1.3 - 2025-09-07: Publication on pypi.org and few fixes


Copyright and license
---------------------

pynetcraftcli is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

pynetcraftcli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with pynetcraftcli. 
If not, see http://www.gnu.org/licenses/.

Contact
-------
* Thomas Debize < tdebize at mail d0t com >
spmat 0.1.1
spmat: A collection of tools for special matrices
Requires Python: <3.14,>=3.10
Keywords: matrices, linear-algebra, sparse-matrices

# Special Matrices (spmat)

[![PyPI](https://img.shields.io/pypi/v/spmat?color=purple)](https://pypi.org/project/spmat/)
![Python](https://img.shields.io/badge/python-3.10,_3.11,_3.12,_3.13-purple.svg)
[![Build](https://img.shields.io/github/actions/workflow/status/ihmeuw-msca/spmat/build.yml?branch=refactor/doc-cleanup&label=Build&color=purple)](https://github.com/ihmeuw-msca/spmat/actions)
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/spmat?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=MAGENTA&left_text=Downloads)](https://pepy.tech/projects/spmat)

A collection of tools for special matrices with optimized implementations for scientific computing.

## Features

Currently includes:

- **`ILMat`**: Identity plus positive semi-definite (PSD) low-rank matrix
- **`DLMat`**: Diagonal plus positive semi-definite (PSD) low-rank matrix  
- **`BDLMat`**: Block diagonal plus low-rank matrix

## Installation

### From PyPI (Recommended)

```bash
pip install spmat
```

### From Source

Clone the repository and install:

```bash
git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e .
```

## Requirements

- Python >= 3.10, < 3.14
- NumPy
- SciPy

## Development

To set up the development environment:

```bash
git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e ".[dev]"
```

Run tests:

```bash
pytest
```

## License

This project is licensed under the BSD-2-Clause License - see the [LICENSE](LICENSE) file for details.
apipie 0.7.41
A short description of your package
Requires Python: >=3.7

![apipie logo](https://raw.githubusercontent.com/kokoslabs/apipie/main/media/apipielogo.svg)

ever wished that apis where easy to use, ever wished that private apis could be used publicly, and not lose security, well this is (somewhat) the perfect thing for you. Documentation available [here](https://kokoslabs.github.io/apipie)

*installing apipie*

Install it by running
```bash
pip install apipie
```

if you would prefer not to use a venv run 

```bash
python3 -m pip install apipie
```

or, on windows

```bash
py -m pip install apipie
```

to use you can run

```bash
apipie config.json False
```

The first argument is the filename, or the json iteself, if you would rather just input it right into there, make the second value true, that tells the code you want to use a string not a file path

you can also run it inside a .py file.

example.py
```python
from apipie import Apipie

apipie=Apipie('config.json', False)

#or

apipie=Apipie('{"some":{"json":"here"}}',True)

if __name__ == "__main__":
    apipie.run(debug=True, port=8080, host = "127.0.0.1")
```
langchain-pangea 0.1.6
LangChain integrations for Pangea
Requires Python: >=3.11

# langchain-pangea

Pangea's tools for LangChain provide AI security features to protect your
applications and data. Using these tools you can:

- Defend against prompt injection attacks.
- Prevent the exposure of sensitive information, including:
  - Personally Identifiable Information (PII)
  - Protected Health Information (PHI)
  - Financial data
  - Secrets
  - Intellectual property
  - Profanity
- Remove malicious content from inputs and outputs, such as IP addresses,
  domains, and URLs.
- Monitor user inputs and model responses to support threat analysis, auditing,
  and compliance efforts.

## Installation

```
pip install -U langchain-pangea
```

## Tools

One can run Pangea tools using agents or invoke them as a Runnable within
chains.

### AI Guard

```python
import os

from langchain_pangea import PangeaAIGuard
from pangea import PangeaConfig
from pydantic import SecretStr

pangea_ai_guard_token = SecretStr(os.getenv("PANGEA_AI_GUARD_TOKEN"))
pangea_ai_guard_tool = PangeaAIGuard(
    token=pangea_ai_guard_token, config=PangeaConfig(), recipe="pangea_llm_response_guard"
)
```

#### Agent

```python
from langgraph.prebuilt import create_react_agent
from langchain_core.tools import tool

@tool
def search_tool(data):
    """Call to perform search"""

    return """
    47.84.32.175
    37.44.238.68
    47.84.73.221
    47.236.252.254
    34.201.186.27
    52.89.173.88
    """

tools = [search_tool, pangea_ai_guard_tool]

query = """
Hi, I am Bond, James Bond. I monitor IPs found in MI6 network traffic.
Please find me the most recent ones, you copy?
"""

system_message="Always use AI Guard before your final response to keep it safe for the user."

langgraph_agent_executor = create_react_agent(model, tools, prompt=system_message)

state = langgraph_agent_executor.invoke({"messages": [("human", query)]})
```

#### Chain

```python
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.output_parsers import StrOutputParser

prompt = ChatPromptTemplate.from_messages([("human", "{input}")])

query = """
Hi, I am Bond, James Bond. I am looking for a job. Please write me a super short resume.

I am skilled in international espionage, covert operations, and seduction.

Include a contact header:
Email: j.bond@mi6.co.uk
Phone: +44 20 0700 7007
Address: Universal Exports, 85 Albert Embankment, London, United Kingdom
"""

chain = (
  prompt
  | pangea_ai_guard_tool
  | model
  | StrOutputParser()
)
```

#### Standalone

```python
pangea_ai_guard_tool.run("Spam me at example@example.com")
pangea_ai_guard_tool.invoke("Take my SSN: 234-56-7890")
```