semvec/pypi-packages huggingface dataset:
drum-transcriber 0.0.1
A package that classifies drum audio.
Requires Python: >=3.8

# Drum Transcriber - Transcribe Drum Audio Clips

This package helps users transcribes drum audio hits into 6 classes - Hihat, Crash, Kick Drum, Snare, Ride, and Toms.


## Installation

Run the following to install the python dependencies:

```
pip install librosa tensorflow numpy pandas scikit-learn
```

To install this package via pip, run:
```
pip install drum-transcriber
```

## Usage

### Basic Usage
```Python
from DrumTranscriber import DrumTranscriber
import librosa

samples, sr = librosa.load(PATH/TO/AUDIO/CLIP)

transcriber = DrumTranscriber()

# pandas dataframe containing probabilities of classes
predictions = transcriber.predict(samples, sr)
```

## Demo
bert-tokens 0.0.3
A useful tool for bert tokenization

# Bert tokens Tools

A useful tools to handle problems when you use Bert.

## Installation

### With Pip
This repository is tested on Python 3.6+, and can be installed using pip as follows:
```shell
pip install bert-tokens
```

## Usage

### Tokenization and token-span-convert
WordPiece tokenization for BERT, which can be universally applicable for different language versions for BERT. The supported BERT checkpoints including but not limited to:
- **[`BERT-Base, Uncased`](https://storage.googleapis.com/bert_models/2020_02_20/uncased_L-12_H-768_A-12.zip)**
- **[`BERT-Base, Chinese`](https://storage.googleapis.com/bert_models/2018_11_03/chinese_L-12_H-768_A-12.zip)**
- **[`BERT-Base, Multilingual Cased`](https://storage.googleapis.com/bert_models/2018_11_23/multi_cased_L-12_H-768_A-12.zip)**

### Token-span-convert
Convert token span from char-level to wordpiece-level. This usually happens in multi-lingual scenarios.

For example, query="播放mylove"，the char-level index of sequence "mylove" is [2,8], while the token index after bert tokenization should be [2,4]

And convert token span from wordpiece-level to char-level, just as the reverse procedure of above.

### Example
```python
from bert_tokens.bert_tokenizer import Tokenizer
from bert_tokens.convert_word_span import convert_word_span, convert_char_span

dict_path = "vocab/vocab.txt"
tokenizer = Tokenizer(dict_path, do_lower_case=True)
tokens = tokenizer.tokenize("播放MYLOVE")
print(tokens)
## ['[CLS]', '播', '放', 'my', '##love', '[SEP]']
convert_word_span("播放MYLOVE", [2,8], tokenizer)
## [2, 4]
convert_char_span("播放MYLOVE", [2,4], tokenizer)
## [2, 8]
```
rland-py-study 0.0.0.2
Package for studying python features
Requires Python: >=3.6

Roboroboland Python Study Package(v 0.0.0.2)
=================================
> This package is about roboroboland's python study. It includes from basic calculator examples to advanced serial communication multi threading code.

# To start

## Install Library
To Start, Please install following packages

1. pyserial 
2. numpy
3. pandas

# General

## calculator
1. To Start  
Write down this code on the top of your source    
```
from rland_py_study import calculator.Calculator()
``` 

2. class:Calulator  
- variables : 
    - self._result = 0

- functions :
    - result(self):
        - return : self._result
    - add(self, num) : 
        - add 'num' and '_result'  
        - return : self._result  
    - sub(self, num) : 
        - subtract 'num' from '_result'  
        - return : self._result  
    - mul(self, num) : 
        - multiply '_result' by 'num'    
        - return : self._result  
    - div(self, num) : 
        - divide '_result' by 'num'  
        - return : self._result  
    - reset(self):
        - reset '_result' to zero
        - return : None

3. Example code

```Python:calculator_ex.py
from rland_py_study import *

_cal = calculator.Calculator()
while(1):
    _input = str(input("Please insert number and operator\nPresent value : "+str(_cal.result())+"\n(ex. +10 or -10, quit:q, reset:r)\ninput : "))
    if _input[0] == '+':
        print("Add")
        _input=_input[1:]
        _cal.add(float(_input))
    elif _input[0] == '-':
        print("Sub")
        _input=_input[1:]
        _cal.sub(float(_input))
    elif _input[0] == '*':
        print("mul")
        _input=_input[1:]
        _cal.mul(float(_input))
    elif _input[0] == '/':
        print("Div")
        _input=_input[1:]
        if(float(_input)==0):
            print("can't divided by 0")
        else:
            _cal.div(float(_input))
    elif _input[0] == 'r':
        _cal.reset()
        print("Calculator is reset")
    elif _input[0] == 'q':
        exit()
    else:
        print("Wrong input. Please insert right direction.")
```

# Serial
This library is to use Serial communication with external hardware(ex. RS board, Cube, R drone ...)

## basic

1. To Start  
Write Down this code on the top of your source. Package 'pyserial' must be installed to use it.
```
from rland_py_study.serial import *
```
2. class:SerialBasic  
- variables : 
    - self.robot = None
    - self.process = None

- functions :
    - port_search(self):
        - Search COM port of user's computer and prints their names.
        - return : None
    - port_open(self, port):
        - Try to open port to connect device with computer. If openning process succeed, they will be connected. If openning process failed, port will be closed.
        - return : None
    - port_search(self):
        - If there's a connected device, disconnect it from user's computer.
        - return : None

3. Example
```
#(will be updated soon)
```
vitalpy 2.8
vitalpy - the ultimate package for everything
Requires Python: >=2.0

# vitalpy

Welcome to vitalpy - essential tools for programming in Python!

## Installation

Linux / macOS (python3):

``` zsh
python3 -m pip install vitalpy
```

Linux  / macOS (python2):

``` zsh
python -m pip install vitalpy
```

Windows:

``` zsh
py -m pip install vitalpy
```

## Docs

[vitalpy documentation](http://123web.uk/vitalpy/docs)

---

<!--``` python
v.file.ls(path)
```

Returns a list of files in a directory.

Arguments:

* `path`: the folder to search (e.g. `/home/your_name/coding/awesome_project`)

Returns:

`list` of files in the specified directory

``` python
v.file.create(path)
```

---


Creates the specified file.

Arguments:

* `file`: the file to create

Returns:

`list` of files in the specified directory
-->

``` python
v.file.ls(path) #List all files in a folder
v.file.create(file) # Create the specified folder
v.file.write(file, content) # Write some data to a file
v.file.read(file) # Get the contents of a file
v.file.rm(path) # Delete a file
v.file.rmdir(path) # Delete a folder
v.file.mkdir(folder) # Create a folder
v.file.copy(origin, destination) # Copy the origin file to the destination
v.file.append(file, content) # Append the content to the file
v.file.move(origin, destination) # Change the filepath of origin to destination
v.file.rename(origin, destination) # Rename the old_name file to new_name, same as move()
```
python-docs-theme-technopathy 0.9.1
A responsive sphinx theme for github pages based on python-docs-theme

[![GitHub Release](https://img.shields.io/github/release/LUCIT-Systems-and-Development/python-docs-theme-technopathy.svg?label=github)](https://github.com/LUCIT-Systems-and-Development/python-docs-theme-technopathy/releases)
[![PyPi Release](https://img.shields.io/pypi/v/python-docs-theme-technopathy?color=blue)](https://pypi.org/project/python-docs-theme-technopathy/)
[![Downloads](https://pepy.tech/badge/python-docs-theme-technopathy)](https://pepy.tech/project/python-docs-theme-technopathy)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-docs-theme-technopathy.svg) 
![PyPI - Status](https://img.shields.io/pypi/status/python-docs-theme-technopathy.svg) 
[![Github](https://img.shields.io/badge/source-github-orange)](https://github.com/LUCIT-Systems-and-Development/python-docs-theme-technopathy)

# Python Docs Sphinx Theme (technopathy.club Edition)
Forked from https://github.com/python/python-docs-theme

## Installation

To use the theme, install it into your docs build environment via `pip`:
```
pip install python-docs-theme-technopathy
```
https://pypi.org/project/python-docs-theme-technopathy/

## Howto
https://www.technopathy.club/2019/11/03/use-python-sphinx-on-github-pages-with-html-and-an-indivdual-theme/

## Documentation
Settings for source/conf.py:
```
tml_theme = 'python_docs_theme_technopathy'
html_context = {'github_repo_name': 'python-simplemachinesforum',
                'github_user_name': 'oliver-zehentleitner',
                'project_name': project}
```
Demo conf.py: https://github.com/LUCIT-Systems-and-Development/python-simplemachinesforum/blob/master/sphinx/source/conf.py

### Elements are inherited by:
- https://github.com/sphinx-doc/sphinx/tree/master/sphinx/themes/default
- https://github.com/sphinx-doc/sphinx/tree/master/sphinx/themes/basic

## Commercial Support
[![LUCIT](https://www.lucit.tech/files/images/logos/LUCIT-LOGO-TRANS-PLAIN-NEW.png)](https://www.lucit.tech)

***Do you need a developer, operator or consultant?***

Contact [me](https://about.me/oliver-zehentleitner) for a non-binding initial consultation via my company 
[LUCIT](https://www.lucit.tech) from Vienna (Austria) or via [Telegram](https://t.me/LUCIT_OZ)/[WhatsApp](https://wa.me/436602456535).