semvec/pypi-packages huggingface dataset:
bdo-empire 0.5.5
Worker empire optimizer for BDO using HiGHS mip solver.
Requires Python: >=3.12

# bdo-empire

## About

Given a contribution point limit and price list this program will find the
optimum allocation of the points to maximize a Worker Node Empire's value.

It
  - generates a json file to import into [Workerman][workerman]
  - uses workers of level 40.
  - uses workers with optimum skills learned.
  - assumes all drops are sent to storage with zero cost (Calpheon).

and, when specified, it
  - accounts for workshop _lodging cost_ but not profits or the workshop itself.
  - accounts for grinding node connections.
  - extends _lodging and worker nodes_ from a base empire exported from Workerman.

It does not
  - account for CP spent outside of the Node Empire.

This program uses the HiGHS High Performance Optimization Software to solve
the MIP using branch and cut. The parameters chosen guarantee the result is
within 0.01% of the optimum value but in practice it is optimum for all test
cases used during the development and testing of the model.

**NOTE:**  Every change in input or options can alter the runtime! There is no
real average but empirically budgets of ~350 or ~600 take the longest and all
of the bench cases for v0.5.0 complete in < 30 minutes when testing every
increment of 25 from 50 to 625. The vast majority of those completed nearer to
10 minutes or less. Good luck, be patient, and if needed use the 'stop'
button to use the best solution found so far.


## Installation

Using pipx: `pipx install bdo-empire`  
Using pip: `pip install bdo-empire`

## Usage

**Requirements**
  - python >= 3.12
  - an exported price list* from [Workerman settings page][settings].
  - optional; an exported modifiers list from [Workerman modifiers page][modifiers]
    (click `▶Advanced`).
  - optional; an exported 'base' empire from the [Workerman][workerman] page.

\* Use the 'reload' button on workerman's setting page prior to exporting.

**Start the program**

Installed using pipx: `empire-optimizer.exe`  
Installed using pip: `python -m bdo_empire.main`


Fill in the required fields, click **Optimize** and then wait.


[workerman]:https://shrddr.github.io/workerman
[settings]:https://shrddr.github.io/workerman/settings
[modifiers]:https://shrddr.github.io/workerman/modifiers
[release]:https://github.com/thell/bdo-empire/releases/latest
netbox-network-jacks-plugin 0.1.4.2
NetBox plugin for network-jacks.
Requires Python: >=3.10.0

# NetBox network-jacks Plugin

NetBox plugin for network-jacks.


* Free software: Apache-2.0
* Documentation: https://wannagofast83.github.io/netbox-network-jacks-plugin/


## Features

The features the plugin provides should be listed here.

## Compatibility

| NetBox Version | Plugin Version |
|----------------|----------------|
|     4.0        |      0.1.0     |

## Installing

For adding to a NetBox Docker setup see
[the general instructions for using netbox-docker with plugins](https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins).

While this is still in development and not yet on pypi you can install with pip:

```bash
pip install git+https://github.com/wannagofast83/netbox-network-jacks-plugin
```

or by adding to your `local_requirements.txt` or `plugin_requirements.txt` (netbox-docker):

```bash
git+https://github.com/wannagofast83/netbox-network-jacks-plugin
```

Enable the plugin in `/opt/netbox/netbox/netbox/configuration.py`,
 or if you use netbox-docker, your `/configuration/plugins.py` file :

```python
PLUGINS = [
    'netbox-network-jacks-plugin'
]

PLUGINS_CONFIG = {
    "netbox-network-jacks-plugin": {},
}
```

## Credits

Based on the NetBox plugin tutorial:

- [demo repository](https://github.com/netbox-community/netbox-plugin-demo)
- [tutorial](https://github.com/netbox-community/netbox-plugin-tutorial)

This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [`netbox-community/cookiecutter-netbox-plugin`](https://github.com/netbox-community/cookiecutter-netbox-plugin) project template.
bloky 0.1.2
Analyzes Python code to detect blocking operations
Requires Python: >=3.10

# Bloky

A Python tool that analyzes Python code to detect blocking operations that could impact performance in async contexts.

## Features

- **Boto3 Detection**: Identifies synchronous boto3 client calls
- **Database Session Detection**: Finds usage of synchronous Session instead of AsyncSession
- **File Operations**: Detects blocking file I/O operations
- **Network Calls**: Identifies synchronous HTTP requests
- **Recursive Scanning**: Analyzes all Python files in directories and subdirectories
- **Detailed Reporting**: Provides comprehensive reports with code snippets

## Installation

### Install from source (development)

```bash
pip install -e .
```

### Install from PyPI (when published)

```bash
pip install bloky
```

## Usage

After installation, you can use the `bloky` command from anywhere:

### Analyze a directory

```bash
bloky /path/to/your/project
```

### Analyze a single file

```bash
bloky /path/to/file.py
```

### Save report to file

```bash
bloky /path/to/project --output blocking_report.txt
```

### Alternative: Run directly without installation

```bash
python main.py /path/to/your/project
```

## Detected Issues

The analyzer detects several types of blocking operations:

1. **boto3_sync_call**: Synchronous boto3 client calls
2. **potential_boto3_sync**: Potential boto3 operations
3. **sync_session_usage**: Using Session instead of AsyncSession
4. **sync_db_operation**: Synchronous database operations
5. **sync_file_operation**: Blocking file I/O
6. **sync_network_call**: Synchronous HTTP requests

## Example Output

```console
🚨 BLOCKING OPERATIONS DETECTED
==================================================

SUMMARY:
  boto3_sync_call: 2 occurrences
  sync_session_usage: 1 occurrences

BOTO3 SYNC CALL:
------------------------------
  📍 /path/to/file.py:15
     Synchronous boto3 client call detected
     Code: scheduler = get_boto_client("scheduler")
            target = {"Arn": arn, "Input": state_input, "RoleArn": role_arn}
            schedule = scheduler.create_schedule(

SYNC SESSION USAGE:
------------------------------
  📍 /path/to/file.py:45
     Using synchronous Session instead of AsyncSession
     Code: def playbook_list_get(
            self,
            request: Request,
            satori_db: Session,
```

## Examples of Detected Patterns

### Boto3 Synchronous Calls

```python
# This will be detected
scheduler = get_boto_client("scheduler")
schedule = scheduler.create_schedule(...)
```

### Database Session Issues

```python
# This will be detected - using Session instead of AsyncSession
def some_function(self, satori_db: Session):
    result = satori_db.query(Model).all()
```

### File Operations

```python
# This will be detected
with open('file.txt') as f:
    content = f.read()  # Blocking read operation
```

### Network Calls

```python
# This will be detected
import requests
response = requests.get('https://api.example.com')  # Blocking HTTP call
```
mcp-server-ws 0.1.5
A MCP server for WS tcg
Requires Python: >=3.10

version = 1
requires-python = ">=3.10"

將 config.json 添加以下內容：
```bash
        "ws": {
            "command": "uvx",
            "args": [
                "mcp-server-ws"
            ]
        },
```

接著使用llm時
只要"有請求查詢ws卡牌的意圖" 即會自動觸發本爬蟲功能