semvec/pypi-packages huggingface dataset:
bluechi 1.2.1
Python bindings for BlueChi's D-Bus API
Requires Python: >=3.9
Keywords: bluechi, python, D-Bus, systemd

# BlueChi Python bindings

The BlueChi Python bindings provides a Python module to interact with the D-Bus API of BlueChi. It consists of the
following subpackages:

- `api`: auto-generated code based the BlueChi D-BUS API description
- `ext`: custom written code to simplify common tasks

## Installation

Using `pip3`:

```sh
# from PyPi
pip3 install bluechi
# or from cloned git repo
pip3 install --force dist/bluechi-<version>-py3-none-any.whl
```

## Examples

Listing all connected nodes and their current state:

```python
from bluechi.api import Controller

for node in Controller().list_nodes():
    # node[name, obj_path, status]
    print(f"Node: {node[0]}, State: {node[3]}")
```

Starting and stopping of a systemd unit on a specific node using the `Unit` class from the `ext` subpackage to
implicitly wait for the job to finish:

```python
from bluechi.ext import Unit

hu = Unit("my-node-name")

result = hu.start_unit("chronyd.service")
print(result)

result = hu.stop_unit("chronyd.service")
print(result)
```
flutter-widget-mcp-server 0.1.16
Flutter Widget MCP Server for YL AI-enhanced Flutter component library
Requires Python: >=3.7

# Flutter Widget MCP Server

Flutter Widget MCP Server 是一个用于 Flutter Widget 组件库的 Model Context Protocol (MCP) 服务器。它提供了一个强大的 API 来查询和搜索 Flutter 组件的详细信息。

## 特性

- 组件查询：获取特定组件的详细信息
- 组件列表：获取所有可用组件的列表
- 组件搜索：根据关键词搜索组件
- 支持部分匹配和不区分大小写的查询

## PYPI安装

推荐使用最新版本的pip来安装Flutter Widget MCP Server。

> https://pypi.org/project/flutter-widget-mcp-server/

首先，更新pip：

```
python -m pip install --upgrade pip
```

然后，使用pip安装Flutter Widget MCP Server：

```
pip install flutter-widget-mcp-server
```


## 源码安装

1. 确保你已经安装了 Python 3.7+。
2. 安装依赖：

```
pip install -r requirements.txt
```


## 生成组件数据

在运行服务器之前，需要先生成组件数据：

> 定位到 mcp/flutter_widget_mcp_server 目录

```
 python -m flutter_widget_mcp_server.gen_components_json
```

## 运行服务器

> 定位到 mcp/flutter_widget_mcp_server 目录

```
python -m flutter_widget_mcp_server.main
```

服务器将在 http://0.0.0.0:${port} 上运行。


## 注意事项

- 组件数据存储在 `mcp/flutter_widget_mcp_server/flutter_widget_mcp_server/components.json` 文件中。
- 如果修改了组件文档，需要重新运行生成脚本来更新组件数据。
swanculler 1.0.6
Culler for JupyterHub
Requires Python: >=3.8
Keywords: CERN, JupyterHub, SWAN

# SwanCuller

JupyterHub service that checks and cleans user sessions.
It also calls bash scripts to check/renew kerberos tokens for the users, if their sessions still exist, or remove them if not in use.

## Requirements

This module requires and installs Tornado.

## Installation

Install the package:

```bash
pip install swanculler
```

## Usage

Call the binary and specify configuration parameters:
```bash
swanculler --cull_every=600
```

Configuration parameters:
* url: The JupyterHub API URL (default=$JUPYTERHUB_API_URL)
* timeout: The idle timeout (in seconds) (default=600)
* cull_every: The interval (in seconds) for checking for idle servers to cull (default=0)
* max_age: The maximum age (in seconds) of servers that should be culled even if they are active (default=0)
* cull_users: Cull users in addition to servers (default=False)
* concurrency: Limit the number of concurrent requests made to the Hub (default=10)
* hooks_dir: Path to the directory for the krb tickets script (check_ticket.sh) (default="/srv/jupyterhub/culler)
* disable_hooks: Whether to  call the krb tickets scripts or not (default=False)
ft-package-jamrabhi 0.0.1
A sample test package
Requires Python: >=3.10
Keywords: ft_package, 42


# ft_package

A small demonstration package created as part of the 42 Python module.  
It provides a simple utility function: **`count_in_list`**, which counts how many times a given value appears in a list.

----------

## 📦 Installation

After building your package, you can install it using:

`pip install ./dist/ft_package-0.0.1.tar.gz` 

or

`pip install ./dist/ft_package-0.0.1-py3-none-any.whl` 

Once installed, it will appear in:

`pip list
pip show -v ft_package` 

----------

## 🧰 Usage

Example script using the package:

```bash
from ft_package import count_in_list
```
```python
print(count_in_list(["toto", "tata", "toto"], "toto")) # output: 2
print(count_in_list(["toto", "tata", "toto"], "tutu")) # output: 0
```
----------

## 📝 Functions

### `count_in_list(lst: list, value) -> int`

Counts the number of occurrences of `value` inside the list `lst`.

**Parameters**

-   `lst` — a list of elements
    
-   `value` — the element to count
    

**Returns**

-   An integer representing how many times `value` appears in `lst`
    

----------

## 📄 Project structure

```text
ft_package/
	__init__.py
	count_in_list.py

pyproject.toml
README.md
LICENSE
``` 

----------

## 👤 Author

-   **Name:** jamrabhi
    
-   **Email:** jamrabhi@student.42.fr
    
-   **GitHub:** [https://github.com/jamrabhi/](https://github.com/jamrabhi/)
    

----------

## 📜 License

This project is licensed under the MIT License.  
See the `LICENSE` file for more details.
django-npm-dev 0.3.0
django management command to launch npm run dev and manage.py runserver in one shot
Requires Python: >=3.10

# django_npm_dev

When you're using a tool like [vite](https://vite.dev), [webpack](https://webpack.js.org), or even just [TailwindCSS and PostCSS](https://tailwindcss.com/docs/installation/using-postcss) to package frontend assets that require a build step with your Django site, you frequently need to start a separate development server using `npm run dev` whenever you're using the Django development server to work locally.

`django_npm_dev` provides a Django management command that starts that npm dev server in a separate thread and then starts Django's development server. Stopping Django's development server in any of the usual ways will also stop the npm dev script.

Frequently, I'm happy to just use a [bash script like this one](https://github.com/saaspegasus/django-vite-tailwind-starter/blob/main/scripts/dev.sh). When I need to hand a project to someone who works on Windows, though, that becomes a challenge. I also find that IDEs (and especially their built-in debuggers) work more smoothly with Django management commands than they do with shell scripts, in my experience.

## Installation and Usage

Add `django-npm-dev` to your project using `pip` or your favorite package management tool.

```sh
pip install django-npm-dev
```

```sh
uv add django-npm-dev
```

Then add `django_npm_dev` to your `INSTALLED_APPS` in your site's `settings.py`

```python
INSTALLED_APPS = [
    ...,
    'django_npm_dev',
    ...,
]
```

Now, instead of running `npm run dev` followed by `python manage.py runserver` to start your local development server, just run `python manage.py dev runserver`.

## Tips

If you're using Vite, and you make changes to django templates in addition to assets built by Vite, you should use install [`django-browser-reload`](https://github.com/adamchainz/django-browser-reload) so that django template changes trigger a reload as well as changes to Vite-managed assets.

---

If NPM isn't on your path, specify the path to your NPM command in settings.py:

```python
NPM_BIN_PATH=/opt/local/bin/npm
```

## Credits

Reading Cory Zue's [article about using Vite with Django](https://www.saaspegasus.com/guides/modern-javascript-for-django-developers/integrating-javascript-pipeline-vite/) and his comment when I suggested that this might fit with [the starter he published as a companion](https://github.com/saaspegasus/django-vite-tailwind-starter) made me think it belonged in its own package.

The NPM wrapper is an adapted version of the one [from django-tailwind](https://github.com/timonweb/django-tailwind).

## License

All original code in this repository is copyright 2025 Geoff Beier <geoff@tuxpup.com>. It's offered under the same [MIT LICENSE](LICENSE) as the NPM wrapper that I adapted from django-tailwind. Any other code distributed with this repository remains under copyright by its authors, and is used under their respective licenses.