semvec/pypi-packages huggingface dataset:
py-rust-odbc-csv 1.0.1
Python wraper for extracting data from ODBC Source to CSV using Rust, made to be memory eficient and fast!
Requires Python: >=3.7

# RUST ODBC 2 CSV

Extracting data from ODBC Source to CSV using Rust, made to be memory eficient and fast!

```python
import os, json
from py_rust_odbc_csv import odbc_csv
```

## REQUIRED PARAMETERS

the required parameters are the ODBC connection string and the query to be executed, but you can also pass the bach size and the desired filename

```python
conn = f"Driver={{ODBC Driver NAME}};System=host;Uid={os.environ['USERNAME']};Pwd={os.environ['PASS']}"
query = "SELECT * FROM \"DB\".\"TABLE\""
```

## EXCUTION

To execute we call the odbc_csv function and pass the list of arguments:\

- 1st ODBC Connection String;
- 2nd Query String;
- 3rd Bach Size, Number of rows to load at a time (Optional);
- 4rd Required File Name, if not the csv file will be generate with a UUIDv4 name (Optional);

The result will be in JSON format (```json {success: bool, msg: str, fname: str (path)}```)

```python
res = odbc_csv([conn, query])
r = json.loads(res)
```
# BUILD FROM SOURCE
```shell
maturin build --release -i python
```
LMchain 0.2.26
A large chinese freelanguage chain tools,you can get free API from:open.bigmodel.cn
Requires Python: >=3

LMchain is a toolkit specifically adapted for chinese large model chains

Lmchain是专用为中国大陆用户提供免费大模型服务的工具包，目前免费推荐使用chatGLM。

免费用户可以在https://open.bigmodel.cn
注册并获取免费API。也可以使用lmchain中自带的免费key。

功能正在陆续添加中，用户可以在issues中发表内容，也可以与作者联系5847713@qq.com
欢迎提出您的想法和建议。

注意：lmchian随着GLM4的更新，已全新更新为新的API，老的基本GLM3版本的用户可以继续使用(版本最高为0.1.78)。
-----------------------------------------------------------------------------
使用方法：```pip install lmchain```
-----------------------------------------------------------------------------

>1、从一个简单的文本问答如下
```
from lmchain.agents import AgentZhipuAI
llm = AgentZhipuAI()

response = llm("你好")
print(response)

response = llm("南京是哪里的省会")
print(response)

response = llm("那里有什么好玩的地方")
print(response)
```
typecastai 0.1.3
typecast.ai api
Requires Python: <4.0,>=3.8
Keywords: typecastai, ssfm, typecast, ai, tts, speech, text, generative

# typecastai-python
* [Typecast.ai](https://typecast.ai)
* [Get API Token](https://biz.typecast.ai)
* [Learn about Typecast SSFM(Speech Synthesis Foundation Model) v1](https://typecast.ai/learn/typecast-ssfm-text-to-speech/)

## Basic example

```python
from typecastai import Typecast

cli = Typecast(api_token='your token here!!')
audio = cli.generate_speech('A fence cuts through the corner lot.')

with open('out.wav', 'wb') as f:
    f.write(audio)
```

### Specify output format: mp3

```python
from typecastai import Typecast

cli = Typecast(api_token='your token here!!')
audio = cli.generate_speech('A fence cuts through the corner lot.', filetype='mp3')

with open('out.mp3', 'wb') as f:
    f.write(audio)
```

## More documentations
* [API Documentation](https://docs.typecast.ai)
* [More demo](https://github.com/neosapience/typecast-api-demo)