semvec/pypi-packages huggingface dataset:
django-riotjs-helper 0.1.1
A small, rudimentary helper app for RiotJS integration into django projects.
License: MIT
Keywords: django-riotjs-helper

=============================
Django RiotJS Helper
=============================

A small, rudimentary helper app for RiotJS (https://riot.js.org) integration into django projects.


Quickstart
----------

Install Django RiotJS Helper::

    pip install django-riotjs-helper

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'riotjs_helper',
        ...
    )

Add this to your base template (base.html):

.. code-block:: html

    {% include 'riotjs_helper/riotjs_core.html' %}
    {% block riot_tags %}
    {% endblock riot_tags %}
    {% include 'riotjs_helper/riotjs_mount.html' %}

If you plan on using django rest framework you can switch riotjs_core.html to the more elaborate riotjs_setup.html:

.. code-block:: html

    {% include 'riotjs_helper/riotjs_setup.html' %}

This setup requires some additional libraries as well, allready included in the requirements.txt:

.. code-block:: bash

    djangorestframework
    django-filter
    django-rest-swagger
    httpie
    Markdown
    python-dateutil
    coreapi
    coreapi-cli
    coreschema

And these has to be added to your INSTALLED_APPS, urls has to be updated etc.

And then to create some tags:

.. code-block:: bash

    python manage.py riot_tag <appname> <tag1-name> <tag2-name>

In the page you want to use your tag:

.. code-block:: html

    {% block content %}
    ...
    <tag1-name></tag1-name>
    ...
    <tag2-name></tag2-name>
    ...
    {% endblock %}

    {% block riot_tags %}
    {% include '<appname>/include/<tag1-name>_tag.html' %}
    {% include '<appname>/include/<tag2-name>_tag.html' %}
    {% endblock riot_tags %}

If you need to add more context to your tags you can do that by editing the generated include files, for instance like so:

.. code-block:: html

    {% load static %}
    <script src="{% static '<appname>/tags/<tag1-name>.tag' %}" type="riot/tag"></script>
    <script>

    riot_context['<tag1-name>'] = {more_context_goes_here: { ... something fancy ...}};

    </script>

If you want to look at some boilerplate/example code generate your tags with the --example-code option:

.. code-block:: bash

    python manage.py riot_tag <appname> <tag1-name> <tag2-name> --example-code




History
-------

0.1.0 (2018-09-23)
++++++++++++++++++

* First release on PyPI.
precommit-hook 0.2.1
Auto check quality of python code before shipping
License: MIT

<a href="https://asciinema.org/a/135255" target="_blank"><img src="https://asciinema.org/a/135255.png" height="400" /></a>
# precommit-hook
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/095d63a592e74b239b28b5e19e689709)](https://www.codacy.com/app/abtcolns/precommit-hook?utm_source=github.com&utm_medium=referral&utm_content=collin5/precommit-hook&utm_campaign=badger)
[![Build Status](https://travis-ci.org/collin5/precommit-hook.svg?branch=master)](https://travis-ci.org/collin5/precommit-hook)
[![Coverage Status](https://coveralls.io/repos/github/collin5/precommit-hook/badge.svg?branch=master)](https://coveralls.io/github/collin5/precommit-hook?branch=master)
[![PyPI version](https://badge.fury.io/py/precommit-hook.svg)](https://badge.fury.io/py/precommit-hook)

Auto check the quality of your python code before you ship it 

## Getting started
These instructions will show you how to install and use the application

### Installation
 ```
 pip install precommit-hook
 ```
### Usage 
In your project folder, just do 
```
precommit.hook
```
Your code will now be automatically checked on every commit.

## License
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

This project is licensed under MIT license. see the ![LICENSE](LICENSE) file for details

## Authors
See list of <a href="https://github.com/collin5/precommit-hook/graphs/contributors">contributors</a> who participated in this project.

## Credits
<ul>
 <li><a href="https://github.com/collin5">Collins Abitekaniza </a></li>
 <li><a href="https://github.com/andela-engmkwalusimbi">Walusimbi Mahad </a></li>
</ul>
igo-python 1.0.0
Python port of Igo Japanese morphological analyzer
License: MIT
Keywords: japanese,morphological analyzer

================
 Igo for Python
================

About
=====

Igo_ is a Japanese morphological analyzer written in Java and Common Lisp.
This software is Python port of Igo(Java version).

.. _Igo: http://igo.osdn.jp/

Notice
======

Dictionary builder is not provided. You need to use Igo Java version to build the dictionary for Igo.
From igo-python 0.9.7, pre-built `IPA dictionary (2.7.0-20070801)`__ is included for ease of use.

__ https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM

How To Use
==========

You can use Igo Python easily::

 >>> from igo.Tagger import Tagger
 >>> t = Tagger() # use bundled dictionary
 >>> for m in t.parse(u'すもももももももものうち'):
 ...     print m.surface, m.feature
 ...
 すもも 名詞,一般,*,*,*,*,すもも,スモモ,スモモ
 も 助詞,係助詞,*,*,*,*,も,モ,モ
 もも 名詞,一般,*,*,*,*,もも,モモ,モモ
 も 助詞,係助詞,*,*,*,*,も,モ,モ
 もも 名詞,一般,*,*,*,*,もも,モモ,モモ
 の 助詞,連体化,*,*,*,*,の,ノ,ノ
 うち 名詞,非自立,副詞可能,*,*,*,うち,ウチ,ウチ
 >>>


Using command line parser::

  $ igo # or python -m igo.parse
  私の名前は中野です
  私      名詞,代名詞,一般,*,*,*,私,ワタシ,ワタシ
  の      助詞,連体化,*,*,*,*,の,ノ,ノ
  名前    名詞,一般,*,*,*,*,名前,ナマエ,ナマエ
  は      助詞,係助詞,*,*,*,*,は,ハ,ワ
  中野    名詞,固有名詞,地域,一般,*,*,中野,ナカノ,ナカノ
  です    助動詞,*,*,*,特殊・デス,基本形,です,デス,デス
  EOS


Changelog for Igo-Python
========================
2018-09-22 -- 1.0.0
    * dropped Python 3.3 from supported Python version.

2017-02-09 -- 0.9.9
    * fixed few small issues and add unit test.

2016-07-08 -- 0.9.8
    * fixed a surrogate pair character handling issue

2015-12-16 -- 0.9.7.1
    * Tagger can be pickled on Python2 env

2015-12-14 -- 0.9.7
    * include pre-built IPA dictionary

2015-07-03 -- 0.9.6
    * fixed an issue of dictionary size in mmap mode

2015-04-14 -- 0.9.5
    * use mmap to load files of a dictionary if it is possible

2013-07-05 -- 0.9.3
    * support characters in Supplementary Planes

2012-02-27 -- 0.9.2
    * apply changes in Igo(java) 0.4.4

2012-02-27 -- 0.9.1
    * synchronize with Igo(java) 0.4.5

2011-09-01 -- 0.9
    * compatibility with python3.2
    * update the code base to igo-0.4.3
    * add some enhances and clean up.

2011-08-29 -- 0.4
    * add some enhances and clean up.

2010-11-28 -- 0.3a
    * fix bugs(if a phrase ends with 'た' will causes error)

2010-11-27 -- 0.3
    * drop mmap related code
    * reduce memory footprint

2010-11-27 -- 0.2
    * support Google App Engine(maybe)

2010-11-27 -- 0.1a
    * update package info only.

2010-11-25 -- 0.1
    * first release.