semvec/pypi-packages huggingface dataset:
pdg-mp3-converter 0.0.2
For converting mp4 files to mp3 and also mp3 files back to mp4
Requires Python: >=3.9

mp4 to mp3 converter / mp3 to mp4 converter by pdg

how to use:


1. convert mp4 to mp3
```python
from pdg_mp3_converter import converter

filepath = 'path to mp4 file'
filename = 'name of the file'

converter.mp4ToMp3(path=filepath, name=filename)

```

2. convert mp3 (must have been mp4 before) back to mp4
```python
from pdg_mp3_converter import converter

filepath = 'path to mp3 file'
filename = 'name of the file'

converter.mp3ToMp4(path=filepath, name=filename)

```
iSpin-data 0.3.2
Gets iSpin data for a turbine ID.

==============
iSpin Data
==============

.. image:: https://travis-ci.org/lead-ratings/iSpin-data.svg?branch=master
    :target: https://gitlab.com/romowind_public/ispin_data


This package provides access to iSpin data for a specified turbine ID.  Its use is pretty straightforward::

    >>> import ispin_data.api as ispin
    
    >>> ispin.username = 'your_username'
    >>> ispin.password = 'your_password'
    
    >>> df = ispin.request_overview()
    # Returns iSpin installations
    
    >>> df = ispin.request_data(6)
    # Returns data for the installation with the turbine ID number 6. 
    # The start and end date can also be specified

    >>> t = ispin.request_turbine_type(6)
    # Returns the turbine type of the installation with the turbine ID number 6. 


Licenses
========

Nabla Wind Hub

ROMO Wind


Changelog
=========

0.1.0 (2021-08-24)
******************

* First release

0.3.0 (2021-08-30)
******************

* Second release

0.3.1 (2021-08-31)
******************

* Added author name and company to main code

* Third release

0.3.1 (2021-09-06)
******************

* Added a function to request the turbine type of an installation
crypto-contract-value 0.0.2
Get the unit value of a crypto contract
Requires Python: >=3.6
Keywords: blockchain,cryptocurrency,trading

# crypto-contract-value

Python bindings for the [crypto-contract-value](https://github.com/soulmachine/crypto-crawler-rs/tree/main/crypto-contract-value) library.

## Quickstart

Install,

```bash
pip3 install crypto-contract-value
```

```python
from crypto_contract_value import MarketType, get_contract_value


assert get_contract_value("binance", MarketType['inverse_swap'], 'BTCUSD')== 100.0
assert get_contract_value("binance", MarketType['inverse_swap'], 'ETHUSD')== 10.0
```

## How to build

On Mac OS X,

```bash
conda install --file requirements-dev.txt

rm -rf build crypto-contract-value-ffi/target
python3 setup.py bdist_wheel

# Need to create a ~/.pypirc file first
twine upload --repository testpypi dist/*
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps crypto-contract-value

twine upload dist/*
```

For Linux,

```bash
docker run -it --rm -v $(pwd):/project soulmachine/rust:manylinux2014 bash

/opt/python/cp36-cp36m/bin/pip3 install -r requirements-dev.txt
rm -rf build crypto-contract-value-ffi/target
/opt/python/cp36-cp36m/bin/python3 setup.py bdist_wheel
auditwheel repair dist/*linux*.whl --plat manylinux2014_x86_64
/opt/python/cp36-cp36m/bin/twine upload --repository testpypi wheelhouse/*
```

## Test

```bash
python3 setup.py develop
pytest -s
```
jsonchick 0.0.2
Find JSON data paths by value
Requires Python: >=3.6

# JSONCHICK
Get paths to a value in JSON data.

## Install
`pip install jsonchick`

## Use

```
from jsonchick import jsonchick


data = [{'k1': 'v1'}, [{'k2': ['v1']}]]
value = 'v1'

assert ((0, 'k1'), (1, 0, 'k2', 0)) == jsonchick.get_tuples(value, data)
assert [[0, 'k1'], [1, 0, 'k2', 0]] == jsonchick.get_lists(value, data)
assert ['[0]["k1"]', '[1][0]["k2"][0]'] == jsonchick.get_strings(value, data)
```

## Credits
The lib is a modified version of a Stackoverflow answer on the question:
https://stackoverflow.com/questions/31010299/json-get-key-path-in-nested-dictionary
nb-courselevels 0.5.4
Jupyter nbextension to outline 3 course levels through colors

# courselevels

Jupyter notebook extension for 
* background colouring of cells (3 predefined colors)
* creating framed cells

# UI

Three buttons are provided that toggle the colour of selected cells
(1 finger = basic, 2 fingers = intermediate, 4 fingers = advanced/expert)
In addition a button allows to add/remove a frame around the selected cells

This is designed for flagging course contents, so that students can better navigate it;
color code is as follows

- basic (green)
- intermediate (blue)
- advanced/expert (red)

see an example in `examples/README`

# config

Can be customized through the nbextensions-configurator panel
Also the following actions can be attached to keyboard sohrtcuts using Jupyter's shortcuts editor

* courselevels:toggle-basic
* courselevels:toggle-intrmediate
* courselevels:toggle-advanced
* courselevels:toggle-frame

# installation 

Install via:

`pip install nb-courselevels`

The extension should be automatically installed and enabled.
raepy 0.0.31
Software drivers for the robot autonomy effector
Requires Python: >=3.6

# About
This is the official repositiory for the python based software drivers of the robot autonomy effector.
This package enables you to control the fingertip distance of the gripper, the position of the rack and direct Servo access.

# Prerequisites
* Python > 3.6
* Linux based System OS
* Ethernet or Wifi Connected RPi4
* SSH Connection to RPi (VSCODE SSH extension is strongly recommended)
  
# Installation
Either clone this repository with
```bash
pip3 install git+https://github.com/romzn/raepy.git
```
or direct from the pypi repository
```bash
pip3 install raepy
```
or build the newest version and 
```bash
git clone github.com/romzn/raepy.git
cd raepy

## Build repository and Install
python3 -m pip install --upgrade build
python -m build
pip3 install .

# Start tests to see basic functionality (!!After the racktest and servoest an recalibration has to be made!!)
python3 -m unittest racktest.py
python3 -m unittest radialgrippertest.py
python3 -m unittest racktest.py
```

# Basic functionality
To move the gripper or the rack the their specific objects has to be loaded in the current script.

```python
from raepy import Rack, RadialGripper, Servo

rack = Rack() 
gripper = RadialGripper()
servo = Servo()


rack.out() # brings the rack to the front position (+8cm) and the grippers back


gripper.grasp() # brings the grippers together until they meet resistance, then they are holding with an specific force.


gripper.to(0.1) # Set the distance between the two fingertips to 10 cm


gripper.to(0.2) # Set the distance between the two fingertips to 20 cm


rack.to(0.5) # Drives the rack to an absolute position (5cm)


rack.to(1.2) # Drives the rack out !! but before dismantle the grippers or they will collide !!


servo.led_to(color) # sets the color to ['black', 'red', 'green', 'blue', 'yellow', 'cyab', 'magenta']


servo.limp() # Sets the motor current to zero which results in powerless fingers


servo.hold() # holds the position with an specific force (max 28 Nm)


# ! There are some servomotor functions more, just take a look at the sources ./src/servo !

```



# Calibration
To calibrate the gripper two steps has to be made. 

In the first step the grippers have to be dismantled an the rack must drive Rack Out

>Normally an calibration is not needed because the gripper is calibrated by factory. 
>In the case you dismantle Gripper without mounting them back into exactly the same position, 
or you drive the rack completely out an recalibration is necessary. It is also necesseary if the package was updated