semvec/pypi-packages huggingface dataset:
hackernews_scraper 1.0.2
Python library for retrieving comments and stories from HackerNews
License: MIT

hackernews-scraper
        ==================
        
        Scrape [hacker news](https://news.ycombinator.com) comments and posts
        using the [Algolia API](http://hn.algolia.com/api/).
        
        
        Usage
        =====
        
        ```python
        from hackernews-scraper import CommentScraper
        
        CommentScraper.getComments(since=1394039447)
        ```
        
        The above will return a generator that will yield one comment at a time.
        It will keep on going until there are no more comments to fetch, or until
        it reaches the 50 pages limit set by hacker news. In the latter case, a
        `TooManyItemsException` will be raised.
        
        If the hacker news API response is missing any required fields, the scraper
        will raise `KeyError`.
        
        
        Response format
        ===============
        
        Comments:
        ```
        {
         'author': u'dhmholley',
         'comment_id': u'7531026',
         'comment_text': u'Are people still blowing this whistle?...',
         'created_at': u'2014-04-04T12:57:38.000Z',
         'parent_id': 7530853,
         'points': 1,
         'story_id': None,
         'story_title': None,
         'story_url': None,
         'timestamp': 1396616258,
         'title': None,
         'url': None
        }
        ```
        
        Stories:
        ```
        {
         'author': u'sethco',
         'created_at': u'2014-04-04T12:56:23.000Z',
         'objectID': None,
         'points': 1,
         'story_text': 1,
         'timestamp': 1396616183,
         'title': u'Opower IPO today',
         'url': u'http://www.businesswire.com/news/home/20140403006541/en#.Uz4cbq1dVih'
        }
        ```
        
        Testing
        =======
        
        You need to have [httpretty](https://github.com/gabrielfalcao/HTTPretty)
        and [factory-boy](https://github.com/rbarrois/factory_boy) installed.
        
        Run `nosetests` in the root folder or the `tests` folder.
gitdata 0.0.2
Storage the data files in ssh servers
License: MIT

========
git data
========

.. image:: https://coveralls.io/repos/juanpabloaj/gitdata/badge.png?branch=master
  :target: https://coveralls.io/r/juanpabloaj/gitdata?branch=master


Storage the data files (images, data test) in remote ssh servers. In git only save a register of necessary files to current commit.

.gitdata file
=============

::

    SHA1 path remote_ssh:ssh_port

Example::

    96e93e946f7fd810b167e34561c489ce067d7ef1 data/data2.txt
    c00214008bcd3fe1f5beccdf1a63d15b158bf0b3 data/data1.txt user@server:tmp/
    7a7a91f5c2b5bc1f4d294de5a6166abec5364d15 data/data0.txt user@server:tmp/:1234

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

::

    pip install gitdata

Usage
=====

Add to ``.gitdata`` file, `SHA-1 <http://en.wikipedia.org/wiki/SHA-1>`_ and path of files contained in the directory.::

    git data -a directory

Show modified files, files with modified ``SHA-1``::

    git data status

Files with ssh column are pushed to remote ssh server::

    git data -p

Files with ssh column are pulled from remote ssh server, the version download is respective to the current SHA-1 in ``.gitdata`` file.::

    git data -u

Show files stored in the ``.gitdata`` file::

    git data -l
tnetstring3 0.3.1
Super fast data serialization for Python 3
License: MIT
Keywords: netstring serialization

tnetstring:  data serialization using typed netstrings
======================================================

This is a data serialization library. It's a lot like JSON but it uses a
new syntax called "typed netstrings" that Zed has proposed for use in the
Mongrel2 webserver.  It's designed to be simpler and easier to implement
than JSON, with a happy consequence of also being faster in many cases.

An ordinary netstring is a blob of data prefixed with its length and postfixed
with a sanity-checking comma.  The string "hello world" encodes like this::

    11:hello world,

Typed netstrings add other datatypes by replacing the comma with a type tag.
Here's the integer 12345 encoded as a tnetstring::

    5:12345#

And here's the list [12345,True,0] which mixes integers and bools::

    19:5:12345#4:true!1:0#]

Simple enough?  This module gives you the following functions:

    :dump:    dump an object as a tnetstring to a file
    :dumps:   dump an object as a tnetstring to a string
    :load:    load a tnetstring-encoded object from a file
    :loads:   load a tnetstring-encoded object from a string
    :pop:     pop a tnetstring-encoded object from the front of a string

Note that since parsing a tnetstring requires reading all the data into memory
at once, there's no efficiency gain from using the file-based versions of these
functions.  They're only here so you can use load() to read precisely one
item from a file or socket without consuming any extra data.

The tnetstrings specification explicitly states that strings are binary blobs
and forbids the use of unicode at the protocol level.  As a convenience to
python programmers, this library lets you specify an application-level encoding
to translate python's unicode strings to and from binary blobs:

    >>> print repr(tnetstring.loads("2:\xce\xb1,"))
    '\xce\xb1'
    >>> 
    >>> print repr(tnetstring.loads("2:\xce\xb1,", "utf8"))
    u'\u03b1'

:Copyright: (c) 2012-2013 by Ryan Kelly <ryan@rfk.id.au>.
:Copyright: (c) 2014 by Carlo Pires <carlopires@gmail.com>.
:License: MIT, see LICENCE for more details.
siphashc3 3
Python module (in c) for siphash-2-4
License: MIT

siphashc3
=========

python c-module for `siphash`_, based on `floodberry's version`_.

Usage
~~~~~

Python 2

.. code:: python

    >>> from siphashc import siphash
    >>> siphash('sixteencharstrng', 'i need a hash of this')
    10796923698683394048L

Python 3

.. code:: python

    >>> from siphashc import siphash
    >>> siphash('sixteencharstrng', 'i need a hash of this')
    10796923698683394048


.. _siphash: https://131002.net/siphash/
.. _floodberry's version: https://github.com/floodyberry/siphash
pm 0.1.1
Command-line utility to manage development projects
License: MIT

pm 0.1.1
========

Simple project manager in Python. This application helps you keeping track of
the status of your projects in their Source Code Management (SCM) system. 

For now, pm only supports Git. 

Normally, it should be compatible with Python 2.7 and Python 3.x. Post an issue
if you find something that is not compatible one of these versions and I'll do
my best to improve that.

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

You can use *pip* to install the latest *pm* release from PyPI::

    pip install pm

Alternatively, you can download the latest development sources and
install the package manually by running::

    python setup.py install

Usage
-----

Help can be obtained by running :code:`pm --help` to obtain information about
the general usage or :code:`pm <subcommand> --help` to obtain help about a
specific subcommand.

.. code::

    usage: pm [-h] [--version] {status,ls,fetch,update} ...

    optional arguments:
      -h, --help            show this help message and exit
      --version             show program's version number and exit

    subcommands:
      Valid subcommands

      {status,ls,fetch,update}
                            Subcommands
        status              check status
        ls                  List projects
        fetch               Fetch all projects
        update              Update all projects

License
-------

This project is distributed under the MIT License. Read *LICENSE* for details.