semvec/pypi-packages huggingface dataset:
sier2-blocks 0.13
Blocks for sier2

Sier2 Blocks
============

This library provides useful blocks for sier2.

A block is implemented as:

.. code-block:: python

    class MyBlock(Block):
        ...

The ``Block`` class inherits from ``param.Parameterized``, and uses parameters as described at https://param.holoviz.org/user_guide/Parameters.html.
There are three kinds of parameters:

    * Input parameters start with ``in_``. These parameters are set before a block is executed.
    * Output parameters start with ``out_``. The block sets these in its ``execute()`` method.
    * Block parameters start with ``block_``. These are reserved for use by blocks.

A typical block will have at least one input parameter, and an ``execute()`` method that is called when an input parameter value changes.

.. code-block:: python

    class MyBlock(Block):
        in_value = param.String(label='Input Value')
        out_upper = param.String(label='Output value)

        def execute(self):
            self.out_value = self.in_value.upper()
            print(f'New value is {self.out_value}')

The block parameter ``block_pause_execution`` allows a block to act as an "input" block, particularly when the block hsa a GUI interface. When set to True and dag execution reaches this block, the block's ``prepare()`` method is called, then the dag stops executing. This allows the user to interact with a user interface.

The dag is then restarted using ``dag.execute_after_input(input_block)`` (typically by a "Continue" button in the GUI.) When the dag is continued at this block, the block's ``execute()`` method is called, and dag execution continues.

Many blocks are optimised for use with Panel, and have a specified ``__panel__`` method. This should return a panel-interpretable object which is displayed within a card when used in a ``PanelDag``. If ``__panel__`` is not defined, the ``in_`` params will be used to automatically generate one.
py-arrakis 2.0.0
Python SDK for the Arrakis sandboxes - https://github.com/abshkbh/arrakis
Requires Python: >=3.9
Keywords: virtualization, sandbox, vm, testing

# py-arrakis

Python SDK for [Arrakis](https://github.com/abshkbh/arrakis).

## Description

This package provides a Python SDK over the REST API exposed by [Arrakis](https://github.com/abshkbh/arrakis).

## Installation

```
pip install py-arrakis
```

## Usage

The SDK provides a simple interface to manage Arrakis sandbox VMs:

```python
from py_arrakis import SandboxManager

# Initialize the sandbox manager with the Arrakis server URL
manager = SandboxManager("http://localhost:7000")

# List all VMs
sandboxes = manager.list_all()

# Start a new VM
sandbox = manager.start_sandbox("my-sandbox")

# Run a command in the VM
result = sandbox.run_cmd("echo hello world")
print(result["output"])

# Create a snapshot
snapshot_id = sandbox.snapshot("snapshot-v1")

# Destroy the VM when done
sandbox.destroy()

# Restore from snapshot
restored_sandbox = manager.restore("my-vm", snapshot_id)
```

For more examples, check out the [cookbook.py](examples/cookbook.py) file.

## License

MIT
pripy-utils 0.1.2
个人python工具集
Requires Python: >=2.7
Keywords: utils, mylog, zip, sqlite3, database

# My python util collections
我的个人python工具集,模块构建流程：

## 项目结构
```bash
├── README.md
├── pyproject.toml
├── src
│   └── pyutils
│       ├── __init__.py
│       ├── base_sqlite_db.py
│       ├── my_log.py
│       ├── utils.py
│       └── zip.py
└── tests
    └── test.py
```

## Module模块构建

- **1、示例（使用 setuptools）：**
    
    ```toml
    #在pyproject.toml文件

    [build-system]
    requires = ["setuptools>=61.0"]
    build-backend = "setuptools.build_meta"

    [project]
    name = "your-package-name"
    version = "0.1.0"
    description = "简短描述"
    readme = "README.md"
    requires-python = ">=3.7"
    license = {text = "MIT"}
    authors = [
    {name = "你的名字", email = "你@邮箱.com"}
    ]
    dependencies = [
    "requests>=2.0",  # 依赖示例
    ]

    [project.urls]
    Homepage = "https://github.com/yourname/yourproject"
    ```
- **2、构建包**
    - 先安装打包工具（一次性操作）：
    ```bash
    pip install build
    ```

    - 然后在项目根目录运行：
    ```bash
    python -m build
    ```
    - 会生成：

    ```pgsql
    dist/
    ├── your_package_name-0.1.0.tar.gz
    └── your_package_name-0.1.0-py3-none-any.whl
    ```

# 上传到 PyPI
## 安装上传工具：

```bash
pip install twine
```
## 注册并获取 [PyPI](https://pypi.org/account/register/) 账号

上传：

```bash
twine upload dist/*
```
输入你的 PyPI 用户名和密码即可。

💡 最新版本twine可能是OIDC 的API token，在pypi的个人账号下创建 API token，
并在`~/.pypirc`本地保存配置，可以长期免输入token使用：
```toml
[distutils]
index-servers =
    pypi
[pypi]
  repository= https://upload.pypi.org/legacy/ #上传地址
  username = __token__ #验证类型
  password =  #输入你的token pypi-AgEIcHlwaS5.....
```

💡 建议先上传到测试环境 Test PyPI：

💡 Because TestPyPI has a separate database from the live PyPI, you’ll need a separate user account specifically for TestPyPI. Go to https://test.pypi.org/account/register/ to register your account.
```bash
twine upload --repository testpypi dist/*
```

# 在其他项目中安装
```bash
pip install your-package-name
```
或者从 Test PyPI：

```bash
pip install --index-url https://test.pypi.org/simple/ your-package-name
```
secure-math 0.1.1
A secure implementation of basic math operations
Requires Python: >=3.7

# Secure Math

A secure implementation of basic math operations using Cython for code protection.

## Features

- Basic arithmetic operations (add, subtract, multiply, divide)
- Compiled with Cython for performance and code protection
- Type hints for better IDE support
- Comprehensive error handling

## Installation

```bash
# Install from source
pip install .


# For development with Cython
pip install -e .
```

## Usage

```python
from secure_math import add, subtract, multiply, divide

# Basic operations
result = add(5, 3)       # 8
result = subtract(5, 3)   # 2
result = multiply(5, 3)   # 15
result = divide(6, 3)     # 2.0
```

## Building for Distribution

To build the Cython extensions:

```bash
# Install build tools
pip install --upgrade pip setuptools wheel cython

# Build the package
python setup.py build_ext --inplace

# Build source distribution and wheel
python setup.py sdist bdist_wheel
```

## Publishing to PyPI

1. Install twine:
   ```bash
   pip install twine
   ```

2. Upload to TestPyPI (optional):
   ```bash
   twine upload --repository-url https://test.pypi.org/legacy/ dist/*
   ```

3. Upload to PyPI:
   ```bash
   twine upload dist/*
   ```

## License

MIT
pyFF 2.1.4
Federation Feeder
Requires Python: >=3.7

python SAML metadata aggregator
===============================

.. image:: https://img.shields.io/pypi/l/pyXMLSecurity.svg
   :target: https://github.com/leifj/pyXMLSecurity/blob/master/LICENSE.txt
   :alt: License
.. image:: https://img.shields.io/travis/IdentityPython/pyFF.svg
   :target: https://travis-ci.org/IdentityPython/pyFF
   :alt: Travis Build
.. image:: https://img.shields.io/coveralls/IdentityPython/pyFF.svg
   :target: https://coveralls.io/r/leifj/pyFF?branch=master
   :alt: Coverage
.. image:: https://api.codeclimate.com/v1/badges/133c2c109b680c6868c1/maintainability
   :target: https://codeclimate.com/github/IdentityPython/pyFF/maintainability
   :alt: Maintainability
.. image:: https://img.shields.io/pypi/format/pyFF.svg
   :target: https://pypi.python.org/pypi/pyFF
   :alt: Format
.. image:: https://img.shields.io/pypi/v/pyFF.svg
   :target: https://pypi.python.org/pypi/pyFF
   :alt: PyPI Version
.. image:: https://readthedocs.org/projects/pyff/badge/
   :target: https://pyff.readthedocs.org/
   :alt: Documentation
   

This is a SAML metadata aggregator written in python. It is based on the model 
for metadata exchange by Ian Young: http://iay.org.uk/blog/2008/10/metadata_interc.html

Features 
========

* Fully customizable processing pipelines in yaml.
* Easy to retrieve, analyze, transform, sign and publish SAML metadata.
* Operate in batch or online mode using embedded HTTP server.
* Provide a full MDX implementation.
* Make use of PKCS#11 tokens and HSMs for key protection.
* Fully compatible with `thiss.io discovery service <https://thiss.io>`_.
* Fully compatible with `mdq-browser frontend app <https://github.com/SUNET/mdq-browser>`_.

Dependencies
============

* pyXMLSecurity
* PyKCS11 (optional)
* pygments
* gunicorn (for the standalone pyffd server)
* ... cf requirements.txt

More information
================

Project homepage: https://pyff.io/