semvec/pypi-packages huggingface dataset:
snmpkit 1.2.1
High-performance SNMP toolkit for Python, powered by Rust
Requires Python: >=3.11
Keywords: snmp, agentx, network, monitoring, rust

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/darhebkf/snmpkit/refs/heads/main/docs/public/logo-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/darhebkf/snmpkit/refs/heads/main/docs/public/logo-light.svg">
    <img src="https://raw.githubusercontent.com/darhebkf/snmpkit/refs/heads/main/docs/public/logo-light.svg" alt="SNMPKIT" width="280">
  </picture>
</p>

<p align="center">
  <em>High-performance SNMP toolkit for Python, powered by Rust</em>
</p>

---

## Features

- **AgentX subagent**: Full RFC 2741 Compliance
- **Fast** - Rust core for PDU encoding and OID operations
- **Type-safe**: Full type hints throughout

## Installation

```bash
uv add snmpkit
```

## Quick Start

```python
from snmpkit.agent import Agent, Updater

class MyUpdater(Updater):
    async def update(self):
        self.set_INTEGER("1.0", 42)
        self.set_OCTETSTRING("2.0", "hello")

agent = Agent(agent_id="MyAgent")
agent.register("1.3.6.1.4.1.12345", MyUpdater(), freq=10)
agent.start_sync()  # or: await agent.start()
```

## Documentation

**[snmpkit.dev](https://snmpkit.dev)** - Full documentation, guides, and API reference

## Development

Requires [kyle](https://github.com/achmedius/kyle) task runner. Linux/macOS/Unix only.

```bash
# First time setup (installs Rust, uv, bun, maturin)
kyle setup

# Or if you have the tools already
kyle setup:deps   # Just install project dependencies

kyle dev          # Build and install in dev mode
kyle test         # Run all tests (Python + Rust)
kyle format          # Format all code (Python + Rust + TS)
kyle lint         # Lint all code
kyle docs:dev     # Start docs dev server
kyle check        # Type check and lint
```

## License

Check out the [License](LICENSE) for more information!
smev-agent-client 0.5.1
Клиент для взаимодействия с Агентом ПОДД СМЭВ
Requires Python: >=3.9

# Клиент для взаимодействия со СМЭВ3 посредством Адаптера
## Подключение
settings:

    INSTALLED_APPS = [
        'smev_agent_client',
    ]


apps:

    from django.apps import AppConfig as AppConfigBase

    class AppConfig(AppConfigBase):
    
        name = __package__
    
        def __setup_agent_client(self):
            import smev_agent_client
    
            smev_agent_client.set_config(
                smev_agent_client.configuration.Config(
                    agent_url='http://localhost:8090',
                    system_mnemonics='MNSV03',
                    timeout=1,
                    request_retries=1,
                )
            )
    
        def ready(self):
            super().ready()
            self.__setup_agent_client()

## Эмуляция
Заменить используемый интерфейс на эмулирующий запросы:

    smev_agent_client.set_config(
        ...,
        smev_agent_client.configuration.Config(
            interface=(
                'smev_agent_client.contrib.my_edu.interfaces.rest'
                '.OpenAPIInterfaceEmulation'
            )
        )
    )

## Запуск тестов
    $ tox

## API

### Передача сообщения

    from smev_agent_client.adapters import adapter
    from smev_agent_client.interfaces import OpenAPIRequest

    class Request(OpenAPIRequest):

        def get_url(self):
            return 'http://localhost:8090/MNSV03/myedu/api/edu-upload/v1/multipart/csv'
    
        def get_method(self):
            return 'post'
    
        def get_files(self) -> List[str]:
            return [
                Path('files/myedu_schools.csv').as_posix()
            ]

    result = adapter.send(Request())
iwpc 0.8.0
An implementation of the divergence framework as described here https://arxiv.org/abs/2405.06397 and much more...
Requires Python: >=3.9

# IWPC #

This package implements the methods described in the research paper https://arxiv.org/abs/2405.06397 for estimating a 
lower bound on the divergence between any two distributions, p and q, using samples from each distribution.

Install using `pip install iwpc`

Please see the package [README](https://bitbucket.org/jjhw3/divergences/src/main/) on bitbucket for more information and
some examples.
mathpacki 0.3.0
A simple Python package for numeric, set, and equation operations (number; set; equation: solve linear, add/subtract/scale equations)
Requires Python: >=3.8
Keywords: arithmetic, calculator, math, operations

# mathpacki

A lightweight Python package for numeric and set operations.

## Installation

```bash
pip install mathpacki
```

## Usage

### Modular imports

```python
from mathpacki import numbers
from mathpacki import sets
from mathpacki import equations
```

### Number operations

```python
from mathpacki import numbers

numbers.add(2, 3)        # 5
numbers.subtract(10, 4)  # 6
numbers.multiply(3, 7)   # 21
numbers.divide(15, 3)    # 5.0
numbers.power(2, 8)      # 256
numbers.modulo(17, 5)    # 2
```

Or import individual functions:

```python
from mathpacki.numbers import add, multiply
add(2, 3)    # 5
multiply(3, 7)  # 21
```

### Set operations

```python
from mathpacki import sets

a, b = {1, 2, 3}, {2, 3, 4}

sets.union(a, b)                  # {1, 2, 3, 4}
sets.intersection(a, b)           # {2, 3}
sets.difference(a, b)             # {1}
sets.symmetric_difference(a, b)   # {1, 4}
sets.is_subset({1, 2}, a)         # True
sets.is_superset(a, {1, 2})       # True
sets.is_disjoint({1, 2}, {3, 4})  # True
```

Or import individual functions:

```python
from mathpacki.sets import union, intersection
union({1, 2}, {2, 3})  # {1, 2, 3}
```

### Equation operations (linear: a*x + b = c)

Equations are represented as tuples `(a, b, c)` for **a·x + b = c**.

```python
from mathpacki import equations

# Solve a*x + b = c for x
equations.solve_linear(2, -3, 7)   # 2x - 3 = 7  ->  x = 5.0
equations.solve_linear(1, 0, 4)    # x = 4  ->  4.0

# Evaluate left-hand side at x
equations.evaluate_linear(2, -3, 5)   # 2*5 - 3 = 7.0

# Operate on equations (each eq = (a, b, c) for a*x + b = c)
eq1 = (2, 1, 5)   # 2x + 1 = 5
eq2 = (1, -1, 1)  # x - 1 = 1
equations.add_equations(eq1, eq2)      # (3, 0, 6)  ->  3x = 6
equations.subtract_equations(eq1, eq2)  # (1, 2, 4)  ->  x + 2 = 4
equations.scale_equation(eq1, 2)      # (4, 2, 10)  ->  4x + 2 = 10
```

## Requirements

- Python 3.8+

## Publishing to PyPI

1. **Create a PyPI account** at [pypi.org](https://pypi.org/account/register/).

2. **Install build tools**:
   ```bash
   pip install --upgrade build twine
   ```

3. **Update `pyproject.toml`**: Set your name, email, and project URLs (and change the package `name` if `mathpack` is already taken on PyPI).

4. **Build the package**:
   ```bash
   python -m build
   ```
   This creates `dist/` with a `.whl` and `.tar.gz` file.

5. **Upload to PyPI** (you will be prompted for your PyPI username and password or API token):
   ```bash
   python -m twine upload dist/*
   ```
   For first-time testing, use TestPyPI: `python -m twine upload --repository testpypi dist/*`

## License

MIT
SQLModel-translation 0.1.0
Translation library for SQLModel and FastAPI
Requires Python: >=3.12

# SQLModel-translation

SQLModel-translation is a translation library for [SQLModel](https://sqlmodel.tiangolo.com) and [FastAPI](https://fastapi.tiangolo.com).


This project uses [uv](https://docs.astral.sh/uv/) for package managment.

To generate the documentation run `make docs` and visit http://127.0.0.1:8000/.

For more actions see the the Makefile in this directory. Running `make` will print out all the targets with descriptions.