semvec/pypi-packages huggingface dataset:
clapperboard 0.2
A command-line clapperboard
License: MIT
Keywords: movie clip video clapperboard editing

************
Clapperboard
************

Want to record yourself playing over a backing track but want to use your
quality soundcard input instead of your camcorder's crappy audio? No problem,
we've got you covered!

Clapperboard is a thin wrapper around MoviePy that lets you synchronize your
video and audio by using a clapperboard-like technique. If you don't know what
I'm talking about, have a look at this post
-> http://www.learningguitarnow.com/blog/recording/how-to-record-a-video-while-playing-over-a-backing-track/

Instead of using a pricy UI based NLE, you can instead use this handy command
line script to sync your video and audio tracks.

Installation
============

Clone this repo and run ``pip install clapperboard``.

Usage
=====

Sync
----

Once you figure out the precise moment where you made your "clapperboard" sound
with your instrument for both tracks, you can replace your video's audio with
your real audio track by running ``clapsync``.

Syntax::

  clapsync audio_filename video_filename video_start audio_start out_filename

Example::

  clapsync guitar_solo.mp4 guitar_solo.wav 15.32 2.45 guitar_solo_sync.mp4

Crop
----

Once you've sync'd your video and audio tracks, you may want to remove the
part of the video where you signal with your "clapperboard" sound (apart from
the part of the video where you stretch yourself onto the keyboard to stop
recording). Clapperboard comes with another utility that lets you crop the video
from both sides and (optionally) add fadein/fadeout effects.

Syntax::

  clapcrop filename out_filename start_seconds end_seconds fadein_seconds fadeout_seconds

Example::

  clapcrop guitar_solo.mp4 guitar_solo.mp4 2 49 1 3

TODO
====

* PEP8 cleanup
* Command-line arguments cleanup
autobahn-sync 0.3.2
Bring autobahn to your synchronous apps !
License: MIT
Keywords: autobahn autobahn.ws wamp twisted crochet flask

.. image:: https://travis-ci.org/Scille/autobahn-sync.svg?branch=master
    :target: https://travis-ci.org/Scille/autobahn-sync
    :alt: Travis-CI

.. image:: https://coveralls.io/repos/github/Scille/autobahn-sync/badge.svg?branch=master
    :target: https://coveralls.io/github/Scille/autobahn-sync?branch=master
    :alt: Code coverage

.. image:: https://readthedocs.org/projects/autobahn-sync/badge/?version=latest
    :target: http://autobahn-sync.readthedocs.org/en/latest/?badge=latest
    :alt: Documentation Status

Autobahn~Sync
=============

`Autobahn <http://autobahn.ws>`_ integration with `crochet <https://github.com/itamarst/crochet>`_ to provide WAMP for synchronous applications.

Originaly based on the work of `Sam & Max <http://sametmax.com/les-managers-le-detestent-faites-tourner-wamp-dans-django-avec-cette-astuce-insolite/>`_ (warning: French, pr0n and awesomeness inside !).

Quick example
-------------

.. code-block:: python

    from time import sleep
    from autobahn_sync import publish, call, register, subscribe, run


    @register('com.app.shout')
    def shout(msg):
        return msg.upper()


    @subscribe('com.app.idea')
    def on_thought(msg):
        print("I've just had a new idea: %s" % msg)


    run()
    while True:
        print(call('com.app.shout', 'Autobahn is cool !'))
        publish('com.app.idea', 'Use autobahn everywhere !')
        sleep(1)


This code will connect to the crossbar router (don't forget to start it
before trying this snippet !) listening ``ws://127.0.0.1:8080/ws``
and register itself in realm ``realm1``.

Also see the `examples <https://github.com/Scille/autobahn_sync/blob/master/examples>`_ for more usecases

Bonus
-----

See `extensions <https://github.com/Scille/autobahn_sync/tree/master/autobahn_sync/extensions>`_ folder for a nice Flask extension ;-)

Get it now
----------
::

   pip install -U autobahn-sync

License
-------

MIT licensed. See the bundled `LICENSE <https://github.com/Scille/autobahn_sync/blob/master/LICENSE>`_ file for more details.
txtulip 0.1.0
UNKNOWN
License: MIT

txtulip: Twisted reactor based on Tulip/Asyncio/Trollius
========================================================

Twisted is a production-quality event-driven networking engine with built-in support for many protocols (HTTP, DNS, SSH, IMAP), and a large ecosystem of 3rd party libraries.
Twisted works on both Python 2 and a subset of functionality is supported on Python 3.

Asyncio (also known as Tulip) is a new networking event loop implementation included with Python 3.4, whose core networking layer was modeled on Twisted APIs.
Trollius is a backport of Asyncio to Python 2.

``txtulip`` aims to allow using both Twisted and Tulip/Asyncio/Trollius in the same Python process by:

1. Running the Twisted reactor on top of Asyncio's event loop.
2. Alternatively, running the Asyncio event loop on top of Twisted's reactor (work in progress).
3. Hooking up Deferreds and Futures (planned, no code yet).

``txtulip`` is licensed under the MIT open source license, and maintained by Itamar Turner-Trauring.

``txtulip`` can be downloaded at https://pypi.python.org/pypi/txtulip

Bugs and feature requests shoudl be filed at https://github.com/itamarst/txtulip


Status
^^^^^^

This package is experimental; pull requests are welcome.

Twisted on Asyncio
~~~~~~~~~~~~~~~~~~
The vast majority of the Twisted test suite does pass on the new reactor.
The remaining test failures are due to:

* Fragile or buggy tests in Twisted's test suite.
* Bugs in asyncio that do not exist in Twisted, especially in the epoll event loop (lack of support for large values in ``call_later``, lack of support for filesystem files which can happen e.g. when they are hooked up to stdin/out).
* Potentially, bugs in ``txtulip``.



Requirements
^^^^^^^^^^^^

* POSIX platform
* Either: Python 3.4, Twisted 14.0 and trunk
* Or: Python 2.7, Trollius, and a modern version of Twisted


Usage
^^^^^

Twisted on Asyncio
~~~~~~~~~~~~~~~~~~
Using txtulip is easy.
Before importing any Twisted code, install the ``txtulip`` reactor::

    from txtulip.reactor import install
    install()

See ``examples/echoserv.py`` for an example.

On Python 2 (or once trial/twistd command line tools are ported to Python 3), you can also specify ``trial --reactor=tulip`` or ``twistd --reactor=tulip``.