semvec/pypi-packages huggingface dataset:
romkan 0.2.1
A Romaji/Kana conversion library
License: BSD
Keywords: japanese romaji kana

python-romkan
=============

`python-romkan <https://github.com/soimort/python-romkan>`_ is a Romaji/Kana conversion library for Python, which is used to convert a Japanese Romaji (ローマ字) string to a Japanese Kana (仮名) string or vice versa.

It is the Pythonic port of `Ruby/Romkan <http://0xcc.net/ruby-romkan/index.html.en>`_, originally authored by Satoru Takabayashi and `ported <http://lilyx.net/python-romkan/>`_ by Masato Hagiwara.

`python-romkan <https://github.com/soimort/python-romkan>`_ works on Python 2 and Python 3 (fully tested on **Python 2.6**, **2.7**, **3.2**, **3.3** and **PyPy**). It handles both Katakana (片仮名) and Hiragana (平仮名) with the Hepburn (ヘボン式) romanization system, as well as the modern Kunrei-shiki (訓令式) romanization system.

Project homepage: http://www.soimort.org/python-romkan

Fork me on GitHub: https://github.com/soimort/python-romkan

.. image:: https://api.travis-ci.org/soimort/python-romkan.png



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

#) Install via `Pip <http://www.pip-installer.org/>`_::

    $ pip install romkan
    
#) Install via `EasyInstall <http://pypi.python.org/pypi/setuptools>`_::

    $ easy_install romkan
    
#) Install from Git::

    $ git clone git://github.com/soimort/python-romkan.git
    $ python setup.py install



Usage
-----

Python 3.x::

    $ python
    >>> import romkan
    >>> print(romkan.to_roma("にんじゃ"))
    ninja
    >>> print(romkan.to_hepburn("にんじゃ"))
    ninja
    >>> print(romkan.to_kunrei("にんじゃ"))
    ninzya
    >>> print(romkan.to_hiragana("ninja"))
    にんじゃ
    >>> print(romkan.to_katakana("ninja"))
    ニンジャ

Python 2.x::

    $ python2
    >>> import romkan
    >>> print romkan.to_roma(u"にんじゃ")
    ninja
    >>> print romkan.to_hepburn(u"にんじゃ")
    ninja
    >>> print romkan.to_kunrei(u"にんじゃ")
    ninzya
    >>> print romkan.to_hiragana("ninja")
    にんじゃ
    >>> print romkan.to_katakana("ninja")
    ニンジャ



API Reference
-------------

* **to_katakana(string)**

Convert a Romaji (ローマ字) to a Katakana (片仮名).

* **to_hiragana(string)**

Convert a Romaji (ローマ字) to a Hiragana (平仮名).

* **to_kana(string)**

Convert a Romaji (ローマ字) to a Katakana (片仮名). (same as *to_katakana*)

* **to_hepburn(string)**

Convert a Kana (仮名) or a Kunrei-shiki Romaji (訓令式ローマ字) to a Hepburn Romaji (ヘボン式ローマ字).

* **to_kunrei(string)**

Convert a Kana (仮名) or a Hepburn Romaji (ヘボン式ローマ字) to a Kunrei-shiki Romaji (訓令式ローマ字).

* **to_roma(string)**

Convert a Kana (仮名) to a Hepburn Romaji (ヘボン式ローマ字).



License
-------

`python-romkan <https://github.com/soimort/python-romkan>`_ is licensed under the `BSD license <https://raw.github.com/soimort/python-romkan/master/LICENSE>`_.


Changelog
=========

0.2.1
-----

*Date: 2013-02-26*

* Improved Python compatibility (2.6, <=3.1).

0.2.0
-----

*Date: 2013-02-21*

* Fixed the explicit unicode literal issue on Python 3.2.
* Tested on Travis CI for Python 2.7, 3.2, 3.3 and PyPy.

0.1.0
-----

*Date: 2013-02-12*

0.0.2
-----

*Date: 2013-01-29*

* Fixed #1.

0.0.1
-----

*Date: 2012-12-06*

* Initial release.
js.jquery_scrolltofixed 0.1
Fanstatic packaging of ScrollToFixed (jQuery plugin)
License: BSD

js.jquery_scrolltofixed
***********************

Introduction
============

This library packages `ScrollToFixed (jQuery plugin)`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`ScrollToFixed (jQuery plugin)`: http://bigspotteddog.github.com/ScrollToFixed/

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.jquery_scrolltofixed``) are published to some URL.


Using this library
==================

You can import ``scrolltofixed`` from ``js.jquery_scrolltofixed`` and ``need``
it where you want these resources to be included on a page::

  >>> from js.jquery_scrolltofixed import scrolltofixed
  >>> scrolltofixed.need()


CHANGES
*******

0.1 (2013-02-26)
================

- Initial release using up to 
  https://github.com/bigspotteddog/ScrollToFixed/commit/020c96a70e9beac7c55f8c024111a3ecdc25475e from GitHub.
  [davidjb]
django-precompressed 0.0.2
precompressed is a pluggable application for Django developers who want to serve precompressed (gzipped) static files.
License: BSD

django-precompressed
====================

precompressed is a pluggable application for Django developers who want to serve precompressed (gzipped) static files.

About
=====

+ Alters the behavior of `./manage.py collectstatic` to save gzipped copies of specified static files (by default `*.css` and `*.js`).
+ When the client supports `Content-Encoding: gzip` and `{% static %}` is used then the rendered URI will refer to the precompressed version of the static file.
+ Works with [CachedFilesMixin](https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#cachedstaticfilesstorage) and [storages.backends.s3boto.S3BotoStorage](http://django-storages.readthedocs.org/)

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

1. `pip install django-precompressed`
2. Add `precompressed` to your `settings.INSTALLED_APPS` before `'django.contrib.staticfiles'` so that precompressed's version of `{% static %}` will be utilized.
3. Set `settings.STATICFILES_STORAGE` to one that suits your needs (see Storages below).
4. Run `./manage.py collectstatic` to generate precompressed copies.
5. Utilize `{% static %}` template tag when referencing static files where applicable.

Configuration
=============

All settings are optional and specified via the `settings.PRECOMPRESSED_SETTINGS` dictionary.

+ `GZIP_PATTERNS` is a tuple of file patterns that are to be gzipped. Defaults to `('*.css', '*.js')`
+ `DEFAULT_COMPRESS_LEVEL` is a number 0-9 that specifies the default compression level. Defaults to 9.
+ `accepts_gzip(request)` is a function that returns True if the client supports `Content-Encoding: gzip`
+ `get_gzipped_name(name)` is a function that translates filenames and URIs to the precompressed version. Defaults to resource.ext becomes resource.gz.ext
+ `should_save_gzipped_copy(path)` is a function that returns True if the specified file should have a precompressed copy saved. Defaults to file matches GZIP_PATTERNS?

Storages
========

    precompressed.storage.PrecompressedStaticFilesStorage
    precompressed.storage.CachedPrecompressedStaticFilesStorage
    
These storages extend Django's builtin StaticFilesStorage to provide the described precompression behavior. If you use this you'll probably want to configure your webserver to add the `Content-Encoding: gzip` header when serving precompressed files.

    precompressed.storage.s3boto.PrecompressedS3BotoStorage
    precompressed.storage.s3boto.CachedPrecompressedS3BotoStorage

These storages extend [django-storages' S3BotoStorage](http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html) to provide described precompression behavior for files stored on [Amazon Simple Storage Service (Amazon S3)](http://aws.amazon.com/s3/)

The Cached prefixed versions of each utilize [CachedFilesMixin](https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#cachedstaticfilesstorage) and therefore store hashed copies of static files in addition to the precompressed versions.
fabby 0.01
A gcode generator to 3D print objects, directly from a python based model. Forget slicers, and build stuff directly from code !
License: BSD
Keywords: 3d printing reprap gcode

fabby
=====

A gcode generator to 3D print objects, directly from a python based model. Forget slicers, and build stuff directly from code !

Credits
-------

- `Distribute`_
- `Buildout`_
- `modern-package-template`_

.. _Buildout: http://www.buildout.org/
.. _Distribute: http://pypi.python.org/pypi/distribute
.. _`modern-package-template`: http://pypi.python.org/pypi/modern-package-template


News
====

0.1
---

*Release date: 25-Feb-2013*

* Initial release