semvec/pypi-packages huggingface dataset:
soundcloud-api-client 0.1.0
Soundcloud API v2 client
Requires Python: >=3.9,<4.0

# soundcloud-api-client

[![tests](https://github.com/mazard-records/soundcloud-api-client/actions/workflows/tests.yaml/badge.svg?branch=main)](https://github.com/mazard-records/soundcloud-api-client/actions/workflows/tests.yaml)

> To be documented
AskJSON 0.1.2
A library to ask questions to JSON data and get Python code in response.
Requires Python: >=3.6
Keywords: json query ai openai python code generation


### AskJSON

As the name suggests, `AskJSON` helps you fetch answers or data from your json using natural language. It uses OpenAI API.

#### How to Use AskJSON:

1. Install the package using pip:

   ```
   pip install AskJSON
   ```
2. Set your OpenAI API key as an environment variable:

   ```
   export OPENAI_API_KEY='your_api_key_here'
   ```
3. In your Python script, import `ask_json` and call it with your JSON and query:

   ```python
   from askjson import ask_json

   my_json_data = {...}  # Your JSON data here
   my_query = "How many items are in the list?"

   result_code = ask_json(my_json_data, my_query)
   print(result_code)
   ```

#### Todo:

- have support for codellama
samp-query 0.6.0
A SAMP query/RCON client for Python using trio.
Requires Python: >=3.10

samp-query
==========

[![CI](https://github.com/Cheaterman/samp-query/actions/workflows/ci.yml/badge.svg)](https://github.com/Cheaterman/samp-query/actions/workflows/ci.yml)

![samp-query logo](https://cheaterman.github.io/samp-query/_static/favicon.ico)

samp-query is a Python library for interacting with SA-MP/open.mp servers using the query protocol.
It provides functionality to query server information, retrieve player list, show rules, and execute remote console (RCON) commands.

Installation
------------

To install the library, you can use `pip`:

```sh
pip install samp-query
```

Features
--------

* Connect to a game server using IP address and port.
* Retrieve server information including name, player count, maximum players, gamemode, and language.
* Get a list of players currently on the server with their name and score.
* Fetch a list of rules and their values set on the server.
* Execute RCON commands on the server (requires RCON password).

Usage
-----

Here's a basic example of how to use the library:

```py
import trio
from samp_query import Client


async def main():
    client = Client(
        ip='127.0.0.1',
        port=7777,
        rcon_password=None,  # Your rcon password as string
    )

    info = await client.info()
    print(f'Server Name: {info.name}')
    print(f'Player Count: {info.players}/{info.max_players}')

    player_list = await client.players()
    print('Players:')

    for player in player_list.players:
        print(f'- {player.name} (Score: {player.score})')

    rule_list = await client.rules()
    print('Rules:')

    for rule in rule_list.rules:
        print(f'- {rule.name}: {rule.value}')

    if client.rcon_password:
        response = await client.rcon('echo Hello, server!')
        print(f'RCON Response: {response}')


trio.run(main)
```

Make sure to replace `'127.0.0.1'` and `7777` with the actual IP address and port of the game server you want to connect to. If the server has RCON enabled, provide a password in the `rcon_password` attribute of the `samp_query.Client` instance (otherwise keep it None).

Documentation
-------------

For more information, you can [read the documentation](https://cheaterman.github.io/samp-query/).
tencent-sdk-python-ext 0.1.0
腾讯云Python Sdk 插件
Requires Python: >=3.10,<4.0

# tencent-sdk-python-ext
腾讯云Python Sdk 插件，包含以下功能的的扩展

- [凭证管理](#凭证管理)

安装方式
```
pip install tencent-sdk-python-ext
```

## 凭证管理

### 通过本地文件配置Profile的方式配置多种认证方式
- 配置多个ak/sk
- 通过role的方式，配置多个role，role的载体包含以下几种方式
  - ak/sk，载体为ak/sk
  - cvm_metadata，载体为虚机角色
  - lambda，载体为云函数的角色

本地配置的默认路径为~/.tencentcloud/credentials, 详情请[查看配置文件demo](./example/credentials)（重要）

```
from tcc_ext.credentials import ProfileCredential

credential = ProfileCredential("test")

```
### 云函数角色权限认证
```
from tcc_ext.credentials import LambdaCredential

credential = LambdaCredential()
```