semvec/pypi-packages huggingface dataset:
iruff 0.1.0
A small wrapper CLI for ruff that sorts imports and formats Python code in one command.
Requires Python: >=3.12

# iruff

A small wrapper CLI for [Ruff](https://github.com/astral-sh/ruff) that sorts imports and formats Python code in one command.


## What iruff does

Running:

```bash
iruff <PATH>
````

is equivalent to:

```bash
ruff check --select I --fix <PATH>
ruff format <PATH>
```

That’s it.


## Configuration

`iruff` uses Ruff’s configuration directly.

All settings are read from:

* `pyproject.toml`
* `ruff.toml`
* `.ruff.toml`

Configuration discovery behaves exactly the same as `ruff`.


## Installation and Usage

```bash
uvx iruff .
uvx iruff src/
uvx iruff file.py
```


## Scope

`iruff` intentionally does only two things:

* Sort imports (`I` rules)
* Format code

No extra options. No new config. No behavior changes.


## License

MIT
justoneapi 1.16.0
Official Python SDK for Just One API

[English](README.md) | [简体中文](README.zh-CN.md)
# Just One API - Python SDK

Official Python SDK for accessing [Just One API](https://justoneapi.com) — a unified data service platform offering structured data from Social, E-commerce platforms such as Xiaohongshu, Taobao, Douyin, Kuaishou, Bilibili, and Weibo.

This SDK simplifies API integration and request signing, allowing developers to easily retrieve platform-specific data with minimal setup.

---

## 🚀 Installation

Install via PyPI:

```bash
pip install justoneapi
```

---

## 🛠 Quick Start

```python
from justoneapi.client import JustOneAPIClient

# By default, the client uses the "cn" (Mainland China) environment.
client = JustOneAPIClient(token="your_token")
# If you are located outside Mainland China and experience slow responses,
# you can switch to the "global" environment for better performance:
# client = JustOneAPIClient(token="your_token", env="global")

# Example: Get Douyin Video detail
result, data, message = client.douyin.get_video_detail_v2(video_id="7428906452091145483")
print(result)
print(data)
print(message)

# Example: Douyin Video Search
result, data, message, has_next_page = client.douyin.search_video_v4(keyword="deepseek", sort_type="_0", publish_time="_0", duration="_0", page=1)
print(result)
print(data)
print(message)
print(has_next_page)
```

### 📦 Return Value Description

Each API method returns one or more of the following values:

| Variable         | Type     | Description |
|------------------|----------|-------------|
| `result`         | `bool`   | Whether the request was successful. `True` means success, `False` means failure. |
| `data`           | `dict` / `list` | The actual data returned from the API. Structure varies by endpoint. |
| `message`        | `str`    | Message from the server. Contains error info when request fails. |
| `has_next_page`  | `bool`   | Present in paginated APIs. Indicates whether more data is available. |

---

## 🔐 Authentication

All API requests require a valid API token.  
👉 [Register](https://user.justoneapi.com/sign-up)

---

## 📚 Documentation

👉 Full API docs: [API Document](https://doc.justoneapi.com)

Includes:
- Request parameters
- Response fields
- Error codes

---

## 🏠 Official Website

👉 [Home Page](https://justoneapi.com)

Learn more about the project, data sources, and commercial integration opportunities.

---

## 📬 Contact Us

If you have any questions, feedback, or partnership inquiries:

👉 [Contact](https://justoneapi.com/contact)

---

## 🪪 License

This project is licensed under the MIT License.  
See the [LICENSE](./LICENSE) file for details.
duckling-chinese 1.1.8
Ducking Chinese
Requires Python: >=3.6
Keywords: duckling, chinese, nlp

# 中文 Duckling <img src="https://raw.githubusercontent.com/leovan/duckling-chinese/main/docs/images/logo.png" align="right" alt="logo" height="100" style="border: none; float: right; height: 100px;" />

![Version](https://img.shields.io/pypi/v/duckling-chinese)
![Python Versions](https://img.shields.io/pypi/pyversions/duckling-chinese)
![Duckling Core](https://img.shields.io/badge/Duckling_Core-1.6.4.4-blue)
![License](https://img.shields.io/pypi/l/duckling-chinese)
![Downloads](https://img.shields.io/pypi/dm/duckling-chinese)

---

## 简介

中文 Duckling (duckling-chinese) 是基于 Jpype1 的 [duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese) 的 Python 封装版本，提供例如时间、日期、数字等中文解析服务。

Haskell 原始版本：[Duckling](https://github.com/facebook/duckling)

Scala 中文版本：[duckling-fork-chinese](https://github.com/XiaoMi/MiNLP/tree/main/duckling-fork-chinese)

## 使用

中文 Duckling 利用 Jpype1 调用 duckling-fork-chinese，需要系统正确安装配置 JVM，再通过 `pip` 安装最新版本。

```
pip install duckling-chinese
```

手册：<https://duckling.leovan.tech>。

## 许可

The MIT License (MIT)

版权所有 &copy; 2023-2026，<a href="https://leovan.me" target="_blank">范叶亮 | Leo Van</a>
ip2vulns 1.1.0
An IP to vulnerability utility
Requires Python: >=3.8

# ip2vulns

An IP to vulnerabilities utility.
This tool is able to retrieve information related to given IP(s).
This tool takes advantage of [Shodan InternetDB API](https://internetdb.shodan.io/).

For CVE information, this tool retrieve CVE information from a github repo [nvd-json-data-feed](https://github.com/fkie-cad/nvd-json-data-feeds/)

# Disclaimer

**By using this, you also agree to the term of use of the APIs used.**

- [Shodan InternetDB - Term of Services](https://static.shodan.io/legal/terms.html)

# Installation

## Install with `pip`

Using the following pip command to install: `pip install ip2vulns`

# Usage

```text
usage: ip2vulns [-h] [-i INPUT [INPUT ...]] [--cvedict CVEDICT] [-s CVSS] [-o OUT] [--nostdout] [-v]

IP 2 vulnerability tools

options:
  -h, --help            show this help message and exit
  -i INPUT [INPUT ...], --input INPUT [INPUT ...]
                        Query information from https://internetdb.shodan.io/
                        support multiple ip and cidr, separate using space, e.g. -i 8.8.8.8 51.83.59.99 192.168.0.0/24
  --cvedict CVEDICT     Config CVE database integrate with go-cvedict, checkout at: https://github.com/BoxHezi/go-cvedict
  -s CVSS, --cvss CVSS  Enable cvss score filter, required a number
                        If 0 is given, targets found with no CVE information will be filtered out. And all CVEs will be checked.
                        When 0 is given, the process can be slow if huge amount of CVEs are founded.Not Recommend to pass 0 in.
  -o OUT, --out OUT     Define output file, default print to stdout
                        Available option: stdout (default), csv, json
                        For csv: please specify filename
                        For json: a directory out_json will be created
  --nostdout            Disable print result to stdout
                        IP with unsuccessful querying (i.e. Exception happened) will still be printed
  -v, --version         Print current version
```

## Output to file

When output to csv file, please specify the filename.
For example, `ip2vulns -i 1.1.1.1 -o 1.1.1.1.csv`, the output file will be `1.1.1.1.csv`.

When output to json file, a directory `out_json` will be created. Results will be stored using `<ip>.json`.
For example, `ip2vulns -i 1.1.1.1 -o json`, then a directory `out_json` will be created. And the output filename will be `1.1.1.1.json`.

To disable print to stdout, apply `--disable-stdout` in command line argument

## Example

- `ip2vulns -i <ip address> <cidr> <input file>`
- `ip2vulns -i <ip address> <cidr> <input file> -s 7`
- `echo "<ip address>" | ip2vulns`
- `echo "<ip address>" | ip2vulns -s 7`
- `cat <input file> | ip2vulns`

## Use `ip2vulns` in Python script

```python
from ip2vulns import ip2vulns_scan

# s => success list
# f => failure list
s, f = ip2vulns_scan("[<ip address>]")  # ip address need to be passed in as a LIST
```