semvec/pypi-packages huggingface dataset:
js.jquery_timepicker_addon 1.5.3
Fanstatic packaging of jQuery-Timepicker-Addon
License: BSD

js.jquery_timepicker_addon
**************************

.. contents::

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

This library packages `jQuery-Timepicker-Addon`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`jQuery-Timepicker-Addon`: https://github.com/trentrichardson/jQuery-Timepicker-Addon

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


Hacking
=======

To minify CSS and JS after updating to a newer jQuery-Timepicker-Addon
version run::

  python2.7 bootstrap.py
  bin/buildout
  bin/minify


CHANGES
*******

1.5.3 (2015-05-01)
==================

- Update to 1.5.3.

- Update to ``zc.buildout`` 2.x.


1.3-1 (2013-05-19)
==================

- Add minified locales missing in 1.3.

1.3 (2013-05-19)
================

- Update to 1.3


1.2 (2013-03-03)
================

- Update to 1.2


1.0.5 (2012-10-16)
==================

- Update to 1.0.5

- Add minified versions for all resources

- Add timepicker_locales dictionary.

- Only depend on js.jqueryui.ui_datepicker and js.jqueryui.ui_slider.
  This avoids pulling in the complete jQuery UI when only parts are needed.

0.9.8 (2011-12-12)
==================

- Update to 0.9.8.


0.9.7-1 (2011-11-10)
====================

- Expose all i18n/l10n files as individual resources.


0.9.7 (2011-11-08)
==================

- Update to 0.9.7.


0.9.6 (2011-09-07)
==================

- Initial release.

How to use?
***********


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

  >>> from js.jquery_timepicker_addon import timepicker
  >>> timepicker.need()

Locales
=======

Also included are locales for the timepicker widget.

How to get the right locale for the current request depends on your web framework.
In `Pyramid`_ you could e.g. do something like this::

    from js.jquery_timepicker_addon import timepicker_locales
    from pyramid.i18n import get_locale_name

    locale_name = get_locale_name(request)
    if locale_name in timepicker_locales:
        timepicker_locales[locale_name].need()

.. _`Pyramid`: http://www.pylonsproject.org
django-easy-app 0.0.27
Extend django-admin to create apps that are easier to set
License: BSD

django-easy-app
***************

This is a django app that trys to simplify using django.  Currently
it has features that do the following:

* An *easy_app* script that allows for creating new django projects
  that are set up with the djang0-easy-app functionality.
* A django-easy-app django app has the following functionality
  that simplify using django.
* The ability to specify the url routing using a new "route" 
  attribute on django class based view classes.  This akes it
  possible to write and use class based views without needing
  to understand regular expressions and seperately update the 
  urls.py.
* Adds a *starteasyapp* command to manage.py to allow for easily
  creating additional django-easy-app enabled django apps.
    
Quickstart
==========

Here are some steps for getting things going

Install django-easy-app
-----------------------
Once django-easy-app has been packaged it will be installable
using pip as follows::

  pip install django-easy-app

Set up a new django project
---------------------------
Create a new python project using the django_easy command like this::

    django_easy startproject project_name app_name

Example::

    $ django_easy startproject foo_project foo_app
    Creating easyapp named: foo_app
    $ tree foo_project
    foo_project
    ├── foo_app
    │   ├── admin.py
    │   ├── __init__.py
    │   ├── migrations
    │   │   └── __init__.py
    │   ├── models.py
    │   ├── tests.py
    │   ├── urls.py
    │   └── views.py
    ├── foo_project
    │   ├── __init__.py
    │   ├── __init__.pyc
    │   ├── settings.py
    │   ├── settings.pyc
    │   ├── urls.py
    │   └── wsgi.py
    └── manage.py

    3 directories, 14 files

Create views
------------
In the views.py file define a variable named "easydjango" and set the value
to true.

Make sure each view that should be accessible from the web has a `*route*`
attribute that contains the part of the url that should be associated with the
view.  This should not include any other part of the url.

So for example foo_app.view.ExampleView below has a route value of '' which
will cause it to be accessible at http://hostname:port/foo_app/

.. code-block:: python

    from django.http import HttpResponse
    from django.views.generic import View

    easydjango = True

    class NameView(View):
        route = ''
        def get(self, request):
            name = request.GET.get('name', 'World!')
            return HttpResponse('Hello %s' % name)

.. image:: docs/images/no_args.png
   :scale: 50
   :alt: View without arguments

.. image:: docs/images/with_args.png
   :scale: 50
   :alt: View passing a name argument
chronos 0.3
An ncurses stopwatch/timer.
License: BSD

chronos
=======

chronos is an ncurses stopwatch/timer.  It supports multiple simultaneous
timers, which makes it ideal for keeping track of time spent on various tasks.

Show me the goods
-----------------

.. image:: http://nsinopoli.github.com/chronos/chronos02.png

Okay, how do I use it?
----------------------

Installing
~~~~~~~~~~

From the command line::

    pip install chronos

If chronos is already installed, you can upgrade to the latest version with::

    pip install --upgrade chronos

Usage
~~~~~

To use chronos, run it from the command line::

    chronos

Commands
~~~~~~~~

The following commands are supported::

    n - Creates and starts a new timer.
    j - Move cursor down.
    k - Move cursor up.
    d - Deletes the selected timer.
    e - Edits the title of the selected timer.
    p - Pauses/starts the selected timer.
    r - Resets the selected timer.
    a - Adds time to the selected timer.
    s - Subtracts time from the selected timer.
    q - Quits the program.
    h - Shows the help screen.

Adding and Subtracting Time
+++++++++++++++++++++++++++

When entering the amount of time to add or subtract, you can use any
combination of the following formats::

    xh - x number of hours
    ym - y number of minutes
    zs - z number of seconds

So if you wanted to add/subtract 1 hour and 5 minutes, type::

    1h5m

Or if you wanted to add/subtract 45 minutes and 30 seconds, type::

    45m30s

Version Information
-------------------

Current stable release is v0.3, last updated on 1 May 2015.

Feedback
--------

Feel free to send any feedback you may have regarding this project to NSinopoli@gmail.com.


Changelog
=========

v0.3
------

* Add support for window resizing and scrolling (GH-4_)

v0.2
------

* Overhaul the UI and improve the UX

v0.1.2
------

* Implement functionality to add and subtract time (GH-2_)

v0.1.1
------

* Change xterm-color to xterm to support curs_set(0) (GH-1_)

v0.1
----

* Initial release

.. _GH-1: https://github.com/NSinopoli/chronos/issues/1
.. _GH-2: https://github.com/NSinopoli/chronos/issues/2
.. _GH-4: https://github.com/NSinopoli/chronos/pull/4