semvec/pypi-packages huggingface dataset:
jServ-python 1.0.1
Python library for interfacing with jServ

<p align="center">
    <img src="https://codealchemi.com/images/jserv.png" width="256px" height="256px">
</p>

<h1 align="center">
    jServ Python Library
</h1>

<h3 align="center">
    A project by codealchemi
</h3>

<p align="center">
    <img src="https://img.shields.io/github/license/Codealchemi/jServ-python-lib?style=flat-square">
    <img src="https://img.shields.io/pypi/v/jServ-python?style=flat-square">
    <img src="https://img.shields.io/pypi/pyversions/jServ-python?style=flat-square">
    <img src="https://img.shields.io/github/languages/code-size/Codealchemi/jServ-python-lib?style=flat-square">
</p>


Python library for interfacing with jServ

Information about jServ can be found at <a href="https://github.com/Codealchemi/jServ">https://github.com/Codealchemi/jServ</a>

<a href="https://codealchemi.com">codealchemi</a>
easier-pygame 0.1.2
the python library that makes PYGAME easier to use
Keywords: python,pygame,easier,easier pygame


# Easier Pygame

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)
- [Contributing](contributing.md)

## About <a name = "about"></a>

This python library is a wrapper for the pygame library.
It provides a simple interface for creating games in pygame without all the bloat code that needs to be written for pygame to work.

## Getting Started <a name = "getting_started"></a>

to use this package go to your console and write one of these commands:
```
pip install easier-pygame
pip3 install easier-pygame
```

if it doesn't work try one of these commands:
```
python -m pip install easier-pygame
python3 -m pip install easier-pygame
```
jServ-Python 1.0
Python library for interfacing with jServ

<p align="center">
    <img src="https://codealchemi.com/images/jserv.png" width="256px" height="256px">
</p>

<h1 align="center">
    jServ Python Library
</h1>

<h3 align="center">
    A project by codealchemi
</h3>

<p align="center">
    <img src="https://img.shields.io/github/license/Codealchemi/jServ-python-lib?style=flat-square">
</p>
best-binary-similarity 1.0.0
A package to calculate and find the best similarity between two binary vectors
Requires Python: >=3.6

[![Sphinx build](https://github.com/dwikiramdhani53/besimilarity/actions/workflows/sphinx.yml/badge.svg)](https://github.com/dwikiramdhani53/besimilarity/actions/workflows/sphinx.yml)

# Besimilarity

Besimilarity is a Python library for computing your suitable similarity matrix from your binary data.

### Installation
To use Besimilarity, first install it using pip:
```console
   (.venv) $ pip install best-binary-similarity
```
### Get started
To get started, you can import the library and use the `Besimilarity` class:
```python
   import besimilarity

   # Instatntiate a Besimlarity object
   aggbs = besimilarity.AgglomerativeBestSimilarity()
   
   # Call the fit function
   aggbs.fit(X)

   # Print out the result
   print(aggbs.get_result())
```
json-to-elan 0.1.17
The script reads a JSON file (or folder) and generates an ELAN file to match.
Requires Python: >=3.7,<4.0

# JSON to ELAN

The script looks in a folder, and generates an ELAN file to match each JSON file.

## JSON format

It has been written for the JSON output from Huggingface ASR pipelines. Here's an example of the expected JSON format. 

```json
[
    {
        "text": "luanghan",
        "timestamp":
        [
            1.16,
            1.48
        ]
    },
    {
        "text": "ian",
        "timestamp":
        [
            1.56,
            1.7
        ]
    }
]
```

## Basic usage


Put your JSON files somewhere easily accessible, eg in a `data` folder in your working directory. Install it. Use it by providing a path to your data.

```python
pip install json-to-elan
```
```python
from json_to_elan import make_elan 
make_elan(data_dir="content")
```

## Using this in Colab? 

To use this in Google Colab, upload your JSON files into the File browser. Then define the data directory as:
```python
data_dir="/content"
``` 


## Options

You can also set a different tier name from the default (which is "default"). 

The ELAN file gets a linked media file written, for which we assume that the media file is  a WAV with the same name as the JSON file. If you want to change this to MP3, change the audio_format. 

Here's an example:
```python
make_elan(data_dir="content", tier_name="Words", audio_format="mp3")
```
pydb3 0.0.7
connect to database
Requires Python: >=3.6

# database操作(支持 mysql sqlite)

## 使用教程

### 下载

```shell
pip install pydb3
```

### 创建连接

```python
'''默认为sqlite'''
db = Db()
'''连接Sqlite'''
db = Db(file_path='D:\\db\\test.sqlite')
'''连接Mysql'''
db = Db('mysql', host='localhost', port='3306', user='root', database='db', password='123456')
```

#### 创建表

```python

from pydb3.db import Db
from pydb3.model import Integer, VarChar, Model, Image, Date, DateTime

'''定义模型'''


class Student(Model):
    name = VarChar(length=12, null=False, primary=False, comment="姓名")
    age = Integer(length=2, null=False, default=18, comment="年龄")
    score = Integer(length=11, null=False, default=10, comment="分数")
    mark = Integer(length=12, default=0, auto=True, null=False, primary=True, comment="标签")
    date = Date(length=12, default=0, null=False, auto=True, primary=False, comment='日期')
    image = Image(comment='图片')
    create_time = DateTime(default=None, null=False, auto=True, comment="时间")

    def __init__(self, name='test', age=None, mark=None, date=None, create_time=None, image=None):
        self.name = name
        self.age = age
        self.mark = mark
        self.date = date
        self.create_time = create_time
        self.image = image


if __name__ == '__main__':
    # 设置数据源
    db = Db()
    Student.set_db(db)
    s = Student()
    # 创建表
    s.create_table()
    # 获得所有学生
    students = Student.find()
    # 获得年龄为18岁的学生
    students = Student.find(age=18)
    # 保存到excel
    Student.export_excel('test.xlsx', students)
    # 从网页下载图片
    s.image = 'url=图片链接'
    # 从数据库中下载图片到本地
    s.image = 'path=保持路径'
    # 将对象相应属性保持对数据库
    s.save()
```

#### 新增数据

```python
db = Db()
datas = [None, '小明', 12]
'''相当于 insert into table values(NULL,'小明',12)'''
db.insert('table', datas).execute()
```

#### 查询

```python
db = Db()
'''相当于 select * from table where name=1 and age=1 limit 0,100'''
db.select("table").where(name=1).and_(age=1)[0:100].execute()
'''相当于 select * from table where name=1 and address like '%北京%'''
db.select("table").where(name=1, age=12).like(address='北京').execute()
'''相当于 select Count(*) from table'''
db.select('table').count().execute()
'''相当于 select name from table group by name having name='test' '''
db.select('table', 'name').group_by('name').having(name='test').execute()
'''相当于 select * from student join class on student.id=class.stu_id'''
db.select('student').join('class', id='stu_id').execute()
```

#### 更新

```python
db = Db()
'''相当于 update table  set name='李白' where name=1 and age=1 limit 0,100'''
db.update("table", name='李白').where(name=1).and_(age=1)[0:100].execute()
```

#### 删除

```python
db = Db()
'''相当于 delete from table where a=1'''
db.delete('table').where(a=1).execute()
```
PyTranslation 1.0.3
It's just a simple transla
Keywords: python,python3,PyTranslate,PyTranslation,pytranslation,translation,translator,translated


<h2 align="center">Python Translation</h2>
<p align="center">
  <a href="#getting started">Document</a>
  &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  <a href="#installation">Installation</a>
  &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  <a href="#usage">Usage</a>
  &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
  <a href="https://github.com/Enmn/">GitHub</a>
</p>

## Getting Started
Well, here is the beginning of a simple code that you can use no matter what
### Installation
Of course we will now install the library through a command <code>pip</code></br>
if your system is Windows
```console
$ pip install pytranslation
```
if your system is Linux
```console
pip3 install pytranslation
```
And here we finish installing the library
## Usage
Through this code and instructions, you will be able to use the library as required
```python
# Here we will call the library
# (py) Python
from pytranslation import Translation

translate = Translation()
# Through this command. You can convert from any language to the language you want
translate = translate.convert('en', 'ru', 'Welcome to USA!')
# This is here output 
print(translate)
```
You can also translate from the names of the entire language
```python
translate = translate.convert('English', 'Russian', 'Welcome to USA!')
```
Oh! also, instead of typing the language, you can learn the language automatically (this feature wotk in Google Engin, I don't know if it works with other engines)
```python
translate = translate.convert('auto', 'ru', 'Welcome to USA!')
```

Do you know that  ? Indee, you can choose another engine for translation through this
example
```python
# If you don't use a specific engin, Google Translate will be the default
translate = translate.convert('en', 'ru', 'Welcome to USA!', engine="Liber")
```