semvec/pypi-packages huggingface dataset:
vrep-api-python 0.1.0
Simple python binding for V-REP robotics simulator
License: MIT
Keywords: vrep robotics simulator binding api

# v-rep python
Simple python binding for
[Coppelia Robotics V-REP simulator](http://www.coppeliarobotics.com/) ([remote API](http://www.coppeliarobotics.com/helpFiles/en/remoteApiOverview.htm))

## Getting started
0. Requirements: CPython >= 3.5.2 version, pip
1. Install library from PyPI by entering this command:
    `pip install vrep-python`
2. Create environment variable with path to platform-specific native library (remoteApi):
    `VREP_LIBRARY="vrep_folder/programming/remoteApiBindings/lib/lib/64Bit/"`
    * For windows users:
        *NOT TESTED*
    * For linux users:
        Add `export VREP_LIBRARY="vrep_folder/programming/remoteApiBindings/lib/lib/64Bit/"`
        to `.bashrc`
    
3. Find the socket port number in `V-REP/remoteApiConnections.txt` and use
    it to connect to the server simulator

## Currently implemented things
In the current version is not implemented features such as remote management GUI,
additional configuration properties of objects and shapes, etc.
Basically implemented those components that are required to control the robot:
* Joint
* Proximity sensor
* Vision sensor
* Force sensor
* Position sensor (used for that dummy or shape object)
* ~~Remote function calls~~

## Example
```python
from vrepapi import VRepApi
import time

class PioneerP3DX:

    def __init__(self, api: VRepApi):
        self._api = api
        self._left_motor = api.joint.with_velocity_control("left_motor")
        self._right_motor = api.joint.with_velocity_control("right_motor")
        self._left_sensor = api.sensor.proximity("left_sensor")
        self._right_sensor = api.sensor.proximity("right_sensor")

    def rotate_right(self, speed=2.0):
        self._set_two_motor(speed, -speed)

    def rotate_left(self, speed=2.0):
        self._set_two_motor(-speed, speed)

    def move_forward(self, speed=2.0):
        self._set_two_motor(speed, speed)

    def move_backward(self, speed=2.0):
        self._set_two_motor(-speed, -speed)

    def _set_two_motor(self, left: float, right: float):
        self._left_motor.set_target_velocity(left)
        self._right_motor.set_target_velocity(right)

    def right_length(self):
        return self._right_sensor.read()[1].distance()

    def left_length(self):
        return self._left_sensor.read()[1].distance()

api = VRepApi.connect("127.0.0.1", 19997)

api.simulation.start()

r = PioneerP3DX(api)
for _ in range(100):
    rl = r.right_length()
    ll = r.left_length()
    if rl != 0 and rl < 10:
        r.rotate_left()
    elif ll != 0 and ll < 10:
        r.rotate_right()
    else:
        r.move_forward()
    time.sleep(0.1)

api.simulation.pause()
```
sqlalchemy-teradata 0.0.9.dev0
Teradata dialect for SQLAlchemy
License: MIT
Keywords: Teradata SQLAlchemy

Dialect for SQLAlchemy
======================

SQLAlchemy is a database toolkit that provides an abstraction over
databases. It allows you to interact with relational databases using an
object relational mapper or through a pythonic sql rendering engine
known as the core.

Read the documentation and more: http://www.sqlalchemy.org/

The Teradata Dialect is an implementation of SQLAlchemy’s Dialect
System. It implements various classes that are specific to interacting
with the teradata dbapi, construction of sql specific to Teradata, and
more. The project is still in an incubation phase. See test/usage\_test
for how the dialect is used for the core expression language api.

Design Principles
=================

::

    * Have a simple setup process and a minimal learning curve
    * Provide a simple core that is modular and extensible
    * Be an easy way to interact with the database out of the box

Quick Start
===========

Install the sqlalchemy-teradata library:

::

    [sudo] pip install sqlalchemy-teradata

Setup the connect url to point to the database. See the `example`_ in
the wiki.

Get Involved
============

::

    * We welcome your contributions in: Documentation, Bug Reporting, Tests, and Code (Features & Bug Fixes)
    * You can contribute to our documentation by going to our github wiki.
    * All code submissions are done through pull requests.

We have a room in `gitter`_. It is still based off of the old repo but it will do.

Tests
=====

The dialect is tested using the pytest plugin. You can run pytest in the sqlalchemy-teradata
directory with the ``py.test``\ command. By default the tests are run against the database
URI specified in ``setup.cfg`` under the ``[db]`` heading.

You can override the dburi you would like the tests to run against:

.. code:: 

    py.test --dburi:teradata://user:pw@host

To view the databases aliased in setup.cfg:

.. code:: 

    py.test --dbs all

To run the tests against an aliased database URI in setup.cfg:

.. code:: 

    py.test --db default
    py.test --db teradata

If the --db flag nor the --dburi flag are specified when running py.test,
the database uri specified as ``default`` in setup.cfg is used.

Typical usage:

.. code:: python

    # test all the things (against default)!
    py.test -s test/*

    # run tests in this file
    py.test -s test/test_suite.py

    # run TestClass in the the file
    py.test -s test/test_suite.py::TestClass

    # just run a specific method in TestClass
    py.test -s test/test_suite.py::TestClass::test_func

see the `pytest docs`_ for more info

See Also
========

-  `PyTd`_: the DB API 2.0 implementation found in the teradata module
-  `sqlalchemy\_aster`_: A SQLAlchemy dialect for aster

.. _gitter: https://gitter.im/sandan/sqlalchemy-teradata
.. _example: https://github.com/Teradata/sqlalchemy-teradata/wiki/Examples#creating-an-engine
.. _pytest docs: http://pytest.org/latest/contents.html#toc
.. _PyTd: https://github.com/Teradata/PyTd
.. _sqlalchemy\_aster: https://github.com/KarolTx/sqlalchemy_aster
melomaniac 0.1.1
Listen to your Google Play Music/Soundcloud library from your terminal.
License: MIT

Melomaniac
##########

Listen to your Google Play Music and Soundcloud library from your terminal.

Requirements
============

- Python 3.5+
- mpv

Installation
============

.. code-block::

    pip install melomaniac

You will also need to install `mpv <https://mpv.io>`_ to actually play the songs.


Usage
=====

To launch the player, just do:

.. code-block::

    melomaniac listen gmusic

or

.. code-block::

    melomaniac listen soundcloud


If this is the first time using a specific backend, Melomaniac will ask you
a few pieces of information:

- **Gmusic**: ``username`` and ``password``. There is no way around it. If you have 2FA activated for you account you must create an application specific password.

- **Soundcloud**: ``client_id``, ``client_secret``, ``username`` and ``password``. You need to `acquire a client credential for your application <http://soundcloud.com/you/apps/new>`_, in order for Melomaniac to work. Both ``username`` and ``password`` will only be used once to retrieve API tokens and will never be stored.

The configuration is stored in ``~/.melomaniac/config.yml``.


### Commands

- Access an element (``right`` or ``enter``)
- Navigate a list (``up``/``down``)
- Play a song (``enter``)
- Pause/Resume a song (``space``)
- Forward/Rewind (``f``/``r``)
- Quit (``q``)
supermovies 0.2.2
Sample Python Project for TDN Python Course learn how to program in Python.
License: MIT
Keywords: learn,python,tdn

SuperMovies
--------

To run the main script simply do::

    $ netflix

To use simply do::

    >>> import supermovies
    >>> print( supermovies.Die.roll() )

To run the main script simply do::

    $ pip install nose rednose
    $ nosetests --rednose

Feel free to contact me at mercuryseries@gmail.com.