semvec/pypi-packages huggingface dataset:
youtube-dl-gui 1.0.4
Yet another youtube-dl frontend written in python3 and qt5
License: MIT
Requires Python: >=3.7,<4.0

youtube-dl-GUI
==============

Yet another `youtube-dl` frontend written in python 3.7 and Qt5  

ScreenShot:
-------------
![youtube-dl-gui Screenshot in Ubuntu](http://imgur.com/KxTLeYl.png)

Installation:
------------
`pip install youtube-dl-gui`
delegable 0.0.5
Delegable is a simple Python alternative to Ruby on Rails' delegate module.
License: MIT
Keywords: delegate delegates delegable delegation ruby rails

# Delegable


# Summary

Delegable is a simple Python alternative to Ruby on Rails' delegate module, which makes delegation easy. It enables any class to delegate its functions to an instance of another one. Here's an example:

```python
@delegable
class Que:
    def __init__(self):
        self.q = []
        self.delegate('append', 'pop', to='q')

que = Que()
que.append(1)
que.pop()
# => 1
```


### Features:

- Inheritance Safe
- No dependent libraries
- Available for py35, py36, py37, py38


# Install
```sh
pip install delegable
```

# Getting Started

#### Basic Usage

Place @delegable.delegator on the top of a class in which you want to enable delegation.

```python
import delegable

@delegable.delegator
class Que:
    def __init__(self, name='default_queue'):
        self._name = name
        self.q = []
        self.delegate('append', 'pop', to='q')

    @property
    def all(self):
        return self.q


que = Que('')
que.append(1)
que.append(2)
que.pop(0)
assert que.all == [2]
```


#### Inheritance Safe

It works well with classes inheriting its parent which uses `@delegable.delegtor` without any problem.

```python
class Que2(Que):
    def __init__(self, name='default_queue'):
        super().__init__(name)

que1 = Que('')
que2 = Que2('')
que1.delegate('append', 'pop', to='q')
que2.delegate('append', 'pop', to='q')
que1.append(1)
que2.append(2)
assert que1.all == [1]
assert que2.all == [2]
```


#### delegates

The decorator offers a property, `delegates` to define delegates all at once. Note it overwrites whole delegates but doesn't merge delegates.

```python
@delegable.delegator
class Que:
    def __init__(self, name='default_queue'):
        self._name = name
        self.q = []
        self.delegate('append', 'pop', to='q')
        self.delegates = {'s': 'join'}

assert que.join('ab') == 'a,b'

que.append(1)
# => AttributeError("'Que' object has no attribute 'append'")
```


# How to Test

This project uses [tox](https://tox.readthedocs.io/) to test it against different versions of Python, with underlying pyenv.


### Set up

You have to have pyenv installed to run tox in this project.


### Test

To test with all versions:
```sh
tox
```

To test with a certain version:
```sh
tox -e py37
```

or

```sh
pyenv shell 3.7.7
pytest
```
py-KISSmetrics 1.1.0
Official KISSmetrics client library.
License: MIT

py-KISSmetrics
--------------

KISSmetrics tracking API wrapper for Python

A description of the API can be found at: https://support.kissmetrics.io/reference#api-specifications-1

Support for:
  - Python 3.5, 3.6

Also tested against:
  - PyPy (Generally the latest release)

Documentation: http://py-kissmetrics.readthedocs.org/


Using this library
==================

>>> import KISSmetrics
>>> KM = KISSmetrics.Client(key='mySuperSecretApiKey')
>>> KM.record('bob@bob.com', 'Viewed Homepage')
<urllib3.response.HTTPResponse object at 0x...>
>>> KM.record('bob@bob.com', 'Signed Up', {'Plan' : 'Pro', 'Amount' : 99.95})
<urllib3.response.HTTPResponse object at 0x...>
>>> KM.record('bob@bob.com', 'Signed Up', timestamp=1234567890)
<urllib3.response.HTTPResponse object at 0x...>
>>> KM.set('bob@bob.com', {'gender': 'male'})
<urllib3.response.HTTPResponse object at 0x...>



Compatibility client
====================

A compatibility client is provided which is intended to act like the previous generation of Python library here_.

This interface is provided for compatibility only, and will not be supported in the future.

Example Usage
+++++++++++++

>>> from KISSmetrics import KM
>>> km = KM("this is your API key")
>>> km.key
'this is your API key'
>>> km.identify('bob@bob.com')
>>> km.identity
'bob@bob.com'
>>> km.check_id_key() # this will throw exception if key or identity is None
>>> km.record('Viewed Homepage')
>>> km.record('Signed Up', {'Plan' : 'Pro', 'Amount' : 99.95})
>>> km.record('Signed Up', {'_d' : 1, '_t' : 1234567890})
>>> km.set({'gender' : 'male'})


.. _here: https://github.com/kissmetrics/KISSmetrics/blob/master/KISSmetrics/__init__.py