semvec/pypi-packages huggingface dataset:
kanjinetworks 0.1.8
Kanji Networks interface
License: MIT

Kanji Networks
==============

kanjinetworks is an interface for the Kanji Networks database.

[![Build](https://api.travis-ci.org/acoomans/kanjinetworks.png)](https://travis-ci.org/acoomans/kanjinetworks)
[![Pypi version](http://img.shields.io/pypi/v/kanjinetworks.svg)](https://pypi.python.org/pypi/kanjinetworks)
[![Pypi license](http://img.shields.io/pypi/l/kanjinetworks.svg)](https://pypi.python.org/pypi/kanjinetworks)
![Python 2](http://img.shields.io/badge/python-2-blue.svg)

## Description

[Kanji Networks](http://www.kanjinetworks.com) was a website offering etymologies for kanjis. The website was closed end of August 2016, but the database was made available as a PDF.

kanjinetworks is an interface for extracting, parsing and exporting the etymologies from the PDF file in python.

The package also include the `kn_to_ja.py` script to import the Kanji Networks etymologies into a [iOS Japanese App](https://japaneseapp.com/) backup files as notes. Warning: existing notes might be lost as this script replaces them.

## Requirements

kanjinetworks is compatible with Python versions 2 and depends on PDF miner.

## Install

To install kanjinetworks, run pip:

	pip install kanjinetworks
	
or clone this directory and run setup:

    python setup.py install

## Usage

To import etymologies into a Japanese App backup files:
	
	kn_to_ja.py PATH_TO_JAPANESE_BACKUP_FILE
	
To use the parser:

	from kanjinetworks import get_text
	from kanjinetworks import KanjiNetworksParser
	
    text = get_text()

    kanjis = KanjiNetworksParser().parse(text)
    for kanji in kanjis:
		print unicode(kanji)

# Credits

The Etymological Dictionary of Han/Chinese Characters is by Lawrence J. Howell / Research Collaborator Hikaru Morimoto / Kanji Networks (http://www.kanjinetworks.com).

File distributed with the permission of the author.
browserinfo 0.2.0
API wrapper for browser-info.net - retrieve UA strings
License: MIT

Browserinfo
===========

    A lightwight python wrapper for
    `browser-info.net <http://www.browser-info.net/>`__ to retrieve UA
    strings

|Build Status| |Downloads| |Documentation Status|

What does browserinfo do?
-------------------------

It allows you to retrieve user agent strings, sorted by popularity or
most recent.

Usage example
-------------

.. code:: python

    >>> import browserinfo
    >>> browserinfo.recent(1)
    ['Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.85 Safari/537.36\n']
    >>> browserinfo.popular(1)
    ['Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FSL 7.0.6.01001)']

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

Use pip:

::

    pip install -U browserinfo

Building doc
------------

From the root of the directory run:

::

    sphinx-apidoc -o docs/ browserinfo -f && cd docs && make html && cd ..

Building Dist Package
---------------------

To build a distributable package run:

::

    python setup.py sdist

.. |Build Status| image:: https://travis-ci.org/stylesuxx/browserinfo.svg?branch=master
   :target: https://travis-ci.org/stylesuxx/browserinfo
.. |Downloads| image:: https://img.shields.io/pypi/dm/browserinfo.svg
   :target: https://img.shields.io/pypi/dm/browserinfo.svg
.. |Documentation Status| image:: https://readthedocs.org/projects/browserinfo/badge/?version=latest
   :target: http://browserinfo.readthedocs.io/en/latest/?badge=latest