semvec/pypi-packages huggingface dataset:
tcpp 1.0.1
A Python implementation of TCP ping that tests connectivity to a remote host
Requires Python: >=3.7
Keywords: tcp, ping, network, connectivity, diagnostic

# tcpp

A Python implementation of TCP ping that tests connectivity to a remote host by attempting TCP connections. It measures connection establishment times and provides detailed statistics.

## Features

- 🚀 Pure Python implementation, no external dependencies
- 📦 Lightweight and easy to use
- 🌐 Supports both IPv4 and IPv6
- 🔄 Supports continuous ping mode

## Installation

You can install `tcpp` directly from PyPI:

```bash
pip install tcpp
```

## Usage

### Command Line

Basic usage:
```bash
tcpp bing.com
```

With custom port and count:
```bash
tcpp bing.com 443 -c 10
```

All available options:
```bash
tcpp [-h] [-c COUNT] [-t TIMEOUT] [-4] [-6] [-v] host [port]

positional arguments:
  host                  Target hostname or IP address to ping
  port                  Target port number (default: 80)

options:
  -h, --help           Show this help message and exit
  -c, --count COUNT    Number of pings to send (default: 10, 0 = infinite)
  -t, --timeout SEC    Connection timeout in seconds (default: 1.0)
  -4                   Force using IPv4
  -6                   Force using IPv6
  -v, --version        Show program version
```

### Python API

You can also use tcpp as a Python library:

```python
import tcpp

# Basic usage
stats = tcpp.ping("bing.com", port=80)

# Access statistics
print(f"Success rate: {stats.success_rate}%")
print(f"Average time: {stats.avg_time:.2f}ms")
```

## bing Output

```
TCPING bing.com (13.107.21.200)[:80]
Connected to bing.com[:80]: seq=1 time=61.64 ms
Connected to bing.com[:80]: seq=2 time=61.39 ms
Connected to bing.com[:80]: seq=3 time=59.84 ms
Connected to bing.com[:80]: seq=4 time=59.29 ms

--- bing.com[:80] tcping statistics ---
4 connections, 4 successed, 0 failed, 100.00% success rate
min = 59.29ms, max = 61.64ms, avg = 60.54ms, med = 60.62ms, mdev = 1.00ms
```

## Requirements

- Python 3.7 or higher
- No external dependencies

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
streamlit-clipboard 0.0.6
Streamlit component that support copy and paste clipboard
Requires Python: >=3.10

# streamlit-clipboard

Streamlit component that support copy and paste clipboard

## Installation instructions

```sh
pip install streamlit-clipboard
```

## Usage instructions

```python
import streamlit as st
from clipboard_component import copy_component, paste_component

st.subheader("文本内容复制到剪贴板示例")
user_input = st.text_area(
    "输入要复制的内容:",
    value="在这里输入文本，然后点击下方按钮复制到剪贴板",
    height=200
)
copy_component("复制按钮", content=user_input)

st.subheader("剪贴板读取组件")
clipboard_content = paste_component("读取剪贴板")
if clipboard_content:
    st.markdown("### 当前剪贴板内容:")
    st.code(clipboard_content)
else:
    st.markdown("点击按钮读取剪贴板内容")
```
fastapi-app-plus 0.1.1
The extended function library of fastapi can be read README.md
Requires Python: >=3.8

# FastAPI AppExt

---

**Source Code**: <a href="https://github.com/hgz1989/fastapi-app-plus" target="_blank">https://github.com/hgz1989/fastapi-app-plus</a>

---

Installation
------------

``pip install fastapi-app-plus``


Hello World Example
-------------------

.. code:: python

    from fastapi import FastAPI
    from fastapi-app-plus import app_plus

    app = FastAPI(title='Hello World Example')
    app_plus(app,cors=True)

    @app.get('/')
    async def index():
        return {'hello': 'world'}

    if __name__ == '__main__':
        import uvicorn

        uvicorn.run(app)
setu_mcp_kyc 0.1.1
A MCP server for Setu KYC APIs providing PAN, GST, and name matching verification
Requires Python: >=3.12
Keywords: gst, mcp, pan, setu, setu_mcp_kyc, verification

# Setu KYC MCP server

A MCP server project for Setu KYC APIs that provides verification tools for PAN, GST, and name matching.

## Components


### Tools

The server implements three verification tools using Setu's Digital Gateway APIs:

1. **verify-pan**: Verify PAN card details
   - Required inputs: 
     - `pan`: PAN card number
     - `reason`: Purpose of verification

2. **verify-gst**: Verify GST registration
   - Required input:
     - `gstin`: GST identification number

3. **match-names**: Compare two names for similarity
   - Required inputs:
     - `name1`: First name to compare
     - `name2`: Second name to compare
   - Returns both optimistic and pessimistic match results with percentages

## Configuration

The server requires the following environment variables:

```bash
# Setu Digital Gateway Credentials
SETU_DG_CLIENT_ID=your-client-id
SETU_DG_CLIENT_SECRET=your-client-secret

# Product Instance IDs for different services
SETU_DG_PAN_PRODUCT_INSTANCE_ID=your-pan-instance-id
SETU_DG_GST_PRODUCT_INSTANCE_ID=your-gst-instance-id
SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID=your-name-match-instance-id
```

## Quickstart

### Install

```bash
pip install setu_mcp_kyc
```

#### Claude Desktop Configuration

On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`

<details>
  <summary>Development Configuration</summary>
  
  ```json
  "mcpServers": {
    "setu_mcp_kyc": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/setu_mcp_kyc",
        "run",
        "setu_mcp_kyc"
      ],
      "env": {
        "SETU_DG_CLIENT_ID": "your-client-id",
        "SETU_DG_CLIENT_SECRET": "your-client-secret",
        "SETU_DG_PAN_PRODUCT_INSTANCE_ID": "your-pan-instance-id",
        "SETU_DG_GST_PRODUCT_INSTANCE_ID": "your-gst-instance-id",
        "SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID": "your-name-match-instance-id"
      }
    }
  }
  ```
</details>

<details>
  <summary>Production Configuration</summary>
  
  ```json
  "mcpServers": {
    "setu_mcp_kyc": {
      "command": "uvx",
      "args": [
        "setu_mcp_kyc"
      ],
      "env": {
        "SETU_DG_CLIENT_ID": "your-client-id",
        "SETU_DG_CLIENT_SECRET": "your-client-secret",
        "SETU_DG_PAN_PRODUCT_INSTANCE_ID": "your-pan-instance-id",
        "SETU_DG_GST_PRODUCT_INSTANCE_ID": "your-gst-instance-id",
        "SETU_DG_NAME_MATCH_PRODUCT_INSTANCE_ID": "your-name-match-instance-id"
      }
    }
  }
  ```
</details>

## Development

### Building and Publishing

1. Sync dependencies:
```bash
uv sync
```

2. Build package:
```bash
uv build
```

3. Publish to PyPI:
```bash
uv publish
```

### Debugging

For debugging, use the MCP Inspector:

```bash
npx @modelcontextprotocol/inspector uv --directory /path/to/setu_mcp_kyc run setu_mcp_kyc
```

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
nanomock 0.0.25
Create local dockerized nano-currency networks

# nanomock

A one click [nano-currency](https://nano.org) block-lattice environment on your local computer.
This project aims to easily spin up an integration environment with multiple nano nodes.
The local network is highly customizable.
All configuration is done inside the config file : `nanonet/nl_config.toml`

## prerequisites 

* python3.8+
* docker
* docker-compose 2

## Quickstart :

#### Install the library :

To install the library you can
- clone the respository and run `pip3 install .`
- or run `pip3 install nanomock`to download the latest version from PyPi

This gives you access to `nanomock {command}` command which will use `your_current_dir`as its entry point.

#### Spin up a network :

| Action            | Code                                              | Description  
| :----------       |:---------------------------------------------     | -----
| create            |`$ nanomock create`                                  | Create folders and node config 
| start             |`$ nanomock start`                                   | Start nodes (optional `--nodes`)
| init              |`$ nanomock init`                                    | Create Epochs Canary Burn and Vote weight distribution 
--------
#### Manage the network network :
| Action            | Code                                              | Description  
| :----------       |:---------------------------------------------     | -----
| status            |`$ nanomock status`                                  | Get status and block count for each node
| stop              |`$ nanomock stop`                                    | Stop nodes (optional `--nodes`)
| restart           |`$ nanomock restart`                                 | Restart all nodes  
| reset             |`$ nanomock reset`                                   | Delete data.ldb and wallets.ldb
| down              |`$ nanomock down`                                    | Remove all nodes
| destroy           |`$ nanomock destroy`                                 | Remove all nodes and data
| update            |`$ nanomock update `                                 | Pull and build latest containers

####  Query nodes :

Each node can be queried via RPC (see the [official documentation](https://docs.nano.org/commands/rpc-protocol/) )
| Action            | Code                                              | Description  
| :----------       |:---------------------------------------------     | -----
| rpc               |`$ nanomock rpc --payload '{"action" : "any_rpc"}'`  | Use nano_rpc commands (optional `--nodes`)


#### Configure the network :

`nl_config.toml` define all aspects of the network : genesis account, burn_amount, number of nodes, versions,...
saturdays 0.0.1a1
The landing page for the DRA Saturday Sessions
Requires Python: >=3.10

# The Saturday Sessions

Welcome to the The Saturday Sessions, a collection of tutorials and resources designed to
provide exposure to equity-seeking students as part of the Open Seeds Cohort and Digital Research Alliance EDIA
Champions Program.

This guide is intended to lower the barrier to entry so that you can submit your first working jobs
in a variety of fields with minimal tweaks.

## 🌟 Highlights 🌟

This guide has several valuable resources to help you get up to speed:

- **Workflows**: an overview of frequent workflows used with links to relevant software pages

- **Software Pages**: introductions to the various tools referenced in this documentation

- **Tutorials**: walkthroughs for several common workflows/softwares

- **Sample Scripts**: example Python and SLURM scripts

- **Tips**: common issues and their resolutions/work-arounds

## Prerequisites

- **Set up your local machine**: this guide assumes that your local machine
  is setup up with the necessary software already installed (e.g., Hatch, Python, etc.)

- **Set up your cluster account**: some of the tutorials in the guide
  require that you connect to the remote clusters provided by the Alliance. For these
  tutorials, you will need a [valid CCDB account](docs/sources/tutorials/ccdb.md) and to
  set up your remote cluster environment.

## :rocket: Quickstart :rocket:

1. Create a virtual environment in the top-level directory of this project's folder
(in the same directory as this README).

    ```bash
    python3 -m venv .venv
    ```

2. Activate your environment.

    ```bash
    source .venv/bin/activate
    ```

3. Install the required Python dependencies.

    ```bash
    python3 -m pip install .
    ```

4. Pick a tutorial!

## ⚒ Build Webpage ⚒

To view the complete guide as a website, you need to install [mkdocs][mkdocs],
the [Material][material] theme, and [mdx_truly_sane_lists][mdx-truly-sane-lists]
These packages are grouped into the "docs" optional dependency group and can be
installed via:

```bash
pip install '.[docs]'
```

Then run:

```bash
mkdocs build && mkdocs serve
```

Finally, copy the IP address printed to the command line

```bash
...
INFO    -  [09:50:28] Serving on http://127.0.0.1:8000/
...
```

and paste it into your browser!

[mkdocs]: https://www.mkdocs.org/user-guide/
[material]: https://github.com/squidfunk/mkdocs-material
[mdx-truly-sane-lists]: https://github.com/radude/mdx_truly_sane_lists