semvec/pypi-packages huggingface dataset:
pyh2o 0.0.6
H2O HTTP server library
License: MIT
Keywords: h2o http server library

pyh2o
=====
.. image:: https://travis-ci.org/iceb0y/pyh2o.svg?branch=master
    :target: https://travis-ci.org/iceb0y/pyh2o

The pyh2o module provides Python binding for the `H2O HTTP server
<https://github.com/h2o/h2o>`_. Specifically, it provides high performance
HTTP 1/2 and websocket server for Python.

Installation
------------

:code:`pip install pyh2o`

If binary distribution for your platform is not provided, you will need `cmake>=2.8.11` to install.

Development
-----------
Clone the repository, initialize submodules by :code:`git submodule update --init --recursive`.

* Build: :code:`python setup.py build`
* Test: :code:`python setup.py test`
* Clean: :code:`python setup.py clean`

End to end test brings up a real server and make requests to it.

Example
-------
Below is an example of serving static content.

.. code:: python

    import h2o
    import socket

    class Handler(h2o.Handler):
        def on_req(self):
            self.res_status = 200
            self.send_inline(b'Hello, world!')
            return 0

    config = h2o.Config()
    host = config.add_host(b'default', 65535)
    host.add_path(b'/plaintext').add_handler(Handler)

    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, True)
    sock.bind(('127.0.0.1', 8888))
    sock.listen(0)

    loop = h2o.Loop()
    loop.start_accept(sock.fileno(), config)
    while loop.run() == 0:
        pass
coucharchive 1.0.2
Dump/restore a whole CouchDB server contents to/from a single tar.gz file.
License: MIT

coucharchive
============

Dump/restore a whole CouchDB server contents to/from a single tar.gz file.

Useful for making backups, or replicating your database to a secondary test
environment.

Installation
------------

Using pip:

  sudo pip3 install coucharchive

How it works?
-------------

coucharchive spawns a local CouchDB instance locally, using a temporary directory
for storing data and configuration.

When dumping, it replicates your source CouchDB server (i.e. replicates all dbs,
including `_users`) to the fresh local one, then saves and compresses its data
to a tar.gz archive.

When loading, it uncompresses the archive, has the local CouchDB instance use it
as its data, then replicated to your remote CouchDB server.

Examples
--------

Set-up the database server info in `config.ini`:

  [database]
  url = http://my-server.com:5984
  username = root
  password = p4ss

Dumping database to a file:

  coucharchive -c config.ini dump -o /tmp/coucharchive.tar.gz

Restoring database from an archive:

  coucharchive -c config.ini load -i /tmp/coucharchive.tar.gz

Go further
----------

For instance, save a backup to S3 and notify somebody via email:

  aws s3 cp /tmp/archive.tar.gz s3://my-backups/archive.tar.gz
  cat >/tmp/email.txt <<EOM
  Subject: New backup saved on S3

  A CouchDB backup called archive.tar.gz was successfully created and pushed
  on Amazon S3.
  EOM
  sendmail user@example.com </tmp/email.txt
eztvit 3.3.2
Python API for https://eztv.yt/ (previously https://eztv.it)
License: MIT
Keywords: eztv it api

Features:
        
        - Scrapes the HTML from https://eztv.yt/ (previously eztv.it, but they've migrated)
        - Offers a simple API to get a list of shows and episodes for TV seasons
        - Has unit tests, and tests that that run against the live website
        - Actively tested and working as of August 2015
        
        See https://github.com/jaysh/eztvit-python for details.