semvec/pypi-packages huggingface dataset:
youtube-cli Beta.2
Youtube command line interface with stream and download functionality
License: BSD

This is a youtube client for the command line that supports searching downloading and streaming youtube video's from the command line.


Requirements:
--------------
VLC media player
Python 2.6+


Commands:
---------
command: search / download / stream
query: 'multiple keywords' / singlekeyword
order: relevance, viewcount or rating
number of results: 1 - 50
timespan (optional): today, week, month, all
shuffle (optional): shuffle


Controls:
---------
[ or { = prev
] or } = next
p or P = pause
r or R = reset
q or Q = quit


Example usage:
---------------
./youtube.py search 'ukf drum and bass' rating 20 shuffle
Returns 20 videos with query sorted by rating and shuffled

./youtube.py download 'ukf drum and bass' viewcount 10 shuffle
Downloads 10 videos with query sorted by viewcount and shuffled

./youtube.py stream 'ukf drum and bass' relevance 2 month
Stream 2 videos with query sorted by relevance and uploaded between now and a month ago


Enjoy!
django-receipts 0.1.5
Django app for verifying web app receipts
License: BSD

Django Receipts
--------------------------------

Parsing of web app receipts in Django. A simple library to parse web
application receipts in Django. It follows the same syntax as the verification
service at thee Mozilla Marketplace.

This is optional, you can just verify your receipt with the Marketplace.
However there are a couple of reasons you might want to do this:

- analytics, tracking usage of your app as it checks receipts

- tracking usage of receipt by IP address to prevent sharing of receipts

- blocking of receipts that you know are fradulent.

This app provides a django model that shows the receipts that been processed,
allowing you to block the receipts there.

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

Install from pypi::

        pip install django-receipts

Usage
=====

Add `django_receipts` to your `INSTALLED_APPS`::

        INSTALLED_APPS = (...
                'django_receipts',
        )

Run syncdb to install the table::

        python manage.py syncdb

Add in django-receipts into your urls, for example::

       urlpatterns = patterns('',
                ...
                url(r'^receipts/', include('django_receipts.urls')),
       )

You will then be able to do a POST to::

       curl -X POST http://localhost:1234/receiive --data "good.receipt"

This will return::

       {"status": "ok"}

See `django_receipts\constants.py` for more.

Configuration
=============

* `RECEIPT_CHECK_INTERVAL` (optional): time between receipts from the client to
  actually send receipts to the server. Effectively a cache of the check
  against the server. Default: 60 minutes.