semvec/pypi-packages huggingface dataset:
GitRemote 0.1.0
Simple tool to add git remotes effortlessly
License: MIT
Keywords: git remote

GitRemote

A simple tool to add git remotes effortlessly

1. pip install gitremote
2. gitremote -i | gitremote --init
    It will create gitremote.yml
    Add remote and host
3. gitremote -r | gitremote --reset

That's it
django-eldarion-ajax 0.1
a companion app to eldarion-ajax providing base views and mixins to make hooking up views in your project even easier
License: MIT

Django Eldarion Ajax
====================

.. image:: https://img.shields.io/travis/eldarion/django-eldarion-ajax.svg
   :target: https://travis-ci.org/eldarion/django-eldarion-ajax

.. image:: https://img.shields.io/coveralls/eldarion/django-eldarion-ajax.svg
   :target: https://coveralls.io/r/eldarion/django-eldarion-ajax

.. image:: https://img.shields.io/pypi/dm/django-eldarion-ajax.svg
   :target:  https://pypi.python.org/pypi/django-eldarion-ajax/

.. image:: https://img.shields.io/pypi/v/django-eldarion-ajax.svg
   :target:  https://pypi.python.org/pypi/django-eldarion-ajax/

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target:  https://pypi.python.org/pypi/django-eldarion-ajax/


a companion app to `eldarion-ajax`_ providing base views and mixins to make
hooking up views in your project even easier


.. _eldarion-ajax: https://github.com/eldarion/eldarion-ajax
torpc 0.0.1
A tiny async tcp and duplex rpc implementation using Tornado IOLoop.
License: MIT
Keywords: tornado,rpc,async

ToRPC
=====

ToRPC(Tornado + RPC) is a tiny tcp and duplex RPC implementation in
Python based on Tornado IOLoop. It’s very lightweight and high
performance(especially on PyPy).

Notice: ToRPC was only tested on ``CPython 2.7+`` and ``PyPy 2.5+``
until now.

## Examples
-----------

RPC server
~~~~~~~~~~

.. code:: python

    from tornado import ioloop
    from torpc import RPCServer
    server = RPCServer(('127.0.0.1', 5000))

    @server.service.register()
    def echo(x):
        return x

    server.start()
    ioloop.IOLoop.instance().start()

RPC client
~~~~~~~~~~

.. code:: python

    from tornado import ioloop, gen
    from torpc import RPCClient

    def result_callback(f):
        print(f.result())

    @gen.coroutine
    def using_gen_style():
        want_to_say = 'way to explore'
        ret = yield rc.call('echo', want_to_say)
        assert ret == want_to_say
        print('gen_style complete')

    rc = RPCClient(('127.0.0.1', 5000))
    rc.call('echo', 'hello world', callback=result_callback)
    future = rc.call('echo', 'code for fun')
    future.add_done_callback(result_callback)
    using_gen_style()
    ioloop.IOLoop.instance().start()

See more in `examples`_.

Performance
~~~~~~~~~~~

OS: CentOS 6.6 x64
CPU: Intel i5-3470 3.20GHz
Memory: 8 GB 1600 MHz DDR3
Python: 2.7.10
PyPy: 4.0.0

+----------------------+---------------------+---------------+
| environment          | call coroutine(qps) | callback(qps) |
+======================+=====================+===============+
| Python(with timeout) | 9842                | 11614         |
+----------------------+---------------------+---------------+
| Python               | 13192               | 16638         |
+----------------------+---------------------+---------------+
| PyPy(with timeout)   | 40486               | 41225         |
+----------------------+---------------------+---------------+
| PyPy                 | 53252               | 59151         |
+----------------------+---------------------+---------------+
| PyPy(unix domain)    | 67100               | 74362         |
+----------------------+---------------------+---------------+

In this benchmark, Python loops 100k times and PyPy loops 1000k times,
then run 3 times of each, the result is on `gist:benchmark\_result.txt`_

Document
~~~~~~~~

`中文`_

.. _examples: https://github.com/yoki123/torpc/tree/master/examples
.. _`gist:benchmark\_result.txt`: https://gist.github.com/yoki123/c6f8a9c4f375f61359e2
.. _中文: https://github.com/yoki123/torpc/blob/master/README-zh.rst
wordscrape 0.3
Extract data from forms in Microsoft Word documents.
License: MIT

Wordscrape
----------

This package contains utilities for extracting form data from Microsoft Word 2007 documents
with the `.docx` extension. It reads Check Box Form Fields and Text Form Fields, which are
both classified as legacy controls. Subsequent versions will support more kinds of controls.

Basic usage example:
   
    >>> from wordscrape import WordDocument
    >>> doc = WordDocument('form.docx')
    >>> data = doc.get_form_data()

The function `get_form_data` returns an `OrderedDict` containing all field names and values.

Wordscrape can read form data from multiple Word documents, and write the data to a single CSV
file, while ensuring that the field names match.

    >>> from wordscrape import WordDocument, read_dir, write_csv
    >>> path = '/temp/forms/'
    >>> all_data = read_dir(path)
    >>> write_csv(all_data, 'report.csv')
    
The function `all_data` returns a list of ordered dictionaries, and the function `write_csv`
writes the data to a CSV file with a header row.
ecstatic 0.4
A small flask application to serve files.
License: MIT

ecstatic
========

Slightly NIH Flask-based app to serve static content. It tries to capture 80%
of the use-cases that are normally handled by the likes of nginx and Apache,
only much slower =).

Other packages that do similar, but not quite the same things:

* https://pypi.python.org/pypi/Flask-Ecstatic (sorry about the name!)


Configuration
-------------

Ecstatic has a single configuration file whose location is given via an
environment variable "ECSTATIC_EXPORTS". The file is parsed using Python3's
``configparser`` module, with each section being processed from top to bottom.

Whenever a request comes in, a section is checked for whether or not it
matches. If a match is found, no further sections are examined and the
configuration in said section is used to serve the request.

A section matches a request if it

1. Has a ``match`` key with a regular expression that matches the request's
   path or
2. Has a ``root`` section with no match present.

Any other section is ignored.


match-Sections
~~~~~~~~~~~~~~

Any section that contains a ``match``-key must also contain an ``fspath``-key.
If the URL path matches the expression given, ``fspath`` is interpolated as a
format string, with positional arguments from the expression (missing groups
are empty strings instead of ``None``).

The section must still contain a ``root``-entry, also a format string, which is
used to jail paths.


root-Sections
~~~~~~~~~~~~~

Any section containing just a ``root``-entry will simply serve content from the
given root path, mapping 1:1 onto URLs.


Examples
--------

A simple configuration that serves content from users
``public_html``-directories (which are assumed to all be inside ``/home``) and
``/var/www`` otherwise:

.. code-block:: ini

    [homes]
    # exposes /home/bob/public_html/ on http://example.org/~bob/
    match = ^~([a-zA-Z0-9]+)(/.*)?$
    fspath = /home/{0}/public_html{1}
    root = /home/{0}
    dirindex = on

    [www]
    root = /var/www
cstats 0.2.1
cstats generates information about your file directory.
License: MIT
Keywords: stats,tool,command line,file system

cstats
====================

.. image:: https://travis-ci.org/mijecu25/cstats.svg
    :target: https://travis-ci.org/mijecu25/cstats

.. image:: https://img.shields.io/pypi/v/nine.svg   
   :target: https://pypi.python.org/pypi/cstats

.. image:: https://img.shields.io/pypi/pyversions/cstats.svg
   :target: https://pypi.python.org/pypi/cstats

.. image:: https://img.shields.io/pypi/status/cstats.svg   
   :target: https://pypi.python.org/pypi/cstats

.. image:: https://img.shields.io/badge/license-MIT-blue.svg 
   :target: https://raw.githubusercontent.com/mijecu25/stats/master/LICENSE

.. image:: https://img.shields.io/pypi/dm/cstats.svg
   :target: https://pypi.python.org/pypi/cstats

cstats generates information about your file directory

----

The MIT License (MIT)

Copyright (c) 2015 Miguel Velez

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.