semvec/pypi-packages huggingface dataset:
python_fortune 0.2
Simple /usr/bin/fortune implementation in Python.
License: BSD

python_fortune
==============

A very simple implementation of fortune in Python with
pseudo-random cookie generation. (Uses the default random.SystemGenerator
to collect entropy from hardware interrupts.)

To install, copy/rename the fortune.py script to /usr/local/bin/fortune,
and add the following to your $HOME/.profile file:

    [ -x "/usr/local/bin/fortune" ] && /usr/local/bin/fortune 2>&1

To customize the fortune files data directory, set the FORTUNE_DATADIR
environment variable like so:

    export FORTUNE_DATADIR=/usr/local/share/mydatadir

By default, the script will try to use $HOME/etc/fortune.d as the data directory
for data files.

Etienne Robillard <tkadm30[at]yandex.com>
gitcoach 0.2.2
Help you find out what files you should be changing.
License: BSD
Keywords: gitcoach

===============================
gitcoach
===============================

.. image:: https://badge.fury.io/py/gitcoach.png
    :target: http://badge.fury.io/py/gitcoach
    
.. image:: https://travis-ci.org/tarmstrong/gitcoach.png?branch=master
        :target: https://travis-ci.org/tarmstrong/gitcoach

.. image:: https://pypip.in/d/gitcoach/badge.png
        :target: https://crate.io/packages/gitcoach?version=latest


Gitlearn and gitcoach are a pair of tools for helping me, and hopefully 
other people, better understand large projects living in Git by trying
to identify codependent pieces of code.  

* Free software: BSD license
* Documentation: http://gitcoach.rtfd.org.

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

The easiest way to install gitcoach is through pip::

    $ pip install gitcoach

Usage
-----

To generate the prediction data, run `gitlearn`. This might take a long time::

    usage: gitlearn [-h]

    Generate coaching data for gitcoach.

    optional arguments:
      -h, --help  show this help message and exit

The `gitcoach` utility::

    usage: gitcoach [-h] [--file FILE] [--commit COMMIT] [--threshold THRESHOLD]

    Find co-dependent files based on git history. Two files are co-dependent if
    they have been modified in the same commits often enough.

    optional arguments:
    -h, --help            show this help message and exit
    --file FILE, -f FILE  Find suggestions for a specific file
    --commit COMMIT, -c COMMIT
                            Find suggestions for files modified in a specific
                            commit.
    --threshold THRESHOLD, -t THRESHOLD
                            Threshold for co-incidence ratio (default=0.8).


Example output of `gitcoach`::

    Here are some files you might want to look at:

    travis.yml	suggested by	README.rst (0.500000)
    tox.ini	suggested by	README.rst (0.500000)
    setup.py	suggested by	README.rst (0.500000)
    requirements.txt	suggested by	README.rst (0.500000)




History
-------

0.1
+++++

* Original version by mhoye

0.2.0 (2013-11-08)
++++++++++++++++++

* Rewrite
* New dependency: `git2json`
* First version released on PyPI

0.2.2 (2013-11-09)
++++++++++++++++++

* Python 3 compatibility
* Packaging fixes
git2json 0.2.3
Convert git logs to JSON for easier analysis.
License: BSD
Keywords: git2json

===============================
Git2JSON
===============================

.. image:: https://badge.fury.io/py/git2json.png
    :target: http://badge.fury.io/py/git2json
    
.. image:: https://travis-ci.org/tarmstrong/git2json.png?branch=master
        :target: https://travis-ci.org/tarmstrong/git2json

.. image:: https://pypip.in/d/git2json/badge.png
        :target: https://crate.io/packages/git2json?version=latest


Convert git logs to JSON for easier analysis.

* Free software: BSD license
* Documentation: http://git2json.rtfd.org.

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

The easiest way to install ``git2json`` is through pip:

::

    pip install git2json

If you want the most up-to-date version (at a greater risk of encountering
bugs) you can clone this repository and install it manually:

::

    git clone https://github.com/tarmstrong/git2json.git
    cd git2json
    python setup.py install

Usage
-----

::

    usage: git2json [-h] [--git-dir GIT_DIR]

    optional arguments:
      -h, --help         show this help message and exit
      --git-dir GIT_DIR  Path to the .git/ directory of the repository you are
                        targeting


The resulting JSON log is printed to standard output.

Example JSON
------------

The following shows the structure of the JSON emitted by the tool.

::

    [{
        "committer": {
            "date": 1379903278,
            "timezone": "-0400",
            "name": "Tavish Armstrong",
            "email": "tavisharmstrong@gmail.com"
        },
        "parents": ["e307663594031738c932877c8589552d5aafc953"],
        "author": {
            "date": 1379903278,
            "timezone": "-0400",
            "name": "Tavish Armstrong",
            "email": "tavisharmstrong@gmail.com"
        },
        "tree": "bd03127651335e3a51241f507f3bf194d8336485",
        "commit": "d06454c160218b4a782afad2429abda1add54df0",
        "message": "Allow user to specify git-dir on the command line.",
        "changes": [
            [23, 3, "git2json/__init__.py"]
        ]
        },
        // ... More commits
        ]


Usage Examples
==============

* [How Long Does It Take To Review an IPython Pull Request?](http://nbviewer.ipython.org/urls/raw.github.com/tarmstrong/code-analysis/master/IPythonReviewTime.ipynb) by Tavish Armstrong (git2json author)

If you are using ``git2json`` in interesting ways, please share and I will
add your notebooks/blog posts/code to this list.





History
-------

0.1.0 (2013-09-23)
++++++++++++++++++

* First release on PyPI.

0.1.1 (2013-09-25)
++++++++++++++++++

* Fixed broken PyPI package.

0.2.0 (2013-09-28)
++++++++++++++++++

* Parents now an array instead of a single value.

0.2.1 (2013-10-07)
++++++++++++++++++

* Re-implemented parser with regular expressions.
* Character encoding issues fixed.

0.2.2 (2013-11-09)
++++++++++++++++++

* Fix bug #7 (hidden filenames not parsed correctly): https://github.com/tarmstrong/git2json/issues/7

0.2.3 (2013-11-09)
++++++++++++++++++

* Python 3 compatibility
zero_buffer 0.5.1
A fast, no-copy, buffer for Python
License: BSD

zero_buffer
===========

.. image:: https://travis-ci.org/alex/zero_buffer.png?branch=master
    :target: https://travis-ci.org/alex/zero_buffer

``zero_buffer`` is a high-performance, zero-copy, implementation of a
byte-buffer for Python.

`Documentation`_ is available on ReadTheDocs.

.. code-block:: python

    from zero_buffer import Buffer

    # Create a buffer which has space for 8192 bytes.
    b = Buffer.allocate(8192)
    with open(path, "rb") as f:
        # Read up to 8192 bytes from the file into the buffer
        b.read_from(f.fileno())
    # Create a read-only view of the buffer, this performs no copying.
    view = b.view()
    # Split the view on colons, this returns a generator which yields sub-views
    # of the view.
    for part in view.split(b":"):
        print(part)

``zero_buffer`` works on Python 2.6, 2.7, 3.2, 3.3, and PyPy.

.. _`Documentation`: https://zero-buffer.readthedocs.org/en/latest/
wapiti 0.1
A Wikipedia API client for humans and elk.
License: BSD

Wapiti
    ~~~~~~

    Wapiti is a Wikipedia API client focused on providing a consistent
    and performant abstraction around the widely varying Mediawiki API
    endpoints and data models. Read-only APIs are first priority, but
    write operations are on the way. See `the Github project
    <https://github.com/mahmoud/wapiti>`_ for more info.

    :copyright: (c) 2013 by Mahmoud Hashemi and Stephen LaPorte
    :license: BSD, see LICENSE for more details.