semvec/pypi-packages huggingface dataset:
pybitable 0.1.1
A Python wrapper around Lark bitable to sql.
Requires Python: >=3.10

# pybitable

```
from pybitable import Connection, ConnectionPool

db_url = 'bitable+pybitable://<app_id>:<app_secret>@open.feishu.cn/<app_token>'

# 支持使用personal_base_token访问多维表格，这里建议使用后面一种写法，sqlalchemy打印日志的时候，会将personal_base_token当成密码显示星号
db_url = 'bitable+pybitable://<personal_base_token>@open.feishu.cn/<app_token>'
db_url = 'bitable+pybitable://:<personal_base_token>@open.feishu.cn/<app_token>'

conn_pool = ConnectionPool(
    maxsize=10,
    connection_factory=lambda: Connection(db_url),
)

with conn_pool.connect() as connection:
    print('connect', connection)
    cursor = connection.cursor()
    result = cursor.execute('select * from tbl2w2QJgo6YCthm')
    cursor.close()
```

## cli
```
pip install pybitable[cli]

pybitable -h base-api.feishu.cn -p <personal_base_token> <app_token>
pybitable -h open.feishu.cn -u <app_id> -p <app_secret> <app_token>
pybitable -h open.feishu.cn -u <app_id> -p <app_secret> <app_token>
pybitable bitable+pybitable://<app_id>:<app_secret>@open.feishu.cn/<app_token>
pybitable bitable+pybitable://:<personal_base_token>@open.feishu.cn/<app_token>
```
![image](https://github.com/lloydzhou/pybitable/assets/1826685/06a2aa06-6e9f-4ba8-9c9c-c738e7d891e5)


## using sqlalchemy

```
pip install pybitable[sqlalchemy]

from sqlalchemy import create_engine, Column, String, Text, text
from sqlalchemy.orm import sessionmaker, declarative_base

engine = create_engine(db_url, echo=False)
Session = sessionmaker(engine)

with engine.connect() as conn:
    result = conn.execute(
        text("select `文本` as a from tblID0QbOnjktwdC")
    )
    for row in result:
        print(f"{row}")

Base = declarative_base()

class BITable1(Base):
    __tablename__ = 'tblID0QbOnjktwdC'
    record_id = Column(String(32), primary_key=True)
    文本 = Column(Text, nullable=True, server_default=text("''"), comment="文本")
    单选 = Column(String(32), nullable=True, server_default=text("''"), comment="单选")
    多选 = Column(Text, nullable=True, server_default=text("''"), comment="多选")

with Session.begin() as session:
    for item in session.query(BITable1).all():
        print('record_id: ', item.record_id, '文本: ', item.文本, '单选', item.单选, '多选', item.多选)

print('engine', engine, BITable1)
```

![image](https://github.com/lloydzhou/pybitable/assets/1826685/c12009c4-0ea0-4a30-babb-97a6604142e7)

![image](https://github.com/lloydzhou/pybitable/assets/1826685/fa85ed0b-2474-4caf-a4ef-5185afceebce)
nepali-to-roman 1.1.1
A PyPi package for converting Nepali words to Romanized English literals. This package performs transliteration, converting Devanagari words into Roman literals.
Requires Python: >=3.6
Keywords: Nepali to Roman,Nepali Transliteration,Devanagari to English,Devanagari,Diwas Pandey,Nepali words to Roman,Roman from Nepali,Convert Nepali to Roman,Romanize Nepali words,How to convert Nepali to Roman,Convert Nepali script to Roman,Nepali language,Romanization

# Nepali-to-Roman 🌐


[![Downloads](https://img.shields.io/pypi/dm/nepali-to-roman?color=blue&style=flat-square)](https://pepy.tech/project/nepali-to-roman) [![Version](https://img.shields.io/pypi/v/nepali-to-roman?color=blue&style=flat-square)](https://pypi.org/project/nepali-to-roman/) [![License](https://img.shields.io/pypi/l/nepali-to-roman?color=blue&style=flat-square)](LICENSE)

Elegantly transform Nepali text into Romanized English with precision using the powerful `nepali-to-roman` Python package. Overcoming the limitations of existing solutions, this package meticulously maps Nepali literals and words to their precise Romanized counterparts.

[![Downloads](https://static.pepy.tech/badge/nepali-to-roman)](https://pepy.tech/project/nepali-to-roman)

## 🚀 Installation

Install `nepali-to-roman` effortlessly using `pip`. Ensure you have [`pip`](https://pip.pypa.io/en/stable/installing/) installed and run:

```bash
pip install nepali-to-roman
```

## 🎨 Usage

Import the `ntr` module into your Python script or interactive environment:

```python
import ntr
```

The `ntr` module exposes the `nep_to_rom` function, designed for transliterating Nepali text. Each word in a sentence is individually transliterated, and the results are seamlessly merged into a single string.

**Syntax:**
```python
ntr.nep_to_rom(text)
```

**Example:**
```python
import ntr
print(ntr.nep_to_rom("म नेपाल मा बस्छु ।"))
# Output: ma nepal ma baschhu .
```

## 🌱 Contributions

This package is licensed under The MIT License (MIT), details of which can be found in the [LICENSE](LICENSE) file. As an open-source project, we enthusiastically welcome contributions and feedback. If you have ideas for improvements or extensions, please feel free to contribute.

## 👥 About Contributors

- [Diwas Pandey](https://www.diwaspandey.com.np)
- [Ishparsh Uprety](https://www.ishparshuprety.com.np/)